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?
How can I mount /usr on another partition but use a folder called /usr on that partition instead of using / as /usr?
linux;ubuntu;filesystems;partition;disk usage
There is no generic way to directly mount a subtree of a filesystem. But you can mount the whole filesystem somewhere, and then copy a subtree of the mount with a bind mount.mount /dev/foobar /media/foobarmount --bind /media/foobar/usr /usrIn fstab syntax:/dev/foobar /media/foobar auto defaults 0 2/media/foobar/usr /usr bind bind