Suggestion to keep the type of a file or directory in the stat field st_rdev.
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...
More information about the xdg