On 4/21/2011 6:22 PM, Wolfgang Mueller wrote:
On 04/21/11 22:37, Brian K. White wrote:
[...] There is no way to predict what the /dev/sd* names will be.
You *could* watch tail -f /var/log/messages for the device names as they appear,
The real answer is "don't use those names" they are a hold-over from days gone by when disk drives were fixed things that never moved or changed for the life of a machine.
Instead there are a few different ways to identify a disk today.
One, easiest, is rely on the automounter and just look in: /media/<volume name> That will be the already-mounted filesystem, not a device or link to a device.
But that means that autofs must be running. So far it is not in my system. By the way, it is interesting that the cdrom is mounted automatically but the usb devices are not.
Years ago, I used autofs for automatically mounting nfs file systems. But as soon as one of the servers was missing, the computer that tried to mount his file system became so slow that working on it became almost impossible.
That's the reason why I do not like autofs. It is safer to mount the usb devices manually. But I still wonder how the cdrom can be mounted automatically without autofs running.
The total collection of things that might or might not affect this are many, and many of which are obsolete today even if they were standard last year, of course, this is Linux. But Google means you don't have to wonder unless you want to. -- bkw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org