You can do so using a bind-mount. First you need to create a directory which we use as mount point for the bind-mount:
sudo mkdir /mnt/mymountpoint
(We cannot use /mnt
here as suggested in the links in the comments since you have a filesystem mounted on /mnt/bla
)
Next step:
sudo mount --bind / /mnt/mymountpoint
Browse to /mnt/mymountpoint/mnt/bla
to see what's in the folder. What you see here is the content of /mnt/bla
as if nothing were mounted to it.
Move the content of /mnt/mymountpoint/mnt/bla
to the location you want or remove the content completely.
Unmount the bind-mount with
sudo umount /mnt/mymountpoint
and remove the mountpoint with
sudo rmdir /mnt/mymountpoint
That's it.
/mnt/bla
in the bind mount command. – mook765 Apr 25 '20 at 17:56/mnt
needs to be used since a filesystem is mounted to a subdirectory of/mnt
. Asnwer is ready. – mook765 Apr 26 '20 at 09:22