From: Paul Serice <paul@serice.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Help with Non-Unique Inodes
Date: Fri, 28 May 2004 09:34:39 -0500 [thread overview]
Message-ID: <40B74DFF.9090402@serice.net> (raw)
I think I've finished changing the inode scheme in the isofs code to
better support DVDs. Pursuant to a comment in fs/inode.c, I switched
from iget() to iget5_locked() because a 32-bit inode number was unable
to uniquely identify all the possible inodes.
I want to make sure I understand what is expected of the ino_t value
returned to the user before I post the patch:
1) Does the ino_t returned to the user have to be unique? I ask
because the inodes on the isofs are sparse, and a unique number
could probably be generated for the benefit of the user. I'm
currently returning the same hash value I pass to iget5_locked().
2) In order to avoid recursion loops, I believe the "ls" and "find"
commands assume inodes are unique for a particular device, and they
refuse to recurse down different directories on the same device
with the same inode number. If the ino_t returned to the user does
not have to be unique, how do I guarantee that these basic
utilities are capable of fully recursing the file system?
next reply other threads:[~2004-05-28 14:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-28 14:34 Paul Serice [this message]
2004-05-28 21:07 ` Help with Non-Unique Inodes Denis Vlasenko
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=40B74DFF.9090402@serice.net \
--to=paul@serice.net \
--cc=linux-kernel@vger.kernel.org \
/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