Source-Changes-D archive

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

Re: LFS frag size



We should probably use the disk sector size as the default fragment size, whatever that is---usually 512 (maybe still "always 512" for NetBSD, I haven't been paying attention). If we had 64-bit block addressing in LFS, the filesystem size wouldn't be limited by the frag size, and I'd have changed it some time ago.

Take care,

-Konrad

On 02/03/2012 05:51 AM, NAKAJIMA Yoshihiro wrote:
Hello LFS developer,

On Thu, 2 Feb 2012 03:50:33 +0000,
"Konrad Schroder"<perseant%netbsd.org@localhost>  wrote:

Modified Files:
        src/sbin/newfs_lfs: config.h make_lfs.c

Log Message:
When creating a very small filesystem, use well-known small segment,
block and fragment sizes by default instead of the ordinary 1M/8k/1k
default for larger filesystems.
Why don't we use 512 byte frag by default?
I think It is more space efficient,
though it have also 1TB partition limit.

Cheers,



Home | Main Index | Thread Index | Old Index