Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jan 2010 11:26:10 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Pieter de Goeje <pieter@degoeje.nl>
Cc:        Alexander Motin <mav@freebsd.org>, freebsd-current@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman <serenity@exscape.org>, freebsd-arch@freebsd.org
Subject:   Re: File system blocks alignment 
Message-ID:  <61364.1262345170@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 31 Dec 2009 17:12:17 %2B0100." <200912311712.18347.pieter@degoeje.nl> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200912311712.18347.pieter@degoeje.nl>, Pieter de Goeje writes:

>Ok, as Miroslav wrote, it does not report 4k sectors:

If you care to, and have the time, try the following:


for N in (0...7)
	for M in (0..2)
		create partition starting at byte offset N*512
		newfs -f 4096 -b 32768 /dev/foo
		mount /dev/foo /mnt
		time restore(8) a filesystem into it.
		unmount /mnt
		time fsck_ffs /dev/foo
		mount /dev/foo /mnt
		time tar cf /dev/null  /mnt
		unmount /mnt

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61364.1262345170>