LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Conditionally mounting nfs shares (https://www.linuxquestions.org/questions/linux-networking-3/conditionally-mounting-nfs-shares-250454/)

eagle862 11-02-2004 10:24 PM

Conditionally mounting nfs shares
 
Hello, and thanks in advance.

I want to know if it is possible to conditionally mount an nfs share at boot time depending on wether
there is an active eth0 connection. I am connecting a laptop to our home network and want to set
fstab to auto, but if I am not connected to our network then it takes for ever to boot.

John

fblucher 11-02-2004 11:46 PM

Have a look at autofs/subfs/automount (any one of those) then the share will only be mounted when you move into it.

Seeya,
Finn.


All times are GMT -5. The time now is 04:05 PM.