<br><div><span class="gmail_quote">On 9/15/05, <b class="gmail_sendername">Magnus Therning</b> <<a href="mailto:magnus@therning.org">magnus@therning.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Sep 15, 2005 at 10:31:47AM -0400, Carthik Sharma wrote:<br>>On 9/15/05, Magnus Therning <<a href="mailto:magnus@therning.org">magnus@therning.org</a>> wrote:<br><bigsnip /></blockquote><div><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>You need to edit /etc/mtools.conf. Add something like this:<br><br> drive d: file="/dev/sdb1"
<br><br>Choose your own drive letter and the correct device. I haven't tried<br>renaming my USB stick (I'm happy with the name I gave it) but this at<br>least makes it turn up in MToolsFM (from the package mtoolsfm).<br><br>
/M</blockquote><div><br>
</div></div>Alright, I did it.<br>
<br>
Step by step instructions to re-label fat partitions follows:<br>
<br>
1) Install mtools:<br>
$sudo apt-get install mtools<br>
<br>
2) After the usb mount is automounted after plugging in, find out the device descriptor using:<br>
$mount<br>
and Note down where it says "sda1" or similar<br>
<br>
3) copy the mtools.conf to ~/.mtoolsrc<br>
$cp /etc/mtools.conf ~/.mtoolsrc<br>
<br>4) Edit ~/.mtoolsrc to add one line at the very end:<br>
drive i: file="/dev/sda2"<br>
--you may have to change sda2 to something else depending on what you got in step 2 above.<br>
<br>
5) Change to the "drive" i:<br>
$mcd i:<br>
<br>
6) Check what the label for the drive is currently:<br>
$sudo mlabel -s i:<br>
<br>
7) Change the label to something pretty:<br>
$sudo mlabel i:magnus<br>
Yes, I named my ipod after the gallant man who showed me the way!<br>
<br>
8) Check if the label has changed:<br>
$sudo mlabel -s i:<br>
I got the following output --<br>
 Volume label is MAGNUS<br>
<br>
You're all set!!<br>
<br>
Thanks again, Magnus.<br>
<br>
Carthik.<br>
<br>
-- <br>Ph.D. Candidate<br>University of Central Florida<br>Homepage: <a href="http://carthik.net">http://carthik.net</a>