On 8/7/26 09:06, 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 ?
disklabel doesn't expect a partition. It expects a disk. The name itself
sort of suggests that.
The best thing to do is to read the man page, and examine how you ran
disklabel. It doesn't take that much time and you'll learn more about
disklabel and become a better sysadmin.
Brad