Suggestion to keep the type of a file or directory in the stat field st_rdev.

PCMan pcman.tw at gmail.com
Sat Mar 17 04:25:24 PDT 2012


Can't xattr be used for this purpose?
IIRC storing mime-types in xattr is proposed long time ago.
However, most applications do not seem to use this.
Though it might be less efficient than a numeric id, this might be a more
portable way than using the rdev hack.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20120317/e39453c4/attachment.html>


More information about the xdg mailing list