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?
[link][2 comments]