Re: interface to ask is a file is hidden

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 10, 2008 at 03:21:04PM -0400, Josef Bacik wrote:

> What files are determined as "hidden" is completely up to the application, and
> not the filesystem.  Every linux filesystem is going to return all entries in a
> directory when you do a readdir, and then it is up to the app to cull which
> entries it doesn't want.  Having the fs/vfs arbitrarily decide which files are
> "hidden" and shouldn't be returned via readdir is not the correct way to tackle
> this problem, it should be decided via the application.

For Samba, we store an EA on a file representing its DOS attibutes.
"user.DOSATTRIB". Applications can then read that to determine if
a file is meant to be "hidden". Requires applications to coordinate
with the Samba definitions though.

Jeremy
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux