Saturday, December 26, 2009

File system layout in a linux partition



annalissa

now is this same layout/structure used for both primary and logical partitions ?


onebuck

Simplistically, a partition is nothing more than a container. Within that container you will construct a 'filesystem' that will be used to support the system. On a hard disk subsystem you can have multiple partitions, which are limited by the OS definitions. Look at the partition link for a detailed definition.
see:- http://en.wikipedia.org/wiki/Partition_%28computing%29

aragorn

Yes, they have the same layout. The only difference between a primary and logical partition is that a primary partition has its partition table entries - i.e. the beginning and end of the partition - listed in the partition table of the master boot record of the hard disk it sits
on, while a logical partition has its partition table entries listed in an extended partition container, which itself is a (special kind of) primary partition.

The Linux kernel doesn't care about whether a partition is either primary or logical, or whethr it's an LVM logical volume for that matter. (Note: LVM "Logical Volume Management") is an abstraction layer on top of the existing partitioning layer.)

No comments:

Post a Comment