You are not logged in.
I need to make Dolphin to mount a specific disk in a home directory.
Dolphin uses udisks to mount disks, in https://github.com/storaged-project/udi … sions/1119 said that udisks should respect mountpoint and options from /etc/fstab, however it seems that it doesn't.
I created a fstab line:
PARTUUID=*partuiid* /home/*user/directory* exfat relatime,umask=007,errors=remount-ro,noauto,user=1000,gid=1000,uid=1000 0 2
And I ran systemctl daemon-reload and systemctl restart udisks2 to restart udisks. Manual mount works fine, but udisks still mounts disk in a /run/media directory.
Last edited by Velent (2024-05-21 17:47:05)
Offline
Is "PARTUUID" actually supported for some exfat partition?
lsblk -o NAME,FSTYPE,LABEL,UUID,PARTUUID
and post the actual /etc/fstab (you can hide your username, the UUIDs are traceable, ie. if you post them in various places they connect those posts, but they don't reveal anything and exist for collision prevention)
Offline
Is "PARTUUID" actually supported for some exfat partition?
lsblk -o NAME,FSTYPE,LABEL,UUID,PARTUUID
and post the actual /etc/fstab (you can hide your username, the UUIDs are traceable, ie. if you post them in various places they connect those posts, but they don't reveal anything and exist for collision prevention)
Seems like it is supported.
Yeah, I know..
fstab
PARTUUID=24a5494c-8f18-594a-85fd-dc0878d37d28 /home/user/disk exfat relatime,umask=007,errors=remount-ro,noauto,user=1000,gid=1000,uid=1000 0 2
lsblk, the disk of interest
NAME FSTYPE LABEL UUID PARTUUID
sdc
└─sdc1 exfat E5F6-6052 24a5494c-8f18-594a-85fd-dc0878d37d28
Offline
Try to use the UUID (though the PARTUUID looks legit and not an MBR dummy)
Offline
I tried. No matter if its uuid / partuuid / /dev/sdc1 - same result
Offline
UUID=E5F6-6052 /home/user/disk gnarf relatime,umask=007,errors=remount-ro,noauto,user=1000,gid=1000,uid=1000 0 2
sudo systemctl restart udisks2
udisksctl mount -b /dev/sdc1
This should™ get you an error message because "gnarf" is not a filesystem and thus show whether fstab is parsed for this.
Offline
fstab is not actually parsed by udisks for some reason..
udisksctl mount -b /dev/sdc1
Mounted /dev/sdc1 at /run/media/root/E5F6-6052
mount /dev/sdc1
mount: /home/user/disk: unknown filesystem type 'gnarf'.
dmesg(1) may have more information after failed mount system call.
Offline
It works here - both as desired and I get an error for the "gnarf" test.
Do you have an entry for the device in /etc/udisks2/mount_options.conf ?
Please post your entire fstab (you can pseudonymize whatever you want, ie. replace strings w/ consistent other strings so aaa becomes bbb everywhere, but keep evyrthing, incl. comments)
Try the behavior w/ a regular VFAT drive (no idea whether that could make any difference whatsoever, but hey…) and ultimately try to reboot to get rid of stale caches (which is even less likely than the exfat relevance… "but hey")
Offline
Reboot helped, haha. Thank you
Offline