tech-kern archive

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

Re: File systems on 4k sector devices?



On Thu, Jun 07, 2012 at 12:49:52AM -0700, Phil Nelson wrote:
 > (parts of the disk label)
 > bytes/sector: 4096
 > sectors/track: 32
 > tracks/cylinder: 64
 > sectors/cylinder: 2048
 > cylinders: 357698
 > total sectors: 732566642
 > 
 >   d: 732566642         0     unused      0     0        # (Cyl.      0 - 
 > 357698*)
 >  e:     50000        63     4.2BSD   1024  8192     0  # (Cyl.      0*-     
 > 24*)
 >  f: 732516579     50063     4.2BSD   4096 32768     0  # (Cyl.     24*- 
 > 357698*)
                        ^^

I suspect your problem is that those 63's are making the partition not
sector-aligned.

disklabel is supposed to not do that on 4k-sector disks, but I think
the logic involved is more recent than the 5.1 release.

The 63 thing is an old MSDOS-related superstition and there's no
reason to follow it now. (Even if there ever was, which wasn't ever
entirely clear.)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index