[plug] Partition/volume label change

Bret Busby bret at busby.net
Sat Feb 24 00:43:48 WST 2007


On Sat, 24 Feb 2007, Bret Busby wrote:

> Date: Sat, 24 Feb 2007 00:35:03 +0900 (WST)
> From: Bret Busby <bret at busby.net>
> Reply-To: plug at plug.org.au
> To: Plug List <plug at plug.org.au>
> Subject: Re: [plug] Partition/volume label change
> 
> On Sat, 24 Feb 2007, Jim Householder wrote:
>
>> Date: Sat, 24 Feb 2007 00:05:38 +0900
>> From: Jim Householder <nofixed at westnet.com.au>
>> Reply-To: plug at plug.org.au
>> To: Plug List <plug at plug.org.au>
>> Subject: [plug] Partition/volume label change
>> 
>> Hi
>> 
>> Is there a command to change the label of a volume or partition?
>> 
>> I found mlabel, but cannot find the syntax for it.  The man page is 
>> useless. It gives:
>> mlabel [-vcsn] [-N serial] drive:[new_label]
>> 
>> I've tried mlabel /dev/sda1 with and without : with no success.
>> How do you specify the drive or partition to use?
>> 
>> TIA
>> Jim
>> 
>> BTW I know the easy way out is to use Windows, where I can just rename it 
>> in explorer.
>> 
>
> Searching using google, for the three strings "linux", "mlabel" and "syntax", 
> yielded:
>
> http://www.die.net/doc/linux/man/man1/mlabel.1.html
>
> http://www.linuxcommand.org/man_pages/mlabel1.html
>
> and about 670 more...
>
> ;)
>
> --
> Bret Busby
> Armadale
> West Australia
> ..............
>
>

It just occurred to me - what about using mount?

--
Bret Busby
Armadale
West Australia
..............

"So once you do know what the question actually is,
  you'll know what the answer means."
- Deep Thought,
   Chapter 28 of Book 1 of
   "The Hitchhiker's Guide to the Galaxy:
   A Trilogy In Four Parts",
   written by Douglas Adams,
   published by Pan Books, 1992

....................................................



More information about the plug mailing list