Automatically mounting USB sticks

Dr Rainer Woitok <[email protected]>
Newsgroups gmane.linux.gentoo.user
Message-ID <[email protected]>
Greetings,

since my migration to Gentoo years ago I had configured my system to au-
tomatically mount an inserted USB stick at "/run/media/rainer/", display
a message in the upper right corner of my desktop  which looked at least
similar to the messages  displayed via command  "libnotify-notify-send",
and then I could change into that directory and work on the files on the
USB stick.

In my old notes of setting-up Gentoo  I didn't find anything about how I
achieved that, but perhaps the description above is ringing a bell some-
where.   Mind that my description  does NOT fit package  "net-fs/autofs"
which automounts some device  as soon as one accesses the mountpoint and
which is not installed.

Yesterday I did a routine Gentoo upgrade  and built new kernel "sys-ker-
nel/gentoo-sources-6.18.18".   After this  the procedure  of inserting a
USB stick and waiting until it had been mounted at  "/run/media/rainer/"
still worked as normal and allowed me  to save the upgrade change log on
the USB stick before I shutdown my laptop.

Today I booted the new kernel, inserted a USB stick but it was no longer
mounted automatically.   So I rebooted into the old kernel which now be-
haved exactly the same: no mounting whatsoever :-(

Thus the odds are  that some of the packages  upgraded yesterday now re-
quire different USE flags for providing what I was used to.   But which?
Here is the list of the packages processed yesterday:

   >>> kde-frameworks/ksecretd-services-6.23.0
   >>> dev-lang/rust-common-1.92.0
   >>> sys-devel/m4-1.4.21
   >>> sys-firmware/intel-microcode-20260227_p20260227
   >>> dev-libs/openssl-3.5.5-r2
   >>> net-libs/gnutls-3.8.12
   >>> sys-apps/less-692
   >>> app-editors/nano-8.7.1
   >>> sys-apps/ed-1.22.5
   >>> net-misc/rsync-3.4.1-r2
   >>> dev-tcltk/blt-2.5.3-r4
   >>> dev-tcltk/tix-8.4.3-r5
   >>> sys-libs/pam-1.7.2
   >>> sys-apps/util-linux-2.41.3-r1
   >>> sys-process/procps-4.0.5-r4
   >>> kde-frameworks/extra-cmake-modules-6.23.0
   >>> sys-fs/cryptsetup-2.8.4
   >>> sys-apps/openrc-0.63-r1
   >>> sys-fs/fuse-common-3.10.4-r3
   >>> dev-libs/elfutils-0.194-r1
   >>> sys-devel/binutils-2.46.0
   >>> media-gfx/exiv2-0.28.8
   >>> sys-kernel/gentoo-sources-6.18.18
   >>> sys-apps/man-pages-6.16-r2
   >>> kde-frameworks/breeze-icons-6.23.0
   >>> dev-lang/rust-1.92.0_p1-r1
   >>> app-antivirus/clamav-1.5.2
   >>> kde-frameworks/kwidgetsaddons-6.23.0
   >>> kde-frameworks/karchive-6.23.0
   >>> kde-frameworks/kdbusaddons-6.23.0
   >>> kde-frameworks/kitemviews-6.23.0
   >>> kde-frameworks/kcodecs-6.23.0
   >>> kde-frameworks/kglobalaccel-6.23.0
   >>> kde-frameworks/threadweaver-6.23.0
   >>> kde-frameworks/kdoctools-6.23.0
   >>> kde-frameworks/kimageformats-6.23.0
   >>> kde-frameworks/kconfig-6.23.0
   >>> kde-frameworks/kcoreaddons-6.23.0
   >>> kde-frameworks/ki18n-6.23.0
   >>> kde-frameworks/kguiaddons-6.23.1
   >>> kde-frameworks/kwindowsystem-6.23.0
   >>> kde-frameworks/sonnet-6.23.0
   >>> kde-frameworks/solid-6.23.0
   >>> kde-frameworks/kservice-6.23.1
   >>> kde-frameworks/kcolorscheme-6.23.0
   >>> kde-frameworks/kcompletion-6.23.0
   >>> kde-frameworks/kcrash-6.23.0
   >>> kde-frameworks/kpty-6.23.0
   >>> kde-frameworks/kiconthemes-6.23.0
   >>> kde-frameworks/kconfigwidgets-6.23.0
   >>> kde-frameworks/ktextwidgets-6.23.0
   >>> kde-frameworks/kded-6.23.0
   >>> kde-frameworks/kxmlgui-6.23.0
   >>> kde-frameworks/kbookmarks-6.23.0
   >>> kde-frameworks/knotifications-6.23.0
   >>> kde-frameworks/kjobwidgets-6.23.0
   >>> media-video/wireplumber-0.5.13_p20260216
   >>> media-video/ffmpeg-8.0.1
   >>> www-client/firefox-bin-148.0.2
   >>> media-libs/opencv-4.12.0-r1
   >>> media-video/vlc-3.0.23
   >>> kde-frameworks/kwallet-6.23.0
   >>> kde-frameworks/kwallet-runtime-6.23.0
   >>> kde-frameworks/kio-6.23.0
   >>> kde-frameworks/kparts-6.23.0
   >>> kde-frameworks/kcmutils-6.23.0
   <<< dev-lang/rust-1.89.0
   <<< sys-devel/binutils-2.45.1
   <<< sys-kernel/gentoo-sources-6.12.41
   <<< sys-kernel/gentoo-sources-6.12.58

Anybody having some idea?  Any pointers welcome :-)

Sincerely,
  Rainer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.