Mime types for folders
giecrilj at stegny.2a.pl
Tue Feb 8 05:34:46 PST 2011
Dnia wtorek, 8 lutego 2011 o 12:40:25 Stef Bon napisał(a):
> Well, I'm building a construction which also requires/provides
> information about a directory.
> for example:
This is a locator (audio:/), not a media type.
These are block devices, not directories.
> I've called them subtypes. Well what's in a name, but I've used the
> name type already in the software I'm working on.
> Well according to Chris the pattern can be set like:
I rather advertised "inode/directory;role=kde.desktop.images.user".
An SMB share is a remote inode, and the difference is in the location, not in the media type. You may want to use a separate subtype for that to express the fact that the access protocol is different; I am not sure whether it would be the right thing to do though because the SMB access protocol was specifically designed to mimic the directory features present in the kernel filesystems. (This is even more obvious with NFS where the network extension is built into the kernel.)
More information about the xdg