]> git.decadent.org.uk Git - nfs-utils.git/commit
The text-based mount command displays the rather inexplicable "mount:
authorChuck Lever <chuck.lever@oracle.com>
Tue, 15 Jul 2008 15:59:03 +0000 (11:59 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 15 Jul 2008 15:59:03 +0000 (11:59 -0400)
commit52fe32278aee9f359d4ef6d1fab7be405ca0b193
treefc97ba340489a8690f2d850663496b489dbe001d
parent191d129672dacdc3ae3ac165cd1f2a877529d0ad
The text-based mount command displays the rather inexplicable "mount:
internal error" whenever it encounters a problem that is entirely
unexpected by its designers.

Let's beef that error message up to include instructions about reporting
the problem, and fix the error code returned by the mount option rewriting
logic so that also will no longer report "internal error".  An error in there
should generally only occur if there was an invalid mount option specified.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/error.c
utils/mount/stropts.c