On Sunday, April 19, 2015 3:18:38 PM walt wrote:
> 
> As a quick-and-dirty way of testing your idea I moved /etc/fstab out of the 
way.
> 
> I was surprised to learn that "mount" doesn't care about fstab, and doesn't 
even
> bother to look for it (when invoked with no arguments).
> 

You'll have to play with the options to test my idea. It doesn't need to 
access it when called without arguments but it does (either directly or 
indirectly) when mounting volumes, either by mount -a at boot or whatever was 
used to mount them. Since mount(8) is an interface to mount(2) and friends, 
all the mount options are already cached by the kernel and it'll have access 
to them. You can also tell if the mount options on fstab are overriden by 
something else by comparing the output of mount (with no args) with your fstab 
file.

-- 
Fernando Rodriguez

Reply via email to