Re: missleading msg by disklabel

ian <[email protected]>
Newsgroups gmane.os.openbsd.misc
Message-ID <[email protected]>
On Fri, Aug 07, 2026 at 11:06:13AM +0200, dan wrote:
>    Hello,
>    When I try to disklabel on a partition instead of a disk I get an i/o
>    error msg just like the disk is in readonly mode for any reason (maybe
>    locked by securelevel, maybe locked by the usb enclousur, and so
>    forth).
>    Is it possible to improve the msg to avoid missunderstandings and loses
>    of time ?

When things fail, it's helpful to read the manual. The man page for disklabel
gives the syntax as referring to "disk." Not "disk partition". There isn't time
to provide warnings specific to every possible incorrect usage that people might
dream up.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.