On 2000-Feb-15 10:17:35 +1100, Matthew Dillon <[EMAIL PROTECTED]> wrote:
>
>:> You can't change this behavior. UFS can only use a file fragment (that
>:> is, typically 1/8 of a full block) at the *END* of a file, not the middle.
>:
>:pardon the ignorance (but i don't have the red book handy),
>:thas that mean that if you need 1 frag+1 byte you end up using a full
>:block ?
>
> I believe so, but I'm not 100% sure.
That's not what is reported in the inode's block count. The following
is on an 8K/1K filesystem:
gsmx07% ls -lis
total 160
761017 2 -rw-r--r-- 1 jeremyp inplat 1024 Feb 16 08:22 b1
761018 4 -rw-r--r-- 1 jeremyp inplat 1025 Feb 16 08:22 b1+1
761019 4 -rw-r--r-- 1 jeremyp inplat 2048 Feb 16 08:22 b2
761021 6 -rw-r--r-- 1 jeremyp inplat 2049 Feb 16 08:22 b2+1
761022 6 -rw-r--r-- 1 jeremyp inplat 3072 Feb 16 08:22 b3
761024 8 -rw-r--r-- 1 jeremyp inplat 3073 Feb 16 08:22 b3+1
761025 8 -rw-r--r-- 1 jeremyp inplat 4096 Feb 16 08:22 b4
761026 10 -rw-r--r-- 1 jeremyp inplat 4097 Feb 16 08:22 b4+1
761027 10 -rw-r--r-- 1 jeremyp inplat 5120 Feb 16 08:22 b5
761052 12 -rw-r--r-- 1 jeremyp inplat 5121 Feb 16 08:22 b5+1
761053 12 -rw-r--r-- 1 jeremyp inplat 6144 Feb 16 08:22 b6
761054 14 -rw-r--r-- 1 jeremyp inplat 6145 Feb 16 08:22 b6+1
761055 14 -rw-r--r-- 1 jeremyp inplat 7168 Feb 16 08:22 b7
761056 16 -rw-r--r-- 1 jeremyp inplat 7169 Feb 16 08:22 b7+1
761057 16 -rw-r--r-- 1 jeremyp inplat 8192 Feb 16 08:22 b8
761058 18 -rw-r--r-- 1 jeremyp inplat 8193 Feb 16 08:22 b8+1
gsmx07%
Peter
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message