mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolinux.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [Re: Inodes]
Date: Mon, 14 May 2001 14:53:43 -0600 (MDT)	[thread overview]
Message-ID: <200105142053.f4EKrhOh002240@webber.adilger.int> (raw)
In-Reply-To: <9dovmu$eqj$1@cesium.transmeta.com> "from H. Peter Anvin at May 14, 2001 09:04:46 am"

HPA writes:
> Blesson Paul <blessonpaul@usa.net> writes:
> > You misunderstood my question. Let take an example.  Let I have a msdos
> > partition. No msdos files has inode numbers, right. Let I mount that
> > msdos partition. Then what happens, That is my question. Will the
> > inode numbers are assigned to all msdos files at mounting time itself
> > 
> 
> The inode numbers are "invented" by the MS-DOS filesystem driver.  In
> the particular case of the "msdos" driver I believe it uses the
> location of the directory entry (the functional equivalent of the
> inode) on disk.

Just to clarify, this means that the "inode numbers" reported by an
msdos filesystem are a function of the disk-layout itself (i.e. they
are determined at mount time), and not numbers created when the file
is first accessed (AFAIK).

However, other filesystems are free to do this in other ways.  Reiserfs
has 64-bit "inode numbers" (actually "packing locality" + unique ID),
as does NTFS and XFS.  Network filesystems may do something completely
different (I have no idea what SMBFS does).

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

  parent reply	other threads:[~2001-05-14 20:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-14  7:35 Blesson Paul
2001-05-14 16:04 ` H. Peter Anvin
2001-05-14 17:02   ` Alan Cox
2001-05-14 20:53   ` Andreas Dilger [this message]
2001-05-14 21:08     ` Alexander Viro
2001-05-14 21:18       ` H. Peter Anvin
2001-05-14 21:44         ` Alexander Viro
2001-05-14 22:49           ` H. Peter Anvin

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=200105142053.f4EKrhOh002240@webber.adilger.int \
    --to=adilger@turbolinux.com \
    --cc=hpa@zytor.com \
    --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

all inboxes | Powered by JetHome®