ports/sysutils/fsck_ext2fs/files/patch-aa
Alexander Langer 3eb2c4063c Add a port of OpenBSD's fsck_ext2fs. This is pseudo-version 2.8, which
means, it is obtained from OpenBSD 2.8.

Submitted by:	 Roman Shterenzon <roman@xpert.com>
2000-12-06 22:48:44 +00:00

19 lines
461 B
Text

--- fsck_ext2fs/main.c.orig Thu Apr 27 02:26:06 2000
+++ fsck_ext2fs/main.c Sat Jul 15 11:05:32 2000
@@ -56,6 +56,7 @@
#include <sys/param.h>
#include <sys/time.h>
#include <sys/mount.h>
+#include <ufs/ufs/ufsmount.h>
#include <ufs/ext2fs/ext2fs_dinode.h>
#include <ufs/ext2fs/ext2fs.h>
#include <fstab.h>
@@ -69,6 +70,8 @@
#include "fsck.h"
#include "extern.h"
#include "fsutil.h"
+
+#define MOUNT_EXT2FS "/sbin/mount_ext2fs"
int returntosingle;