NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/57134: st_size of stat on vnd raw partition sometimes is 0, causing newfs to fail
The following reply was made to PR kern/57134; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/57134: st_size of stat on vnd raw partition sometimes is 0, causing newfs to fail
Date: Mon, 02 Jan 2023 17:57:49 +0700
Date: Mon, 2 Jan 2023 10:05:02 +0000 (UTC)
From: mlelstv%serpens.de@localhost (Michael van Elst)
Message-ID: <20230102100502.151AE1A923A%mollari.NetBSD.org@localhost>
| I think having st_size being valid all the time for disks would be
| useful, in particular because Linux works like that.
I have no objection (though even that doesn't mean that newfs needs
to use it) - but if we're going to do that, it needs to work regardless
of what the filesystem the device node is located on happens to be (so
tmpfs and nfs need changing, and lfs, cd9660 (if that supports devices at all),
zfs, udf, and whatever else we have will all need testing (or at a
minimum, code examination). Then we need to verify that none of the
layering mechanisms (unionfs ...) change things.
kre
Home |
Main Index |
Thread Index |
Old Index