summaryrefslogtreecommitdiff
path: root/sysutils/e2fsprogs/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-08-05 03:10:58 +0000
committerhubertf <hubertf>2000-08-05 03:10:58 +0000
commit788a01ce784cc4d85b19279c9fc9e3a8f2eef6f7 (patch)
treedcf093415c0efcf100307ab866751fe7e4726fab /sysutils/e2fsprogs/patches
parent808aa83dd359dab7a1c55558268b325a6474442f (diff)
downloadpkgsrc-788a01ce784cc4d85b19279c9fc9e3a8f2eef6f7.tar.gz
The filesystem utilities for the EXT2 filesystem, including e2fsck, mke2fs,
dumpe2fs, fsck, and others. I've tested mke2fs and resize2fs on NetBSD 1.5_ALPHA/i386, and they work fine. (Given that FFS is quite similar to e2fs, i wonder how much work it would be to adopt resize2fs to FFS...)
Diffstat (limited to 'sysutils/e2fsprogs/patches')
-rw-r--r--sysutils/e2fsprogs/patches/patch-aa16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/e2fsprogs/patches/patch-aa b/sysutils/e2fsprogs/patches/patch-aa
new file mode 100644
index 00000000000..41cecafec00
--- /dev/null
+++ b/sysutils/e2fsprogs/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/08/05 03:10:59 hubertf Exp $
+
+--- e2fsck/journal.c.orig Sat Aug 5 04:28:05 2000
++++ e2fsck/journal.c Sat Aug 5 04:29:09 2000
+@@ -59,7 +59,11 @@
+ * Now that it mounted cleanly, the filesystem will have been
+ * recovered, so we can now unmount it.
+ */
++#ifdef __NetBSD__
++ ret = unmount(device, 0);
++#else
+ ret = umount(device);
++#endif
+ if (ret)
+ return errno;
+ /*