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

Re: Using bind mount



Jonathan,

On Wed, 13 Jan 2016 16:07:47 +0000, you wrote:

>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)

Thank you. I didn't know the first part, but the second is mostly
obvious in that you can't use something whose existence you have not
yet declared or defined.


Reply to: