From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodore Tso Subject: Re: interface to ask is a file is hidden Date: Fri, 10 Oct 2008 21:36:15 -0400 Message-ID: <20081011013615.GI8645@mit.edu> References: <641322f90810101222p3ff36ac3va9057b9958d2abf2@mail.gmail.com> <20081010192104.GD19500@unused.rdu.redhat.com> <20081010193503.GE23734@samba1> <641322f90810101300v3ab5fc15hb20fca0374ebe4b4@mail.gmail.com> <20081010215722.GG8645@mit.edu> <641322f90810101521o50191390w529c9b2c9b6c802@mail.gmail.com> <20081010222518.GA7669@infradead.org> <641322f90810101533p78d1bb9ame14a5c3c99b0b06e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Christoph Hellwig , Jeremy Allison , Alexander Larsson , Szabolcs Szakacsits , Josef Bacik , linux-fsdevel@vger.kernel.org To: =?iso-8859-1?Q?Nicol=F2?= Chieffo <84yelo3@gmail.com> Return-path: Received: from www.church-of-our-saviour.ORG ([69.25.196.31]:39475 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754412AbYJKBgv (ORCPT ); Fri, 10 Oct 2008 21:36:51 -0400 Content-Disposition: inline In-Reply-To: <641322f90810101533p78d1bb9ame14a5c3c99b0b06e@mail.gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat, Oct 11, 2008 at 12:33:09AM +0200, Nicol=F2 Chieffo wrote: > Mm ok, with "hidden" I mean files that are not normally displayed whe= n > you list the directory, nothing more, sorry if I coulnd't explain > well. >=20 > I'm just talking as a normal user, sorry. >=20 > Which is the correct definition of what I'm trying to explain? The convention on all Unix systems is that files that begin with the '.' character are not displayed by "ls" unless it is given the -a option. It is not done using an attribute; it is merely a convention based on a filename. So you can't "set an attribute" on all standard Unix filesystems, and there's no hidden attribute to "get". Note also that if you create a file named ".bashrc" and store it on a VFAT or ntfs filesystem, it will not be displayed by the ls program. It has nothing to do with any kind of attribute. Part of what you clearly don't understand is that different operating systems and different filesystems do this very differently. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html