Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17820

Logic in fstab?

$
0
0

Is there a way to add logic to /etc/fstab that would allow you to control what gets mounted how under which conditions? This seems like something that would be commonplace, but I've never heard it brought up before.

I'd like to accomplish things like mounting shares with NFS if I'm on the LAN, but with SSHFS if I'm off, or controlling ro/rw based on some other conditions.

Anyone have experience with this?

submitted by gentos
[link][2 comments]

Viewing all articles
Browse latest Browse all 17820

Trending Articles