Re: Unique names for UMS devices in /media/
- From: Peter Garrett <peter.garrett@xxxxxxxxxxxxxxx>
- Date: Thu, 15 Feb 2007 11:32:22 +1100
On Thu, 15 Feb 2007 01:07:10 +0100
Mario Vukelic <mario.vukelic@xxxxxxxxxxx> wrote:
On Thu, 2007-02-15 at 10:46 +1100, Peter Garrett wrote:
I think you can write udev rules to achieve this.
Weirdly enough, all my usb devices (some vfat, some ext3) do this
without me having to do anything. As far as I can tell they all use the
file system's volume label
Yes, the system appears to look at "Vendor" and "Model" designations, at
least, when a device is attached. For example if I run
tail -f /var/log/messages
before plugging in my USB memory sticks I see something like
Feb 15 11:18:43 localhost kernel: [17345432.420000] Vendor: USBDisk
Model: RunDisk Rev: 1.00
and a different one says
Feb 15 11:21:38 localhost kernel: [17345607.748000] Vendor: USB
Model: Flash Disk Rev: 3000
( pretty generic )
These appear as "USBDisk RunDisk: usbdisk " and "USB Flash Disk: USB"
respectively in the "Computer" place in Nautilus ( I disabled the desktop
icons and automatic opening because they annoyed me ;) I guess I'm Old
School... )
Peter
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: Unique names for UMS devices in /media/
- From: Mario Vukelic
- Re: Unique names for UMS devices in /media/
- References:
- Unique names for UMS devices in /media/
- From: Tom Eastman
- Re: Unique names for UMS devices in /media/
- From: John Dangler
- Re: Unique names for UMS devices in /media/
- From: Peter Garrett
- Re: Unique names for UMS devices in /media/
- From: Mario Vukelic
- Unique names for UMS devices in /media/
- Prev by Date: VNC + Boot w/o keyboard, video & mouse
- Next by Date: Re: VNC + Boot w/o keyboard, video & mouse
- Previous by thread: Re: Unique names for UMS devices in /media/
- Next by thread: Re: Unique names for UMS devices in /media/
- Index(es):
Relevant Pages
|