Help please sorting out recursive mounted partition.

I have a problem with my mounts which seem to give me an unwanted symlink.

My system partitions are as follows:-

alastair@install:~> sudo fdisk -l
[sudo] password for root: 
Disk /dev/sda: 5.5 TiB, 5993995960320 bytes, 11707023360 sectors
Disk model: ServeRAID M5014 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F2939456-093E-4312-9091-673EDA79A76E

Device          Start         End     Sectors  Size Type
/dev/sda1        2048      321535      319488  156M EFI System
/dev/sda2      321536     4530175     4208640    2G Microsoft basic data
/dev/sda3     4530176    88422399    83892224   40G Linux filesystem
/dev/sda4    88422400  1162158079  1073735680  512G Microsoft basic data
/dev/sda5  1162158080 11684829469 10522671390  4.9T Microsoft basic data


The partitions have /dev/sda2 at swap, /dev/sda3 at /, /dev/sda4 at /home and /sda5 I had mounted as /multimedia

the mount points I have shown in fstab are:-

alastair@install:~> cat /etc/fstab
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /                       btrfs  defaults                      0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /var                    btrfs  subvol=/@/var                 0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /usr/local              btrfs  subvol=/@/usr/local           0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /tmp                    btrfs  subvol=/@/tmp                 0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /srv                    btrfs  subvol=/@/srv                 0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /root                   btrfs  subvol=/@/root                0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /opt                    btrfs  subvol=/@/opt                 0  0
UUID=4272b75a-ea72-4068-8826-e2dfc5611fd5  /multimedia             xfs    defaults                      0  0
UUID=4ceac2e7-6bdc-40d2-9dff-da7a2099bf45  /home                   xfs    defaults                      0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /boot/grub2/x86_64-efi  btrfs  subvol=/@/boot/grub2/x86_64-efi  0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /boot/grub2/i386-pc     btrfs  subvol=/@/boot/grub2/i386-pc  0  0
UUID=B738-D576                             /boot/efi               vfat   defaults                      0  0
UUID=46f191b6-7472-49c0-bd98-75824020d947  swap                    swap   defaults                      0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /.snapshots             btrfs  subvol=/@/.snapshots          0  0


I created the mount for /dev/sda5 when doing the Tumbleweed installation using yast partitioner so this appears on fstab as seen above and is mounted when I boot.

If I use Dolphin and go to the root/multimedia folder I can see the folder “multimedia”.
If I click on that folder it opens with the expected folders “Music,” “Photos,” and “Videos” but also another folder “multimedia” in italics which suggests to me a symlinked folder.
My question is how did the symlink get there as I have not yet created it? It must be somehow in the mounted partition but how may I get rid of it and then put in a symlink so my mounted folder is in my home tree?

As to how the symlink got there – I can only guess that you put it there.

It is probably harmless. And removing it is probably also harmless.

To add a symlink to your home directory:


cd    ### to make sure you are in your home directory
ln -s /multimedia .

Problem solved, after a fashion! From the command line I started at root directory and went into recursively into multimedia folders and ended up with four deep multimedia folders of which one was an unremoved symlink. I think I have it now but have no idea how I made this mistake. Good job symlinks were excluded from my rsync backup otherwise I would have been backing up till the cows came in!