944,173 Members | Top Members by Rank

Ad:
Sep 30th, 2009
-1

File Structure , PLease help thanks.

Expand Post »
In early linux systems, inodes were kept together on one part of a disk, while the corresponding data was scattered elsewhere on the disk. Later editions divided disks drives into group of adjacent cylinders called cylinder groups, in which each cylinder group contains inodes and their corresponding data. How does this new organization improve performance?
Reputation Points: 47
Solved Threads: 2
Posting Pro in Training
lotrsimp12345 is offline Offline
413 posts
since Jun 2009
Sep 30th, 2009
0

Re: File Structure , PLease help thanks.

here's what i put down: The file manager must first read a sector to make sure that it has enough empty space in the sector to write the record to disk. To decrease the number of times such a read is likely to occur we can calculate how much space is in a sector the first time a read is called and only call read again after that sector can hold no more information. Continue subtracting from that first read until a record being inserted is too big to fit into a sector.
Reputation Points: 47
Solved Threads: 2
Posting Pro in Training
lotrsimp12345 is offline Offline
413 posts
since Jun 2009
Sep 30th, 2009
0

Re: File Structure , PLease help thanks.

I don't know, but the simple answer I would think of is that with cylinder groups, related items are kept together.
Reputation Points: 14
Solved Threads: 3
Junior Poster in Training
sloan31 is offline Offline
65 posts
since Apr 2008
Sep 30th, 2009
0

Re: File Structure , PLease help thanks.

thanks for trying.
Reputation Points: 47
Solved Threads: 2
Posting Pro in Training
lotrsimp12345 is offline Offline
413 posts
since Jun 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Computer Science Forum Timeline: application of stacks.
Next Thread in Computer Science Forum Timeline: BSc 2nd Year Project "Apartment Rental System"





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC