trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: April 2015

Re: [trinity-users] shell script help needed

From: Nick Koretsky <nick_koretsky@...>
Date: Tue, 7 Apr 2015 22:59:52 +0300
On Tue, 7 Apr 2015 14:26:57 -0500
multi <multi@...> wrote:

> Actually, the first thing I did was put the line in fstab. Curiously, it
> would not mount the shared folder at boot time, but after it was booted,
> I could mount it with 'mount -a'. I thought maybe fstab was being read
> before the ethernet connection was established.
> 
> But, I didn't pursue this because the remote folder is not always
> available at bot time. Depends on which computer is booted first. So I
> still needed to mount it later, which I do have now.

fstab doesnt necessary means boot time :)

You cant put something like this in it

192.168.1.254:/nas     /mnt/nas        nfs4
rw,hard,rsize=32768,wsize=32768,relatime,user,noauto 0 0

it wont try to connect at boot time and you will be able to mount it as
user with a simple "mount /mnt/nas" without the need of sudo and passwords.

> 
> The autofs looks like it might be helpful. Thank you for mentioning it.
> 


-- 
  Nick Koretsky (nick.koretsky@...)