Re: mount error message

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

 



Hallo, Bruce,

Du meintest am 07.09.14:

> 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.

There's no need to put the device into a special line in "/etc/fstab".

        mount /dev/sdxn /run

should always work, with the appropriate values for x and n.

Viele Gruesse!
Helmut

--
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