On Tue, Nov 09, 2004 at 12:07:14AM +0530, Kaustubh Ghosh wrote: > Subject: Some Info > > Can you(anyone) please tell me the answers to the following: > 1.How many inodes are there in a single block ? In isolation there is insufficient information to answer this. What files system type? What is the allocation block size of the files system? What mkfs flags were used? > 2.After a inode is deleted , is it appended to the end of free > inodes list? Yes but inserted into the list might be a better description. That permits it to be at the front, back, and any place in the middle of the list. Different files system code manages the list in different ways. See #1 above. > 3.Is there any preference in which the inodes are allocated in choosing > between inodes that has never been allocated and inodes which were once > allocated but are now free? There is no use history kept that I know of. And yes there is a preference for which inode is selected (i.e. there is no call to rand() in the files system code that I know of). > 4.Doess the data in an inode remains unchanged when it is deleted? Some of the inode data absolutely changes. Data on disk is not scrubbed to nulls when a file is deleted in most cases. Object reuse policy will never present old bits to a user. If you Google for undelete files you can find out more on this complex topic. The details will be files system specific see #1 above. > It would help me immensely if I get the answers to the above.Thanks > in advance for all the help you can give. And yes I also want to know what class is this for and when was the assignment due (yesterday). -- T o m M i t c h e l l spam unwanted email. SPAM, good eats, and a trademark of Hormel Foods.