Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support FAT attributes #2805

Open
enkore opened this issue Jul 10, 2017 · 0 comments
Open

Support FAT attributes #2805

enkore opened this issue Jul 10, 2017 · 0 comments

Comments

@enkore
Copy link
Contributor

enkore commented Jul 10, 2017

See ioctl_fat(2), FAT_IOCTL_GET_ATTRIBUTES and FAT_IOCTL_SET_ATTRIBUTES. These are numerical. The same set of attributes applies to NTFS as well, but are not exposed by ntfs-3g through this interface (ntfs-3g uses system.ntfs_attrib xattrs). This applies to Windows as well.

It has to be checked whether systems agree on the numerical values for each attribute. If systems do not agree, a common encoding has to be defined and translated as necessary. Since FAT is rare on Linux (e.g. EFI system partition, ESP), a fast short-circuit should exist (e.g. utilizing f_type of statfs, called only at boundaries).

Note: this is a separate piece of metadata compared to BSD flags and its extensions (#618).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant