[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Parted 1.5.5-pre4
From: |
Matt_Domsch |
Subject: |
RE: Parted 1.5.5-pre4 |
Date: |
Fri, 22 Mar 2002 19:01:16 -0600 |
> Are there any sample partition tables with sector_size != 512 for
> me to look at?
None that I'm aware of yet. But for the future, there will be media (not
necessarily disks) with like an 8K sector size. Note that sector size > cpu
PAGE_SIZE will break Linux badly anyhow.
> Are "LBA" values (i.e. fields of on-disk structs with LBA in the name)
> in 512 sectors, or sector_size sectors?
sector_size.
> Also, I see no sector_size field in the GPT header... are we meant to
> rely on the hardware for this?!
Yes, hardware defines what its sector_size is. CD-ROMs use 2048 bytes, most
disks use 512 bytes. This *does* mean you can't simply dd from a disk with
one sector_size to one with a different size. Oh well.
This isn't critical BTW, just an observation that parted always uses 512,
and GPT could be more flexible.
Thanks,
Matt
--
Matt Domsch
Sr. Software Engineer
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
#1 US Linux Server provider for 2001! (IDC Mar 2002)