Somewhat along the lines of this question, How to mount multiple directories on the same partition? but my situation is different.
I have a 2 small partitions that I'm using for two variants of linux and one large partition that I'm using as the home for both. I'd like to move the /usr folder from one of the variants to that same partition.
Any suggestions of how to accomplish this?
ln -s /home/usr14 /usr
on the 14.04 system,ln -s /home/usr16 /usr
on the 16.04 system. – Gilles 'SO- stop being evil' Aug 25 '16 at 07:22/home
,/var
... , but not for/usr
. During boot I see the mount of the root. Then the failure of the bind mount:Failed: 'mount -t bind -o bind /newroot/media/foobar/usr /newroot/usr
So it tries to do the bind mount before the partition mount. But the partition mount is clearly there in/etc/fstab
before the bind. What am I missing here ? – aminator Apr 19 '23 at 09:29