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@dell6510:~$ rmformat
Looking for devices...
     1. Logical Node: /dev/rdsk/c14t0d0p0
        Physical Node: /pci@0,0/pci1028,7b1@14/storage@4/disk@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@dell6510:~$ ls -l tmp
total 0
steven@dell6510:~$ mount -F pcfs /dev/dsk/c14t0d0p1 tmp
mount: Not owner
steven@dell6510:~$ ls -l  /dev/dsk/c14t0d0p1
lrwxrwxrwx   1 root     root          57 Jan  7 12:35 /dev/dsk/c14t0d0p1 -> ../../devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r steven@dell6510:~$ ls -l /devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r br--------   1 steven   lp       220, 2513 Jan  7 12:35 /devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r steven@dell6510:~$ mount -F pcfs /devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r tmp
mount: Not owner
steven@dell6510:~$ pfexec mount -F pcfs /devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r tmp
mount: Not owner
steven@dell6510:~$ sudo mount -F pcfs /devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r tmp
Password:
steven@dell6510:~$ ls -l tmp
total 1
-rwxrwxrwx   1 steven   lp             5 Mar 29 10:05 test.txt


Stephan


_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to