How do I edit labels for a fat-32 (or vfat) partition
Magnus Therning
magnus at therning.org
Thu Sep 15 15:07:25 UTC 2005
On Thu, Sep 15, 2005 at 10:31:47AM -0400, Carthik Sharma wrote:
>On 9/15/05, Magnus Therning <magnus at therning.org> wrote:
>>
>> On Thu, Sep 15, 2005 at 06:50:11AM -0400, Carthik Sharma wrote:
>> >I have external HDDs which have vfat partitions without labels. So ubuntu
>> >automounts them to /media/usbdisk(-n)
>> >I understand that this is because the partitions or drives dont have
>> volume
>> >labels.
>> >
>> >How can I create or edit volume labels for such partitions in linux?
>>
>> Have you checked if any of the tools in the mtools package can do it?
>
>
>Woot! I can do it with the mlabel command. Now if only I could figure
>out how to access the drives using mtools... any quick clues? I tried
>skimming the mtools online doc, which doesn't describe the process, and
>instead just lists the various commands available.
You need to edit /etc/mtools.conf. Add something like this:
drive d: file="/dev/sdb1"
Choose your own drive letter and the correct device. I haven't tried
renaming my USB stick (I'm happy with the name I gave it) but this at
least makes it turn up in MToolsFM (from the package mtoolsfm).
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus
Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.
The multiple human needs and desires that demand privacy among two or
more people in the midst of social life must inevitably lead to
cryptology wherever men thrive and wherever they write.
-- David Kahn, _The Codebreakers_
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050915/baef927b/attachment.sig>
More information about the ubuntu-users
mailing list