summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-08-02 09:38:15 +0000
committerRoy Marples <uberlord@gentoo.org>2007-08-02 09:38:15 +0000
commit60750e6d6633902a77a448bcf25f15e909cb1da4 (patch)
treed7b326f8f4fbd610a6ef9175e2c1633aa7df6204 /sys-fs/jfsutils/files
parentAdd a patch to allow fsck -f -n to work, #116016 (diff)
downloadgentoo-2-60750e6d6633902a77a448bcf25f15e909cb1da4.tar.gz
gentoo-2-60750e6d6633902a77a448bcf25f15e909cb1da4.tar.bz2
gentoo-2-60750e6d6633902a77a448bcf25f15e909cb1da4.zip
Add a patch to allow fsck -f -n to work, #116016
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'sys-fs/jfsutils/files')
-rw-r--r--sys-fs/jfsutils/files/digest-jfsutils-1.1.11-r13
-rw-r--r--sys-fs/jfsutils/files/jfsutils-1.1.11-fsck-n.patch17
2 files changed, 20 insertions, 0 deletions
diff --git a/sys-fs/jfsutils/files/digest-jfsutils-1.1.11-r1 b/sys-fs/jfsutils/files/digest-jfsutils-1.1.11-r1
new file mode 100644
index 000000000000..abb24c27d9b6
--- /dev/null
+++ b/sys-fs/jfsutils/files/digest-jfsutils-1.1.11-r1
@@ -0,0 +1,3 @@
+MD5 a741298f1d79f0ceb52f0187614e889e jfsutils-1.1.11.tar.gz 512082
+RMD160 e37edb1898e06ae5e0651685fcf689f9c6d73582 jfsutils-1.1.11.tar.gz 512082
+SHA256 a02658ae5a19808dc8d343a2a9e1ac87d4537269d3d9abeab58614d734ed36f6 jfsutils-1.1.11.tar.gz 512082
diff --git a/sys-fs/jfsutils/files/jfsutils-1.1.11-fsck-n.patch b/sys-fs/jfsutils/files/jfsutils-1.1.11-fsck-n.patch
new file mode 100644
index 000000000000..d56a66d84886
--- /dev/null
+++ b/sys-fs/jfsutils/files/jfsutils-1.1.11-fsck-n.patch
@@ -0,0 +1,17 @@
+diff -ur a/fsck/xchkdsk.c b/fsck/xchkdsk.c
+--- a/fsck/xchkdsk.c 2006-06-05 20:31:40.000000000 +0100
++++ b/fsck/xchkdsk.c 2007-05-02 15:31:24.000000000 +0100
+@@ -3028,8 +3028,13 @@
+ }
+ break;
+ default:
++ /* This is disabled as it's silly, we should be able to force
++ * a read only check of the disk.
+ fsck_send_msg(fsck_PRMMUTEXCLLEVELS);
+ return (FSCK_FAILED);
++ */
++ agg_recptr->parm_options[UFS_CHKDSK_LEVEL2] = 0;
++ break;
+ }
+ /*
+ * the parms are valid. record the messaging level they imply.