Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

V-72043 Update Assumptions about Filesystems #64

Open
Bialogs opened this issue Feb 12, 2019 · 0 comments
Open

V-72043 Update Assumptions about Filesystems #64

Bialogs opened this issue Feb 12, 2019 · 0 comments

Comments

@Bialogs
Copy link
Member

Bialogs commented Feb 12, 2019

V-72043 makes some assumptions about what filesystems are removable. While the filesystems listed in the default (xfs & ext4) are not often seen in removable media as opposed to FAT, I'm not sure if filtering like this is the best way to go about checking this control. Furthermore, should other filesystems such as sysfs or proc be included?

I'd propose a general approach similar to what is currently happening in V-72075:

  1. Filter mounts based on filesystems mounted
  2. Gather all options for remaining mounts
  3. Determine block devices for remaining mounts
  4. Check if the device is removable
  5. If the device is removable, make sure all mounts corresponding to the device have the correct options
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant