From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Jackson Subject: Re: silent semantic changes with reiser4 Date: Thu, 26 Aug 2004 02:44:53 -0700 Message-ID: <20040826024453.13c2f1e0.pj@sgi.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: mikulas@artax.karlin.mff.cuni.cz, torvalds@osdl.org, hch@lst.de, reiser@namesys.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, flx@namesys.com, reiserfs-list@namesys.com Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com To: Rik van Riel In-Reply-To: List-Id: linux-fsdevel.vger.kernel.org Rik van Riel writes: > If your backup program reads them as a file and restores > them as a file, you might lose your directory-inside-the-file > magic. Encode the magic in the names, by stealing a bit of the existing filename space to encode it. Such works pretty well as part of the magic to map long filenames into DOS 8.3 names on my FAT partitions. Apps linked with the appropriate Windows library see nice fancy long names. The rest of the world, including DOS apps and my Unix backup scripts, see the primitive 8.3 names, including one or a few extra files per directory, which are nothing special to them. So long as these other apps don't presume to know that they can keep some of the files in an apps directory, and drop others, then it works well enough. And no self-respecting general purpose backup program is going to presume such knowledge anyway. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.650.933.1373