Theo de Raadt, 14 Jun 2015 12:15: > > some modern linux distros (and win7) use 2048 sectors > > as offset for their first partition, an alignment of > > 1MB. openbsd's fdisk uses 64. one thing it does not > > do is creating partition sizes divisble > > you have confused yourself.
my mistake here, that was an unfinished train of thought that i moved to the bottom of the email and forgot to delete here. sorry about that. i did not mean to imply openbsd is doing anything wrong. quite the contrary. > > 3. non-aligned > > offset: [63] > > 339.51 real 4.46 user 5.63 sys > > > > quite a difference. > > Quite a difference WHAT?? Noone uses a non-pow2 alignment. Everyone > aligns -- everyone, except you, in this bogus test. This is not a > matter of science. Your message is very confusing since the length of > it subtly hints OpenBSD is doing something wrong, and we are not. yes, i can see how you came to that conclusion me forgetting to delete that half sentence up there. but it is exactly the contrary. the whole point of this email was to show how fdisk is doing the correct thing, and that there is no difference performance-wise between 64 and 2048 sector offsets. the misaligned partition example was simply to see the hard drive firmware in action on non-aligned partitions. i used openbsd's fdisk to set up this non-aligment, but i did not mean to imply that fdisk is doing something wrong. i did not include all the commands because it would have made the mail excessively long, but it would have shown clearly that by default fdisk will not create misaligned partitions. again, my mistake. > > one thing fdisk does not seem to do yet: > > > > generate partition sizes divisible by 8. > > while maybe not necessary on an openbsd only system, > > in multiboot configurations it might be a matter > > of being a good neighbour in cases where openbsd > > is not the last partition on the disk. > > So you are the one concerned about this. And you already have a setup > to test with. So why don't you try writing a diff -- instead of > trying to pawn your problem off on someone else? i wasn't trying to pawn my problems on others, but it is true that i am floating this idea around, becasue so far i have not seen any discussion about the merit of this idea. -f -- a true friend knows who you are... but likes you anyway.

