Le mardi 07 septembre 2004, 08:29:28 ou environ David Robertson
Hi all,
I have a couple of questions.
* I was trying to hook up an external USB harddrive (FAT32 formatted). It is not automatically mounted. So, I wanted to do it manually. But, I didn't know the name of the device file. "dmesg" and "/var/log/messages" did not say anything about the file name, but just an entry - "scsi0 : SCSI emulation for USB Mass Storage device".
I didn't know what to look for in "hwinfo". Why does the hotplug system and KDE not display a message of some sort telling me the status of the new hardware (similar to that in Windoz)?
Googling didn't help. I am running Suse 9.1 Professional on a HP zt 1270 Laptop.
* How do I know the name of the device file associated with a piece of hardware (printer, hard drive, camera etc) when it is plugged-in either before or after booting?
* Where are they located? (always under "/dev"? If so, where?)
* Does the criteria for the above two change depending on whether it is PCI, USB, PCMCIA etc?
I have 9.1 installed on an HP zd7000 laptop and occasionally connect an external Maxtor USB drive. The system assigns it as /dev/sda1 and the mount point is under /media/usb-storage-xyz. SuSE mounts all removable file systems under /media. I have to say that the first time I used it on this system, I did get a message asking me if I wanted to configure it, and it was then added to /etc/fstab. This was actually a nuisance as the system then looked for it every time I booted, so I edited it out. I think that all device files will be located in /dev irrespective of being PCI, USB, etc. dmesg should give you the info you need.
HTH
David
Or you can add the 'noauto' option in /etc/fstab. I still use SuSE-8.2 and the recognition of an Usb mass-storage device is still not automatic windows-like. Thus I added in /etc/fstab: /dev/sda1 /media/sda1 auto noauto,user,exec 0 0 I created myself the /media/sda1 directory. Thus # mount /media/sda1 If you have many usb-storage devices, the first one is recognised as /dev/sda1 and the second one as /dev/sda2 but not necessarily in the same order. Of course there is a hot-plug too and normally the new device is added automatically in /etc/fstab. I added the /etc/fstab lines manually because I have several partitions on my usb hard disk. -- Alain Barthélemy cassandre@bartydeux.be http://www.bartydeux.be Linux User #315631