Re: storeio problem [PATCH]

2005-01-07 Thread Roland McGrath
> 2005-01-07 Marco Gerards <[EMAIL PROTECTED]> > > * storeio.c (trivfs_modify_stat): Don't initialize st_blocks. Ok by me. ___ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd

Re: storeio problem [PATCH]

2005-01-07 Thread Marco Gerards
Roland McGrath <[EMAIL PROTECTED]> writes: >> Roland McGrath <[EMAIL PROTECTED]> writes: >> >> > It is a nice feature that st_size is useful on disks in the Hurd, even >> > though it's useless on Unix. For st_blocks, it makes less sense per se >> > because it's not using space on the containing

Re: storeio problem [PATCH]

2005-01-06 Thread Roland McGrath
> Roland McGrath <[EMAIL PROTECTED]> writes: > > > It is a nice feature that st_size is useful on disks in the Hurd, even > > though it's useless on Unix. For st_blocks, it makes less sense per se > > because it's not using space on the containing filesystem. Arguably it > > should just leave i

Re: storeio problem [PATCH]

2005-01-06 Thread Marco Gerards
Roland McGrath <[EMAIL PROTECTED]> writes: > It is a nice feature that st_size is useful on disks in the Hurd, even > though it's useless on Unix. For st_blocks, it makes less sense per se > because it's not using space on the containing filesystem. Arguably it > should just leave it alone so i

Re: storeio problem [PATCH]

2005-01-06 Thread Marco Gerards
"Alfred M. Szmidt" <[EMAIL PROTECTED]> writes: > For what it is worth, on OpenBSD st_nblocks is 0 for /dev/zero, so I > think this patch is correct and it won't break any existing program. I am running GNU/Hurd using this patch now and everything seems fine to me so far. Anyway, if everything is

Re: storeio problem [PATCH]

2005-01-06 Thread Roland McGrath
It is a nice feature that st_size is useful on disks in the Hurd, even though it's useless on Unix. For st_blocks, it makes less sense per se because it's not using space on the containing filesystem. Arguably it should just leave it alone so it's whatever is actually being consumed on the under

Re: storeio problem [PATCH]

2005-01-06 Thread Alfred M. Szmidt
For what it is worth, on OpenBSD st_nblocks is 0 for /dev/zero, so I think this patch is correct and it won't break any existing program. ___ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd

storeio problem [PATCH]

2005-01-06 Thread Marco Gerards
Hi, There is a problem with storeio. Ognyan reported this on savannah already: https://savannah.gnu.org/bugs/?func=detailitem&item_id=10440 The problem is that the size of /dev is huge (which is reported by `ls -l' as total). This is caused by /dev/zero: 9007199254740992 crw-rw-rw- 1 root ro