Le 24-11-2021, à 20:29:19 +1100, Keith Bainbridge a écrit :

Steve

I use a line in /etc/fstab like this for just this purpose:

UUID=      /mount/point/you/want       ext4    defaults,noexec,noauto  0
2

Well, the partition still mounts to /media/steve/Samsung_T5 when plugged in.
I put this in /etc/fstab:

UUID="ACDE12A6DE1268BA" /media/win_ext vfat     defaults,noexec,noauto 0 2

The logs say:

Nov 25 09:20:30 box ntfs-3g[1133900]: Version 2017.3.23AR.3 integrated FUSE 28
Nov 25 09:20:30 box ntfs-3g[1133900]: Mounted /dev/sda1 (Read-Write, label 
"Samsung_T5", NTFS 3.1)
Nov 25 09:20:30 box udisksd[1098]: Mounted /dev/sda1 at /media/steve/Samsung_T5 
on behalf of uid 1000
Nov 25 09:20:30 box ntfs-3g[1133900]: Cmdline options: 
rw,nodev,nosuid,uid=1000,gid=1000,windows_names,uhelper=udisks2
Nov 25 09:20:30 box ntfs-3g[1133900]: Mount options: 
nodev,nosuid,uhelper=udisks2,allow_other,nonempty,relatime,rw,default_permissions,fsname=/dev/sda1,blkdev,blksize=4096
Nov 25 09:20:30 box ntfs-3g[1133900]: Global ownership and permissions 
enforced, configuration type 7

It seems like /etc/fstab in not read when plugging in the device.

What's wrong?

Thanks

S

Reply via email to