logo       

inode allocation: msg#00017

file-systems.ext2.devel

Subject: inode allocation

Currently inodes are allocated in a way that a file created will be
assigned the inode of the last file removed, assuming no other files have
been created since the file was removed.

In shell scrict terms, after running this:

touch file
a=`stat -c %i file`
rm file
touch file
b=`stat -c %i file`

$a eq $b. This makes it difficult to determine if those two files are
different. Is this goal of the design or just a side-effect?


Regards,
Drew Vogel



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise