[oi-dev] OI no longer automounts USB sticks

Gary Mills gary_mills at fastmail.fm
Sat Jun 26 21:25:57 UTC 2021


On Sat, Jun 26, 2021 at 07:56:41AM +0200, stes at PANDORA.BE wrote:
> 
> Shouldn't 'eject' be listing those removable disks (they currently
> do not for me).

You can't eject USB sticks because there is no eject mechanism.  Only
CD and DVD drives have the mechanism.  You have to remove USB sticks
from the connector yourself.  The best you can do is un-mount them
first.  That's adequate.

> I'd expect something like
> 
> #  eject -l
> /dev/dsk/c12t0d0p0:1 rmdisk,rmdisk0,USBSLACK,/media/USBSLACK
> /dev/dsk/c1t0d0s2    cdrom,cdrom0,cd,cd0,sr,sr0

Perhaps you are thinking of "rmumount -l"?  You can also un-mount
them from the desktop icon.

> and
> 
> # eject rmdisk
> rmdisk /dev/dsk/c12t0d0p0:1 unmounted

Notice that it un-mounted the device but didn't eject it.


-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-



More information about the oi-dev mailing list