/[gentoo-x86]/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.20-fsck-n.patch
Gentoo

Contents of /sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.20-fsck-n.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Aug 2 09:20:20 2007 UTC (11 years, 2 months ago) by uberlord
Branch: MAIN
CVS Tags: HEAD
Add a patch to allow fsck -f -n to work, #116016
(Portage version: 2.1.3_rc9)

1 diff -ur a/utils/fsck/main.c b/utils/fsck/main.c
2 --- a/utils/fsck/main.c 2006-03-28 13:40:23.000000000 +0100
3 +++ b/utils/fsck/main.c 2007-08-02 10:13:53.000000000 +0100
4 @@ -421,7 +421,7 @@
5 (data->log == stdout) ? "stdout" :
6 (data->log_file_name ? data->log_file_name : "fsck.run"));
7
8 - if (!(data->options & OPT_YES)) {
9 + if (!(data->options & OPT_YES) && !(data->options & OPT_SILENT)) {
10 if (!util_user_confirmed(warn_to, "\nDo you want to run this "
11 "program?[N/Yes] (note need to type "
12 "Yes if you do):", "Yes\n"))

  ViewVC Help
Powered by ViewVC 1.1.20