mounting a usb device
Hi All,
How does one mount a usb device when you have sata/scsi drives in use. Thanks. tomg120 |
At the risk of sounding cute, exactly as you would if you had IDE drives in use. The only difference is likely to be the third letter, the one after the sd.
If the USB device does not show up in your file manager automatically, which most of them do in contemporary Linux distros, you can run dmesg (likely you will have to run it as root) to find out how the computer is seeing the particular device. For a better answer, please provide information about what type of device you are trying to mount, and how dmesg sees that device (please post only the relevant portion of the output from dmesg and surround it in "code" tags which become available when you click the "Go Advanced" button at the bottom of the quick reply window). |
Most distros will automount it when you plug it in. Usually to a mount point in the /media folder.
If you need it to mount at boot to somewhere, you can put an entry for it in your fstab. If your devices have a bad habit of being assigned to other device locations, you can use the drives UUID and mount it that way. Code:
blkid Code:
UUID=bfe42e9f-e4fe-4e23-ad5e-3c8a3b105188 /mnt/usb ext3 noatime 0 1 Code:
mount -U bfe42e9f-e4fe-4e23-ad5e-3c8a3b105188 /mnt/usb or |
Almost all modern distro's access drives as scsi no matter the type. As Frank says it would be normally how the bios sees them.
SDA1 would tend to be the first bootable drive and then the mounted order follows so that a usb might be mounted as sdd or such. Simple mount command with no options may show it is mounted. Distro's tend to put usb mounts under /media but I don't know about slackware. |
Try
Code:
cat /etc/mtab |
Oddly enough, I had to add a USB device to /etc/fstab today because it wasn't mounting with Slackware 13.37 on an older computer. The system say it, but, when I tried to open it, Konqueror threw a "Unable to mount [device]" message.
I did exactly as chrism_01 suggested. I looked at the /etc/mtab (Mount TABle file), then entered it in /etc/fstab (File System Table) file. I made two changes from the mtab entry: I set the mount to "auto" and the owner to "users." Here is one of the clearest explanations of fstab that I've found on the net: |
Is the usb device a modem or storage device? Classically all devices must be mounted on the /mnt directory, although these days they are mounted in the /media directory.
To view mounted devices Quote:
Quote:
Quote:
|
Quote:
I tend to have all sorts of drives and devices that I mount and unmount as needs and wants dictate. The system I like is to create a list of directories under /mnt that contains names like 'sda1, sda2, sda3 ... sdg1, sdg2, sdg3, etc. Then, I just mount devices on mountpoint directories that reflect their device names. To view mounted drives, simply run 'mount' with no arguments. fdisk -l will show all known block devices and their partitions, irrespective of their mount status. --- rod. |
All times are GMT -5. The time now is 09:31 PM. |