[lkml]   [2001]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Re: Inodes]
HPA writes:
> Blesson Paul <> 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?" -- Dogbert
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:53    [W:0.078 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site