XFCE 18.1 Issue using Thunar 1.8.8 : non persistant shortcuts storage of non auto-mounted partitions between reboot

Manjaro XFCE 18.1
Thunar 1.8.8

I have some ntfs data partition which are not auto-mounted.
In thunar, after mounting the partition if I right click on a folder to send it as shortcut, e.g.
run/media/pcname/partionName/myfolder
then as long as I'm connected the shortcut is available in Thunar.
I can even unmount the partition, the shortcut link stays visible in Thunar.

If I shutdown and reboot, the shortcut link has disappeared.

Quid:
How to fix that, viz keep shortcuts?
a Manjaro XFCE issue or a Thunar issue?

Thanks

Why would the system keep symlinks alive to something that does not exist on the system?
For all the system knows, that data will never return.

Well, how is possible to keep it?
At every reboot I must recreate shortcuts if I want them, not very handy.

Have the data available at boot (eg. mount via fstab). :slight_smile:

Can you explain a some more what I have to do.

There's a great writeup on the Arch Wiki about this:
https://wiki.archlinux.org/index.php/Fstab

What @Strit said, plus the noauto option if you don't want it automatically mounted at boot.

@belive, after manually mounting your data partition can you please provide the output of:

$ lsblk -f

Also helpful would be the content of your fstab:

$ cat /etc/fstab

Based on this info, we could recommend how to change the fstab to have your data partition mounted just when booting your system.

 ]$  lsblk -f
NAME FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                   
├─sda1
│    ntfs   System
│                 34FE44C5FE4480DA                                    
├─sda2
│    ntfs   Win10T
│                 01CD82D80B502140                                    
├─sda3
│                                                                     
├─sda4
│    ntfs   HDDRECOVERY
│                 A006918E06916656                                    
├─sda5
│    ntfs   DOCS  ECDCA490DCA4571C                       25,4G    60% /run/media
├─sda6
│    ntfs   MMedia
│                 7A2EAC312EABE47B                       18,4G    93% /run/media
└─sda7
     ntfs   OS_WORK
                  6822685722682BEE                                    
sdb                                                                   
├─sdb1
│    ext4         174e619a-2f10-4ab2-b35a-af5258c8f996   26,2G    35% /
├─sdb2
│    ntfs   before
│                 6229900F02885B99                                    
└─sdb3
     ntfs   P2_NTFS
                  E0A6AA67A6AA3DC2                                    
sr0                                                                   
[angetosh@angetosh-pc ~]$  cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=174e619a-2f10-4ab2-b35a-af5258c8f996 /              ext4    defaults,noatime 0 1

You can also use Gnome Disks to set partition to automount, which is is easier, but you have to install it first. Btw. the Gnome Disks default mountpoint is different from the manual mountpoint Manjaro uses.

To constantly mount your partititons you can enter following commands, first:

$ sudo mkdir /DOCS
$ sudo mkdir /MMedia

$ sudo nano /etc/fstab

Then add the following two lines at the end of fstab:

LABEL=DOCS /DOCS ntfs defaults,noatime 0 0
LABEL=MMedia /MMedia ntfs defaults,noatime 0 0

Then hit Ctrl+O, confirm that you want to overwrite the file, and hit Ctrl+X.

Finally enter:

$ sudo mount -a -o remount

or reboot.

@Wollie. Thanks
But:
1/ how if I want to revert to original, aka no default mount of sda5 & sda6?
2/ Is it impossible for Thunar to keep storage of the shortcut between reboot of unmount partition, after all Thunar saves windows preference, such as Display types (icons and icons size, details), windows size, etc.

--

Mounting is handled by the system, Thunar only shows the information the former provides. Thunar does not store system configuration.