mount error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a user that complains that mount is giving an incorrect error message under some circumstances. For instance if mtab is symlinked to /proc/self/mounts the command and /run is not in fstab:

$ mount /run

returns an error message:

  mount: /run: No such file or directory

However if mtab is a regular file, the error message is:

  mount: can't find /run in /etc/fstab

It would be appropriate if both situations could return the 2nd message.

  -- Bruce Dubbs
     linuxfromscratch.org
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux