LWN.net Logo

xstat() and fxstat()

xstat() and fxstat()

Posted Jul 2, 2010 9:40 UTC (Fri) by etienne (subscriber, #25256)
Parent article: xstat() and fxstat()

It would be nice to be able to set/clear/test the "hidden" and "system" bit of files in FAT under Linux... right now the only way seems to unmount the FS and use mtools...


(Log in to post comments)

xstat() and fxstat()

Posted Jul 4, 2010 18:03 UTC (Sun) by nybble41 (subscriber, #55106) [Link]

There is a utility for that:

http://www.kernel.org/pub/linux/utils/fs/fat/fatattr/

Works like the 'attrib' utility in DOS/Windows, via ioctls.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds