From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: silent semantic changes with reiser4 Date: Sat, 28 Aug 2004 12:46:10 -0700 (PDT) Message-ID: References: <20040828170515.GB24868@hh.idb.hist.no> <20040828182954.GJ21964@parcelfarce.linux.theplanet.co.uk> <20040828185613.GK21964@parcelfarce.linux.theplanet.co.uk> <20040828194129.GA7713@pclin040.win.tue.nl> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: viro@parcelfarce.linux.theplanet.co.uk, Helge Hafting , Rik van Riel , Spam , Jamie Lokier , Hans Reiser , David Masover , Diego Calleja , christophe@saout.de, vda@port.imtp.ilyichevsk.odessa.ua, christer@weinigel.se, Andrew Morton , wichert@wiggy.net, jra@samba.org, hch@lst.de, linux-fsdevel@vger.kernel.org, Kernel Mailing List , flx@namesys.com, reiserfs-list@namesys.com Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com To: Andries Brouwer In-Reply-To: <20040828194129.GA7713@pclin040.win.tue.nl> List-Id: linux-fsdevel.vger.kernel.org On Sat, 28 Aug 2004, Andries Brouwer wrote: > > If I see it correctly, you want to group a file and some > ancillary files together. > > The Unix way would be to make a directory and put them all there: > xterm/xterm > xterm/xterm.icon > > But you are unsatisfied and want > xterm > xterm/xterm.icon > > As long as we agree that the latter really means the former, > there are no problems in finding out what should happen. > > The conclusion is, that a directory carries an additional bit > that says "if I am opened as a regular file then use the file > of the same name inside". > > Now there is no attribute space, just a shorthand. It's more than a shorthand, though. _Much_ more. There's the small issue of atomicity and locking. There's the small issue of hardlinks. Both of those are why it would need special support. Linus