03-01-2024, 11:17 AM
(03-01-2024, 11:11 AM)Nutul Wrote:(03-01-2024, 10:26 AM)romain Wrote: Hello,
since I've cloned my USB attached SSD to another SSD with the same label "USB", udisks-glue now mounts my SSD on "USB_" instead of "USB", does someone know how I can fix this please ? Is there some sort of cache that I could reset ?
Manually mounting USB drive detected as /dev/sda1 on /media/USB or setting it in /etc/fstab works however.
Thanks
Unmount and remove the drive, then check for ghost folder at the mount-point level, and eventually remove them.
Hello, there's no other folder under /media/ when I umount /media/USB
I assume udisks-glue maintains some sort of cache but I don't know how and where I can reset it
Code:
root@bureau:~# udisksctl info -b /dev/sda1
/org/freedesktop/UDisks2/block_devices/sda1:
org.freedesktop.UDisks2.Block:
Configuration: [('fstab', {'fsname': <b'PARTUUID=537173cc-01'>, 'dir': <b'/media/USB'>, 'type': <b'ext4'>, 'opts': <b'rw,nosuid,nodev,noexec,noatime,nodiratime,stripe=8191,uhelper=udisks'>, 'freq': <0>, 'passno': <1>})]
CryptoBackingDevice: '/'
Device: /dev/sda1
DeviceNumber: 2049
Drive: '/org/freedesktop/UDisks2/drives/Realtek_RTL9210B_CG_012345681295'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-id-usb-Realtek_RTL9210B-CG_012345681295-0:0-part1
IdLabel: USB
IdType: ext4
IdUUID: c45ccf51-3de1-41e6-b145-5e17e302538f
IdUsage: filesystem
IdVersion: 1.0
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sda1
ReadOnly: false
Size: 1000203091968
Symlinks: /dev/disk/by-id/usb-Realtek_RTL9210B-CG_012345681295-0:0-part1
/dev/disk/by-label/USB
/dev/disk/by-partuuid/537173cc-01
/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2:1.0-scsi-0:0:0:0-part1
/dev/disk/by-uuid/c45ccf51-3de1-41e6-b145-5e17e302538f
UserspaceMountOptions: uhelper=udisks
org.freedesktop.UDisks2.Filesystem:
MountPoints: /media/USB
Size: 1000203091968
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name:
Number: 1
Offset: 1048576
Size: 1000203091968
Table: '/org/freedesktop/UDisks2/block_devices/sda'
Type: 0x83
UUID: 537173cc-01