Link to folder - broken till I use the link
2 Attachment(s)
I created a link to a folder and saved it to the desktop
When I boot up it's shown as a broken link, but after I access the folder by navigating to it with file mangler and access it the link is repaired, how can I make the link good immediately after booting up my machine? Linux Mint 20 - 64bit |
I'm just guessing, your device probably is not mounted until you access it, then some automount mechanism kicks in and mounts it. Running some command on it like ls will probably trigger automount.
|
More likely the disk is mounted automatically regardless of access, it just happens later than desktop is painted. Is it a magnetic disk? It may take some time to spin up and that may explain a delay. Check syslog to see what is actually happening.
|
Quote:
|
Is the link you have on your user Desktop pointing to a location on the same partition and on the same physical device? If not, it is not mounted or available until you access it from either a terminal or file manager. If it is on another partition (other than root or home) or on another device, you would need to put an entry in fstab to have it mounted on boot. If it is on a secondary drive that is not attached permanently, this can create problems, at least slowing down the boot process.
|
Might be entered as a "usermount" device in /etc/fstab.
It is also possible the system is just being really slow at mounting (I've caught systemd that way a time or two with a "nofail" mount taking longer than usual). |
Quote:
Code:
jonke@charlie:~/Desktop$ pwd Code:
jonke@charlie:~$ df -h Home folder is on /dev/sda5 And this is fstab Code:
jonke@charlie:~$ more /etc/fstab |
Since it isn't in the /etc/fstab, it is only mounted on first connection; which would be made during access to the symbolic link.
|
You could add a line to the fstab such as
Code:
UUID=6e725920-1c32-4931-bab9-fc8c12d01128 /media/jonke/6e725920-1c32-4931-bab9-fc8c12d01128 ext4 user=jonke 0 0 |
Quote:
|
Quote:
What I did was this. I had Mint running off this drive originally. A added an SSD and just built a new version of Mint on that drive. I never specified anything to do with the original drive which is the one in question. Why it was hung off the /media folder structure is mystery to me. |
Probably because mint saw it was data and decided to make it available there when needed.It did not mount it in fstab because you did not specify a mount point when you did the install on the other disk.
According to your fstab you do not even have /home on a separate partition. It appears to be part of the / file system. |
Quote:
|
Quote:
If you don't have this drive permanently attached, there would be not point in putting an entry in fstab. |
Quote:
The drive's are all permanently mounted and are installed onto the motherboard bus. |
All times are GMT -5. The time now is 08:01 PM. |