COnditional mount in LInux
Posted
by o_O Tync
on Server Fault
See other posts from Server Fault
or by o_O Tync
Published on 2010-06-05T18:39:26Z
Indexed on
2010/06/05
18:42 UTC
Read the original article
Hit count: 287
I have a mount point — let it be /media/question
— and two possible devices: a physical HDD and a remote NFS folder. Sometimes I plug the device in physically, in other cases I mount it via NFS.
Is there a way to specify both of them in fstab
so that executing mount /media/question
will preferably choose physical volume, and when it's not available — NFS?
© Server Fault or respective owner