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.

Reply via email to