[OpenIndiana-discuss] How to mount usb devices?
Stephan Althaus
Stephan.Althaus at Duedinghausen.eu
Mon Mar 29 08:12:39 UTC 2021
On 03/29/21 04:33 AM, Gary Mills wrote:
> USB devices are automatically mounted under /media . You can access
> them there.
Hello!
I just set up a new stick with one FAT32 partition, and a text file in it.
This does not mount magically, because my user ritghts are not set up
accordingly, it seems...
$ svcs -a|grep db
disabled 9:17:31 svc:/pkgsrc/dbus:default
online 9:17:32 svc:/system/dbus:default
steven at dell6510:~$ rmformat
Looking for devices...
1. Logical Node: /dev/rdsk/c14t0d0p0
Physical Node: /pci at 0,0/pci1028,7b1 at 14/storage at 4/disk at 0,0
Connected Device: Intenso Business Line 8.05
Device Type: Removable
Bus: USB
Size: 60.0 GB
Label: <Unknown>
Access permissions: Medium is not write protected.
steven at dell6510:~$ ls -l tmp
total 0
steven at dell6510:~$ mount -F pcfs /dev/dsk/c14t0d0p1 tmp
mount: Not owner
steven at dell6510:~$ ls -l /dev/dsk/c14t0d0p1
lrwxrwxrwx 1 root root 57 Jan 7 12:35 /dev/dsk/c14t0d0p1
-> ../../devices/pci at 0,0/pci1028,7b1 at 14/storage at 4/disk at 0,0:r
steven at dell6510:~$ ls -l
/devices/pci at 0,0/pci1028,7b1 at 14/storage at 4/disk at 0,0:r
br-------- 1 steven lp 220, 2513 Jan 7 12:35
/devices/pci at 0,0/pci1028,7b1 at 14/storage at 4/disk at 0,0:r
steven at dell6510:~$ mount -F pcfs
/devices/pci at 0,0/pci1028,7b1 at 14/storage at 4/disk at 0,0:r tmp
mount: Not owner
steven at dell6510:~$ pfexec mount -F pcfs
/devices/pci at 0,0/pci1028,7b1 at 14/storage at 4/disk at 0,0:r tmp
mount: Not owner
steven at dell6510:~$ sudo mount -F pcfs
/devices/pci at 0,0/pci1028,7b1 at 14/storage at 4/disk at 0,0:r tmp
Password:
steven at dell6510:~$ ls -l tmp
total 1
-rwxrwxrwx 1 steven lp 5 Mar 29 10:05 test.txt
Stephan
More information about the openindiana-discuss
mailing list