On Sun, Apr 19, 2015 at 6:18 PM, walt <w41...@gmail.com> wrote:
> On 04/18/2015 05:33 PM, Fernando Rodriguez wrote:
>> On Saturday, April 18, 2015 3:59:15 PM walt wrote:
>>>
>>> execve("/bin/mount", ["mount"], [/* 61 vars */]) = 0
>>>
>>> That number 61 on the 'bad' machine is 48, though, and I don't know where
>>> that odd-looking string of characters is generated or what it means. To me
>>> it looks like a comment in a file of 'c' code.
>>>
>>> Still stumped :(
>>
>> That would be the number of environment variables passed to execve. strace is
>> just trying not to be too noisy.
>>
>>
>> Are there any differences in the options used in fstab between both machines,
>> Especially the auto or noauto options or if one of them is using labels. The
>> mount(8) man page may have more hints.
>
> 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).
>

It reads information from /etc/mtab primarily, as well as
/run/mount/utab. Also, if /etc/mtab is a symlink, it reads from
/proc/self/mountinfo instead of /etc/mtab.

It seems like there is probably some difference in the data it is
reading from those files on your system. Maybe post them so we can all
have a look?

Reply via email to