[ale] ignorance, just ignorance
Sean Kilpatrick
kilpatms at gmail.com
Wed Oct 2 23:13:47 EDT 2013
Problem solved.
I plugged the thumb drive in to my wife's Mac and, lo and behold, the
label has been changed. Apparently the dosfslabel command did the trick.
The odds that I will remember the command should I ever need it again are
somewhere between Slim and None, and Slim will have gone to lunch.
Sean
----------------------------------------------------------------------------------------
On Wednesday, October 02, 2013 04:55:42 pm Sean Kilpatrick wrote:
> LABEL is a clue. But so far, only a clue.
>
> The commands mlabel and dosfslabel are really intended to change the
> LABEL on a hard drive or floppy.
>
> So I checked with MOUNT and was told that the thumb drive is seen as
> /dev/sdh1 and is mounted on /media/thumb1.
>
> So I tried dosfslabel /dev/sdh1 thumb2 and that did NOT relabel the
> thumb drive. But if I run the command by itself <dosfslabel
> /dev/sdh1> it returns the new name -- thumb2. But, checking back at
> /media shows the label thumb1 -- not thumb2.
>
> Also tried mlabel command: mlabel /dev/sdh1: thumb2, and got back the
> polite "try again" line:
> Mtools version 4.0.12, dated November 3rd, 2009
> Usage: mlabel [-vscVn] [-N serial] drive:
>
>
> It never occurred to me it would be so difficult to discover how to
> relabel a thumb drive.
>
> I need a beer.
>
> Sean
>
> -----------------------------------------------------------------------
> -----------
>
> On Wednesday, October 02, 2013 03:52:23 pm Sparr wrote:
> > Depending on your distro and its auto-mounting tools, thumb1 is
> > probably currently the LABEL for the thumb drive and is being used to
> > automagically create the /media/thumb1 directory for mounting. You
> > can change this with mlabel or gparted or some other tools.
> >
> > On Wed, Oct 2, 2013 at 3:46 PM, Sean Kilpatrick <kilpatms at gmail.com>
>
> wrote:
> > > **
> > >
> > > After all, there is a cure for ignorance, but not stupidity.
> > >
> > > Anyway,
> > >
> > > I have this thumb drive named {thumb1} I need to rename it [thumb2]
> > >
> > > so, as root, I did this:
> > >
> > > cd /media
> > >
> > > mv thumb1 thumb2
> > >
> > > and was told that 'device or resource busy.'
> > >
> > > But if I unmount the thumb drive, then it isn't seen by the OS, and
> > > there isn't anything to rename.
> > >
> > > So, how do I rename this thing?
> > >
> > > Sean
> > >
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://mail.ale.org/mailman/listinfo/ale
> > > See JOBS, ANNOUNCE and SCHOOLS lists at
> > > http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20131002/7d1cdeca/attachment-0001.html>
More information about the Ale
mailing list