]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: suggest "-d" option for repair of RO mount
authorEric Sandeen <sandeen@sandeen.net>
Mon, 18 Nov 2013 16:02:05 +0000 (16:02 +0000)
committerRich Johnston <rjohnston@sgi.com>
Tue, 3 Dec 2013 14:36:54 +0000 (08:36 -0600)
commit03091fc253963891c728cf362c0f9700294b6dfd
treeb50a4b83f3590f7d12735aa13f52de95bc9f0031
parent05aa7620c6ead42389142c34bd15b867bc88f992
xfsprogs: suggest "-d" option for repair of RO mount

We can offer the suggestion of a "-d" repair, if we're
in single-user mode with i.e. the root fs mounted readonly.

This change suggests -d to repair any RO mounted fs.

e2fsck allows this, and users are used to being able to
do it in single-user mode.  A separate patch will recommend
a reboot after repair completes.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
repair/init.c