[OpenIndiana-discuss] Determine path to usb stick frm `rmformt -l' output

Harry Putnam reader at newsguy.com
Fri Dec 18 15:39:38 UTC 2020


I have the output of rmformat -l to guide me but I'm not sure what is
the correct path.  There are two shown.  In order to write to USB I
need to be exact with path.

Tail of rmformat -l output:

        [...]  
     3. Logical Node: /dev/rdsk/c8t0d0p0
        Physical Node: /pci at 0,0/pci103c,1306 at 1d,7/storage at 7/disk at 0,0
        Connected Device: TOSHIBA  TransMemory      1.00
        Device Type: Removable
        Bus: USB
        Size: 14.8 GB
        Label: <Unknown>
        Access permissions: Medium is not write protected.

I suspect it is the rdsk address shown: /dev/rdsk/c8t0d0p0

Can anyone confirm that I can use  usbcopy in this way:

   usbcopy OI-2020.10.iso /dev/rdsk/c8t0d0p0

It feels odd writing to an rdsk address but the other one shown feels
odder still:
       /pci at 0,0/pci103c,1306 at 1d,7/storage at 7/disk at 0,0

It finally dawned on my pea brain I could probably have a look with
`ls -l' and get some ideas.

Turns out they are really the same address (nearly)

The rdsk address /dev/rdsk/c8t0d0p0 is a symlink pointing to:

/dev/rdsk/c8t0d0p0 ->../../devices/pci at 0,0/pci103c,1306 at 1d,7/storage at 7/disk at 0,0:q,raw

with `:q,raw' qualifier added at the end

I still would like some verification please.




More information about the openindiana-discuss mailing list