Mounting USB drives in general

Hello,

I am having trouble trying to figure out how to mount a usb jumpdrive or similar product in Solaris 10. I have a good understanding of the mount command, it is just trying to figure out what I am supposed to mount.I can't seem to find what was assigned to the jumpdrive when I plugged it in. Does anyone know where I can find a good guide on this topic?I'm used to the BSD/Linux way of doing things.

[421 byte] By [Sanjuroa] at [2007-11-26 12:57:25]
# 1

this is what I do ,

1) check /var/adm/messages to make sure sd attaches to the usb device

here i've just plugged in my dell axim.

Dec 29 11:15:41 timu-home usba: [ID 912658 kern.info] USB 2.0 device (usb0,0) operating at full speed (USB 1.x) on USB 1.10

root hub: storage@1, scsa2usb4 at bus address 2

Dec 29 11:15:41 timu-home usba: [ID 349649 kern.info]Softick Dell Axim X51v 0087AB6095E7

Dec 29 11:15:41 timu-home genunix: [ID 936769 kern.info] scsa2usb4 is /pci@0,0/pci1179,1@1d,1/storage@1

Dec 29 11:15:41 timu-home genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d,1/storage@1 (scsa2usb4) online

Dec 29 11:15:41 timu-home scsi: [ID 193665 kern.info] sd5 at scsa2usb4: target 0 lun 0

Dec 29 11:15:41 timu-home genunix: [ID 936769 kern.info] sd5 is /pci@0,0/pci1179,1@1d,1/storage@1/disk@0,0

Dec 29 11:15:41 timu-home genunix: [ID 408114 kern.info] /pci@0,0/pci1179,1@1d,1/storage@1/disk@0,0 (sd5) online

Dec 29 11:15:41 timu-home genunix: [ID 314293 kern.info] device pciclass,030000@2(display#0) keeps up device sd@0,0(disk#5), but the latter is not power managed

so I can see that sd5 is the target driver instance that is controlling my axim.

then run rmformat as root to get the /dev/rdsk/cXtXdX number to mount

# rmformat

Looking for devices...

1. Logical Node: /dev/rdsk/c6t0d0p0

Physical Node: /pci@0,0/pci1179,1@1d,1/storage@1/disk@0,0

Connected Device: Softick Card Export0001

Device Type: Removable

Bus: USB

Size: 488.7 MB

Label: <None>

Access permissions: <Unknown>

2. Logical Node: /dev/rdsk/c1t0d0p0

Physical Node: /pci@0,0/pci-ide@1f,1/ide@1/sd@0,0

Connected Device: TOSHIBA DVD-ROM SD-R2412 1431

Device Type: DVD Reader

Bus: IDE

Size: <Unknown>

Label: <Unknown>

Access permissions: <Unknown>

so /dev/rdsk/c6t0d0p0 is the device to mount.

now at this point you might well find that some

media manager has mounted up the device for you.

( the later the solaris version the better the media managers)

if not you want to do something like ( note the :c)

# mount -F pcfs /dev/dsk/c6t0d0p0:c/mnt

# ls /mnt

Business Inbox.mst2 Program Filesmusic

FilesToBeDeleted MSMETADATAjunk

Inbox.mst29My Music mindmaps

#

hope that helps a bit

tim

tim.uglowa at 2007-7-7 16:53:44 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Hello Tim,appears that you're not the only one who uses the Sun shutdown week to browse these forums ...DanielTempleton had a similiar suggestion http://forum.java.sun.com/thread.jspa?threadID=5104572&messageID=9415489#94 15489Happy New Year !Michael
MAALATFTa at 2007-7-7 16:53:44 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...