[oi-dev] OI no longer automounts USB sticks

Gary Mills gary_mills at fastmail.fm
Thu Jun 3 14:11:07 UTC 2021


A couple of weeks ago, I upgraded my OI systems to the current version
of OI.  Everything seemed to work, although I didn't test everything.
Yesterday, I inserted a USB stick into one of the systems, and was
surprised that it didn't mount.  It used to work.  This event start me
on an investigation.

All of my USB sticks use a FAT32 filesystem and one FDISK partition.
They all automount on Windows 10 and show no errors.  On my test OI
system, running the 2021-05-15 version of OI, they do not automount.
A reboot did not help.  The "fstyp" command for the :1 device shows a
"pcfs" filesystem.  I am able to mount and umount the device as root.
It shows the correct content.

When I booted the 2020-11-27 BE on that same system, the USB stick did
automount.  A window popped up showing the contents of the device.  It
also showed up in "mount | grep media".  Another USB stick also
automounted the same way.

I conclude that something happened between those two versions of OI
to prevent USB sticks from mounting.  I don't know what changed or
what is missing.  Has anyone else seen the same problem?

Automounting is complicated.  These are three services that have to
be operating properly for USB sticks to be automounted:

    $ svcs hal dbus rmvolmgr
    STATE          STIME    FMRI
    online         20:54:09 svc:/system/dbus:default
    online         20:54:11 svc:/system/hal:default
    online         20:54:11 svc:/system/filesystem/rmvolmgr:default

All three of them are online on all of my OI systems.

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



More information about the oi-dev mailing list