NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/49510: gpt(8) fails w/o drvctl and breaks sysinst
The following reply was made to PR bin/49510; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
martin%NetBSD.org@localhost
Cc:
Subject: Re: bin/49510: gpt(8) fails w/o drvctl and breaks sysinst
Date: Mon, 29 Dec 2014 16:03:50 -0500
On Dec 29, 8:55pm, dholland-bugs%netbsd.org@localhost (David Holland) wrote:
-- Subject: Re: bin/49510: gpt(8) fails w/o drvctl and breaks sysinst
| AIUI, it doesn't, same as stat(2) doesn't return the disk size. I
| consider this a bug.
Consider stat'ing /dev/nrst0. Do you really want it to return the
size? Or /dev/rcd0a, what's the size? Is it the capacity? Or the
current amount of data written? What if it's unformatted? Or even
on regular disks, the size can be iffy... If you return sectors *
secperunit, are you sure you can write that many bytes (what about
bad sectors)?
christos
Home |
Main Index |
Thread Index |
Old Index