Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

How to make mount --bind permanent?

$
0
0

When I am doing:

mount --bind dirone dirtwo

After OS reboot the binding is lost.

I am checking binded dirs in /proc/mounts

How can I make these binds permanent without clogging up /etc/fstab ?

Here's one entry from /proc/mounts

/dev/disk/by-uuid/4f5082d7-aba2-4bc7-8d64-3bbb3d773aab /home/username/dir ext4 rw,relatime,data=ordered 0 0

Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>