From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Larsson Subject: Re: interface to ask is a file is hidden Date: Mon, 13 Oct 2008 12:37:54 +0200 Message-ID: <1223894274.20751.19.camel@fatty> References: <641322f90810101222p3ff36ac3va9057b9958d2abf2@mail.gmail.com> <20081010192104.GD19500@unused.rdu.redhat.com> <20081010193503.GE23734@samba1> <641322f90810101300v3ab5fc15hb20fca0374ebe4b4@mail.gmail.com> <20081010215722.GG8645@mit.edu> <20081010220156.GA25396@infradead.org> <1223886173.22225.159.camel@fatty> <20081013095709.GA10373@infradead.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Theodore Tso , Nicol? Chieffo <84yelo3@gmail.com>, Jeremy Allison , Szabolcs Szakacsits , Josef Bacik , linux-fsdevel@vger.kernel.org To: Christoph Hellwig Return-path: Received: from mx2.redhat.com ([66.187.237.31]:41856 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752722AbYJMKi3 (ORCPT ); Mon, 13 Oct 2008 06:38:29 -0400 In-Reply-To: <20081013095709.GA10373@infradead.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, 2008-10-13 at 05:57 -0400, Christoph Hellwig wrote: > On Mon, Oct 13, 2008 at 10:22:53AM +0200, Alexander Larsson wrote: > > Now, you could argue (and unsurpisingly you do) that ext3 & co doesn't > > have a hidden attribute, but that doesn't mean I can ignore actual users > > who have data on other filesystems and want to integrate nicely with > > them. This includes not showing weird system files that are normally > > hidden on said filesystems. > > Yes, you can. These are foreign filesystems, and all access to the > filesystem (ls, echo, shell tab completion) also show them. No need to > be special in your fancy "file manager". The traditional unix file systems don't contain "is-hidden" metadata, but some commonly used ones do. What possible bad can come out of letting applications access that information efficiently if they want. Certainly it won't affect the "classical" unix environment at all.