[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using bind mount



On Wed, Jan 13, 2016 at 04:38:12AM -0500, Steve Matzura wrote:
> Now to look up the syntax for putting it into fstab to make it
> permanent. THANK YOU AGAIN EVER SO MUCH!

The syntax is 
                     /olddir /newdir none bind

You must put this after the /olddir (/mnt/nas) and /newdir (/home/steve)
mount entries, if there are any (if /home is separate from /), to ensure
that those mount points are resolved first. Or write systemd .mount unit
files and set up the dependencies between them explicitly (instead of
fstab entries)


Reply to: