lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 18 Sep 2009 09:23:47 -0500
From:	Eric Sandeen <sandeen@...hat.com>
To:	"Martin K. Petersen" <martin.petersen@...cle.com>
CC:	ext4 development <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH, RFC] mke2fs: get device topology values from blkid

Martin K. Petersen wrote:
>>>>>> "Eric" == Eric Sandeen <sandeen@...hat.com> writes:
> 
> Eric> This is just a rough cut, due to the blkid header selection issues
> Eric> I mentioned earlier on the list.  It'll also need some config-fu
> Eric> to be sure we've got a blkid which has these calls, but with it in
> Eric> place, we'll finally have automatic selection of stride/stripe:
> 
> What about alignment?
> 
> I know that in our friendly DM universe the volume will be aligned.  But
> what if the user does mkfs on /dev/sdX and the drive isn't naturally
> aligned?

heh, mkfs.ext* complains if you point it at a whole disk, though it will 
proceed...

> How flexible is the extN on-disk format?  Can you pad and shift things
> if need be?

shifting by 63 sectors would be tough I think; maybe a stern warning and 
a "proceed y/N?" would be better.

I had sort of assumed that -we- could assume the lower layers 
(partitions, volumes) got well-aligned before mkfs, but didn't think 
about making the fs on the whole device.

> Also, are you guys affected by the previously-acked-sectors-are-now-gone
> problems with 512-byte logical/4KB physical drives?

previously-acked-sectors-are-now-gone?  I guess I haven't been keeping 
up.  What do you mean by this?

-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ