> *sd5 at scsibus2 targ 1 lun 0: <, USB DISK Pro, PMAP> SCSI0 0/direct
> removable
> sd5: 118MB, 15 cyl, 255 head, 63 sec, 512 bytes/sec, 243200 sec total

> The USB is "USB DISK PRO", but sd0 - sd5; usb0 - usb 5 is not the usb. How
> can i find where is mounted? Thank you and sorry if i am too beginner.

USB devices and partitions are two different animals. What you sent us
is the output of dmesg(8) on your machine. It looks like the USB drive
is seen by the system as device sd5. But you don't have to guess.
Simply disconnect the USB drive from the machine, log in as root and
plug the USB device again. You should see a message that tells you
which logical device represents the physical USB drive.

Suppose it's sd5. This is only a device, not a partition. We need to
know the name of the partition(s) that hold the data (there may be
more than one). Log in as root and do the following:

# mkdir /mnt/usbpro
# cd /mnt/usbpro

You didn't tell us what kind of partitions are on the USB drive, my
suspicion is that they are MS-DOS / FAT partitions, but we don't have
to guess, we can ask disklabel(8) for help:

# disklabel sd5

You should see a list of partitions on the drive. You can ignore c:,
it is a special partition that represents the whole drive. My guess is
that you will see a single i: partition.

To read from and write to that partition you need to mount it.

# mount -t msdos /dev/sd5i /mnt/usbpro

Check if all went fine with:

# ls /mnt/usbpro

If you see files on the drive, you have successfully mounted it on
your system. You can use it as an ordinary drive.

Beware! You cannot just unplug the drive. If you want to disconnect it, type:

# umount /mnt/usbpro

Only disconnect the drive after unmounting *all* partitions that you
may have mounted on your system. If you forget to do that, the system
may become confused and you my loose your data.

Hope the above helps you a little.

-- 
Jacek Artymiak
http://devGuide.net
Twitter: http://twitter.com/devguide
Facebook: http://www.facebook.com/group.php?gid=50168432081

Reply via email to