# Problem......USB drives remounted by the ReadyLinux media-link service

**URL:** <https://community.braxtech.net/t/problem-usb-drives-remounted-by-the-readylinux-media-link-service/5264>\
**Category:** General topics\
**Tags:** bug\
**Created:** [October 29, 2026, 8:44am UTC](https://community.braxtech.net/t/problem-usb-drives-remounted-by-the-readylinux-media-link-service/5264 "2026-10-29T08:44:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlb](https://community.braxtech.net/letter_avatar_proxy/v4/letter/j/a9adbd/32.png) [@jlb](https://community.braxtech.net/u/jlb)\
**Post date:** [October 29, 2026, 8:44am UTC](https://community.braxtech.net/t/problem-usb-drives-remounted-by-the-readylinux-media-link-service/5264/1 "2026-10-29T08:44:16Z")

</div>

I wanted to share a problem I encountered with the ReadyLinux media-link script, along with the cause and the steps that resolved it. I’m sharing this as helpful feedback, not as criticism.

What happened

On MX Linux, my external WDC HDD—an ext4 drive labeled #22.Work—would mount again shortly after I successfully unmounted it with udisksctl. Ejecting the drive also failed at times with an fsync: Device or resource busy error.

The computer itself remained responsive. The drive was a WDC WD20JDRW-11C7VS0 connected over USB at 5 Gbps using the usb-storage driver. The system drive was on NVMe.

What I checked

I confirmed that:

sync completed normally.  
fuser showed no user process holding the mount open.  
XFCE’s automount and auto-open settings were disabled.  
There was no matching entry in /etc/fstab.  
The kernel logs showed no USB resets or I/O errors during the current boot.  
udisks2 was active.  
The HDD had a .Trash-1000 directory, and gvfsd-trash logged metadata warnings, but those warnings did not identify the remounting process.  
A D-Bus monitor confirmed that a client was explicitly requesting a UDisks Mount; the drive was not simply remounting without a request.

What identified the cause

The requester was traced to /usr/bin/udisksctl mount -b /dev/sda1, running under the user service human-linux-usb-watch.service. The service description was “Refresh ReadyLinux Media links.” Its script was located at:

text

/home/jlb/.local/bin/human-linux-usb-watch

In the script’s refresh() function, it scans for eligible unmounted filesystems and runs:

bash

udisksctl mount -b “$dev”

The script runs refresh() at startup, every five seconds, and in response to UDisks events. As a result, when I unmounted the HDD, the service detected that it was unmounted and mounted it again. This also explains why a power-off attempt could find the partition mounted again.

What resolved it

I stopped and disabled the user service:

bash

systemctl --user disable --now human-linux-usb-watch.service

With the service stopped, I successfully unmounted the HDD and powered it off with udisksctl. The drive disappeared from lsblk and was then physically disconnected. I also removed the script, its systemd user-service file, and the stale ~/Media/Disks/#22.Work symbolic link.

The script was useful for refreshing media shortcuts, but its current mount behavior also automatically mounts eligible unmounted drives. It might be helpful to make that behavior optional, or to have the script update shortcuts only for drives that are already mounted.

Thanks for providing the script. I hope this report helps improve it.
