Re: Partition does not end on cylinder boundary

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

 



On 06/04/11 19:28, David wrote:
> On 5 June 2011 12:21, Genes MailLists<lists@xxxxxxxxxxxx>  wrote:
>> On 06/04/2011 10:15 PM, David wrote:
>>> On 5 June 2011 12:07, JD<jd1008@xxxxxxxxx>  wrote:
>>>> On 06/04/11 19:02, David wrote:
>>>>> On 5 June 2011 11:42, JD<jd1008@xxxxxxxxx>    wrote:
>>>>>> I think you can read the kernel source code as well
>>>>>> as anyone. So you have to do some homework :)
>>>>> [david@kablamm partition]$ rpm -qf /sbin/mkfs.ext3
>>>>> e2fsprogs-1.41.9-5.fc12.i686
>>>>>
>>>>> kernel ?
>>>> Well, you can peruse the latest mainline kernel source:
>>>> http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.39.1.tar.bz2
>>> Partitioning is done by mkfs variants. Nothing to do with the kernel.
>>   David no need to keep teasing the mouse .. :-)
>>
>>   Nothing cares about cylinders on a hard drive after windows 95 (maybe
>> windows 98) ... everything since then uses LBA so cylinders are
>> completely irrelevant - its just a historical quirk.
>>
>>   So fuggit about it .. .:-)
> Awww, not teasing, fighting FUD about CHS! But yeah, agree, enuf :-)
Excerpts from Kernel code commentary:

ext2/inode.c

  *      Rules are:
  *        + if there is a block to the left of our position - allocate 
near it.
  *        + if pointer will live in indirect block - allocate near that 
block.
  *        + if pointer will live in inode - allocate in the same 
cylinder group.

ext3/inode.c

  *      Rules are:
  *        + if there is a block to the left of our position - allocate 
near it.
  *        + if pointer will live in indirect block - allocate near that 
block.
  *        + if pointer will live in inode - allocate in the same
  *          cylinder group.

ext4/inode.c

  *      Rules are:
  *        + if there is a block to the left of our position - allocate 
near it.
  *        + if pointer will live in indirect block - allocate near that 
block.
  *        + if pointer will live in inode - allocate in the same
  *          cylinder group.


Blocks are mapped (or organized in) cylinder groups.

Or, you can just ignore that and "fuggit" about it :)
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux