LFS frag size (was: Re: CVS commit: src/sbin/newfs_lfs)

2012-02-03 Thread NAKAJIMA Yoshihiro
Hello LFS developer,

On Thu, 2 Feb 2012 03:50:33 +,
"Konrad Schroder"  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,
-- 
nakayosh


Re: LFS frag size

2012-02-03 Thread Konrad Schroder
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 +,
"Konrad Schroder"  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,