public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* interface to ask is a file is hidden
@ 2008-10-10 19:22 Nicolò Chieffo
  2008-10-10 19:21 ` Josef Bacik
  0 siblings, 1 reply; 31+ messages in thread
From: Nicolò Chieffo @ 2008-10-10 19:22 UTC (permalink / raw)
  To: linux-fsdevel

Recently there have been a discussion between the nautilus & GIO
maintainer, and the ntfs-3g maintainer to implement a way to not show
files in nautilus if they are hidden.

Currently only files starting with a "." are hidden, as you can see in
the GIO _g_local_file_info_get()

if (basename != NULL && basename[0] == '.')
   g_file_info_set_is_hidden (info, TRUE);

Of course, since we often have a multi-OS & multi-filesystem
environment, it is a big limitation to consider hidden files only
those files.
There are some use cases in which we need a wider view of hidden files:
- ntfs shared partitions & external disks
- fat32 shared partitions & external disks
- fat16 usb keys/multimedia devices

Both the maintainers state that it's not a good idea to patch GIO to
check which filesystem is hosting the file, and then ask it using the
specific driver whether the file is hidden or not.
Everything should be transparent for GIO, which should only make one
call to a standard interface, that all filesystem drivers shall
implement.

Is it possible to consider this request?
The discussion is in this moment hosted in the nautilus mailing list
with this subject name: "nautilus & hidden files".

Thank you

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2008-10-14  7:20 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10 19:22 interface to ask is a file is hidden Nicolò Chieffo
2008-10-10 19:21 ` Josef Bacik
2008-10-10 19:35   ` Jeremy Allison
2008-10-10 20:00     ` Nicolò Chieffo
2008-10-10 19:57       ` Josef Bacik
2008-10-10 20:11         ` Nicolò Chieffo
2008-10-10 21:57       ` Theodore Tso
2008-10-10 22:01         ` Christoph Hellwig
2008-10-13  8:22           ` Alexander Larsson
2008-10-13  9:21             ` Nicolò Chieffo
2008-10-13  9:57             ` Christoph Hellwig
2008-10-13 10:37               ` Nicolò Chieffo
2008-10-13 10:37               ` Alexander Larsson
2008-10-13 10:43                 ` Christoph Hellwig
2008-10-13 11:39                   ` Alexander Larsson
2008-10-13 20:44                     ` Jörn Engel
2008-10-13 20:50                       ` Christoph Hellwig
2008-10-14  7:20                       ` Alexander Larsson
2008-10-10 22:18         ` Szabolcs Szakacsits
2008-10-10 22:21         ` Nicolò Chieffo
2008-10-10 22:25           ` Christoph Hellwig
2008-10-10 22:33             ` Nicolò Chieffo
2008-10-10 22:36               ` Christoph Hellwig
2008-10-10 22:58                 ` Nicolò Chieffo
2008-10-10 23:12                   ` Szabolcs Szakacsits
2008-10-11  0:10                 ` Bryan Henderson
2008-10-11  1:36               ` Theodore Tso
2008-10-10 22:57         ` Brad Boyer
2008-10-13  7:29         ` Anton Altaparmakov
2008-10-13 10:47           ` Christoph Hellwig
2008-10-13 10:59           ` Alexander Larsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox