From: "Eric Lammerts" <eric@lammerts.org>
To: "Paul Serice" <paul@serice.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iso9660 Inodes Anywhere and NFS
Date: Wed, 9 Jun 2004 09:11:47 -0400 (EDT) [thread overview]
Message-ID: <55780.67.8.218.172.1086786707.squirrel@webmail.krabbendam.net> (raw)
In-Reply-To: <40C6E07C.6060609@serice.net>
> The second line of reasoning is that I do not know of any other common
> use of inode numbers in user space, and while posix says inode numbers
> shall be unique, BSD (at least NetBSD) appears to me to assign
> non-unique inode numbers for files by returning the lower 32 bits of
> the byte offset.
Tar uses inode numbers to determine which files are hardlinked. So if you
tar up a tree containing 0-byte files, then untar it somewhere, all 0-byte
files will end up being hardlinked to each other. The same happens when you
use cp -a.
> In conclusion, I just don't see much long-term difference in any of
> the inode numbering schemes, and the advantage of the scheme in my
> patch is that directories should always have unique inode numbers
> which to me is the important case.
Or take a hybrid approach: use your scheme for directories and my scheme for
files; use bit 0 or bit 31 to indicate what scheme is used. Then directories
have unique inode numbers, and files too as long as their directory records
are in the first 64Gb of the disc.
Eric
next prev parent reply other threads:[~2004-06-09 13:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-02 1:07 Paul Serice
2004-06-02 11:44 ` Sergey Vlasov
2004-06-02 13:46 ` Paul Serice
2004-06-09 5:24 ` Eric Lammerts
2004-06-09 10:03 ` Paul Serice
2004-06-09 13:11 ` Eric Lammerts [this message]
2004-06-10 3:23 ` Paul Serice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55780.67.8.218.172.1086786707.squirrel@webmail.krabbendam.net \
--to=eric@lammerts.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul@serice.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®