On Mar 28, 06 00:00:46 +0100, David Bolt wrote:
> Give the USB drive a volume name and it will be mounted on a mount point
> based on that name. From tests I've done, and others have confirmed, if
> there is a volume name, it is used to create the mount point under
> /media. If there isn't a volume name, the mount points start as
> /media/usbdisk and gain a number with each new drive without a volume
> name. E.g. /media/usbdisk /media/usbdisk-1 etc.
Argl. We now need a Volume-name?
With 10.0 it was the Filesystem-name that was used.
> How you give each drive a new volume label depends on whether you're
> wanting to keep the data on the drive intact, and what the file system
> is. For ext2/ext3, e2label does the job. For VFAT, AFAIK, either you
> need a Windows system, which will let you keep the contents, or you need
> to use mkdosfs, which will erase the contents.
I hate to be forced back to windows.
I just did the ugly hack:
echo '0000040: 0000 2951 1364 f04a 5720 3033 2d30 352d 3133' | xxd -c 18 -r -
/dev/sda1
to put a copy of my filesystem label in the volume label.
Don't do this at home, kids!
Anyone to make a nice script (including sanity checks!) for that?
cheers,
Jw.
--
o \ Juergen Weigert paint it green! __/ _=======.=======_
<V> | [EMAIL PROTECTED] wide open suse_/ _---|____________\/
\ | 0911 74053-508 (tm)__/ (____/ /\
(/) | __________________________/ _/ \_ vim:set sw=2 wm=8
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]