Re: inode numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-10-10 at 19:15 +0200, Jakko Pastuchio wrote:
> Hi All !
> 
> I wonder how inodes numbers are allocated/maintainded/recycled.

Usually with a bitmap (stored on disk) that says which inode numbers are
free and which are used.

> does every file on disk have a unique inode number (which is kept
> on the disk) and that inode number never changes ?

An inode number describes exactly one file on the file system.  The
inode number should not change.

> or does the inode numbers are given only when that file is opened ?

No - inode numbers are stored in the on-disk inode. 



Avishay Traeger
http://www.fsl.cs.sunysb.edu/~avishay/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux