
From mlabel man page: [quote] mlabel [-vcsn] [-N serial] drive:[new_label] ... s Shows the existing label, without prompting the user. ... n Assigns a new (random) serial number to the disk [/quote] What does "drive:" mean trying to run the mlabel command against a FAT16 filesystem while booted to openSUSE Leap 15.4? The man page contains no examples. # lsblk -f /dev/sda6 ├─sda6 vfat P06 ASU8 0620-2111 /disks/E # mlabel -n /dev/sda6 # errors (whether or not mounted) # mlabel -s /dev/sda6 # errors (whether or not mounted) # mlabel -n <mountpoint> # errors (while mounted) # mlabel -s <mountpoint> # errors (while mounted) All 4 commands above produce: Mtools version 4.0.18, dated January 9th, 2013 Usage: mlabel [-vcsn] [-N serial] drive:[new_label] # mlabel -s E: Drive 'E:' not supported Cannot initialize 'E:' mlabel: Cannot initialize drive -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata

On 17.09.2022 04:58, Felix Miata wrote:
What does "drive:" mean trying to run the mlabel command against a FAT16 filesystem while booted to openSUSE Leap 15.4? The man page contains no examples.
And the reason you are asking it on opensuse Factory list instead of info-mtools@gnu.org is ... ?

Andrei Borzenkov composed on 2022-09-17 08:41 (UTC+0300):
Felix Miata wrote:
What does "drive:" mean trying to run the mlabel command against a FAT16 filesystem while booted to openSUSE Leap 15.4? The man page contains no examples.
And the reason you are asking it on opensuse Factory list instead of info-mtools@gnu.org is ... ?
Where in my post did you find the string "actory" -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata

On Fri, 16 Sep 2022 21:58:26 -0400, Felix Miata <mrmazda@earthlink.net> wrote:
The mtools(1) man page, in the 'Drive letters' section, has a partial description, but refers to a 'Configuration' section which does not exist. That is actually in the mtools(5) man page. The better, unified documentation is provided by the 'info mtools' command. The configuration files associate a system device, and other info, with each drive letter. You can run 'mtoolstest' to display the overall configuration, while simultaneously testing it. Instead of 'mlabel', it might be simpler to use the non-mtools command 'fatlabel', A.K.A. 'dosfslabel'. You can also check out the other dosfstools commands.
To show the current volume label: fatlabel /dev/sda6 To change it: fatlabel /dev/sda6 <NEW_LABEL> -- Robert Webb

On 2022-09-17 03:58, Felix Miata wrote:
There is a master man page for "mtools" that you should read first, before "man mlabel". Or rather, the "info" page. mtools is an ancient package, and documentation is also ancient. In fact, "man mlabel" mentions you should read the info page instead, although it calls it "texinfo doc". Ah, I see Robert Webb gave you way more detailed info. Why do you want to use mtools? It is "peculiar" software. -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)

Carlos E. R. composed on 2022-09-17 13:54 (UTC+0200):
In fact, "man mlabel" mentions you should read the info page instead, although it calls it "texinfo doc".
Ain't that intuitive. :p
Ah, I see Robert Webb gave you way more detailed info.
Why do you want to use mtools? It is "peculiar" software.
I don't. "Peculiar" is apropos. I don't use DOS tools with Linux often enough to remember tool names, so I use apropos to refresh my memory. My eyes gravitated first to mlabel, so that's what I tried to use. I was already mentally exhausted, so forgot about the extended apropos output, instead, deciding easier to just boot DOS or OS/2. Thanks to you and Robert for the replies! -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata

On 17.09.2022 04:58, Felix Miata wrote:
What does "drive:" mean trying to run the mlabel command against a FAT16 filesystem while booted to openSUSE Leap 15.4? The man page contains no examples.
And the reason you are asking it on opensuse Factory list instead of info-mtools@gnu.org is ... ?

Andrei Borzenkov composed on 2022-09-17 08:41 (UTC+0300):
Felix Miata wrote:
What does "drive:" mean trying to run the mlabel command against a FAT16 filesystem while booted to openSUSE Leap 15.4? The man page contains no examples.
And the reason you are asking it on opensuse Factory list instead of info-mtools@gnu.org is ... ?
Where in my post did you find the string "actory" -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata

On Fri, 16 Sep 2022 21:58:26 -0400, Felix Miata <mrmazda@earthlink.net> wrote:
The mtools(1) man page, in the 'Drive letters' section, has a partial description, but refers to a 'Configuration' section which does not exist. That is actually in the mtools(5) man page. The better, unified documentation is provided by the 'info mtools' command. The configuration files associate a system device, and other info, with each drive letter. You can run 'mtoolstest' to display the overall configuration, while simultaneously testing it. Instead of 'mlabel', it might be simpler to use the non-mtools command 'fatlabel', A.K.A. 'dosfslabel'. You can also check out the other dosfstools commands.
To show the current volume label: fatlabel /dev/sda6 To change it: fatlabel /dev/sda6 <NEW_LABEL> -- Robert Webb

On 2022-09-17 03:58, Felix Miata wrote:
There is a master man page for "mtools" that you should read first, before "man mlabel". Or rather, the "info" page. mtools is an ancient package, and documentation is also ancient. In fact, "man mlabel" mentions you should read the info page instead, although it calls it "texinfo doc". Ah, I see Robert Webb gave you way more detailed info. Why do you want to use mtools? It is "peculiar" software. -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)

Carlos E. R. composed on 2022-09-17 13:54 (UTC+0200):
In fact, "man mlabel" mentions you should read the info page instead, although it calls it "texinfo doc".
Ain't that intuitive. :p
Ah, I see Robert Webb gave you way more detailed info.
Why do you want to use mtools? It is "peculiar" software.
I don't. "Peculiar" is apropos. I don't use DOS tools with Linux often enough to remember tool names, so I use apropos to refresh my memory. My eyes gravitated first to mlabel, so that's what I tried to use. I was already mentally exhausted, so forgot about the extended apropos output, instead, deciding easier to just boot DOS or OS/2. Thanks to you and Robert for the replies! -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
participants (4)
-
Andrei Borzenkov
-
Carlos E. R.
-
Felix Miata
-
Robert Webb