Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add /sbin/fsck.zfs helper

A fsck helper to accomidate distributions that expect to be able
to execute a fsck on all filesystem types.  Currently this script
does nothing but it could be extended to act as a compatibility
wrapper for 'zpool scrub'.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #964
  • Loading branch information...
commit a1e147eef8f61f3fcac742952d56b1f9d6c2703b 1 parent 87bdc45
@behlendorf authored
View
4 cmd/Makefile.am
@@ -1,2 +1,2 @@
-SUBDIRS = zfs zpool zdb zhack zinject zstreamdump ztest zpios mount_zfs
-SUBDIRS += zpool_layout zvol_id zpool_id vdev_id
+SUBDIRS = zfs zpool zdb zhack zinject zstreamdump ztest zpios
+SUBDIRS += mount_zfs fsck_zfs zpool_layout zvol_id zpool_id vdev_id
View
1  cmd/fsck_zfs/Makefile.am
@@ -0,0 +1 @@
+dist_sbin_SCRIPTS = fsck.zfs
View
9 cmd/fsck_zfs/fsck.zfs
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# fsck.zfs: A fsck helper to accomidate distributions that expect
+# to be able to execute a fsck on all filesystem types. Currently
+# this script does nothing but it could be extended to act as a
+# compatibility wrapper for 'zpool scrub'.
+#
+
+exit 0
View
1  configure.ac
@@ -97,6 +97,7 @@ AC_CONFIG_FILES([
cmd/ztest/Makefile
cmd/zpios/Makefile
cmd/mount_zfs/Makefile
+ cmd/fsck_zfs/Makefile
cmd/zpool_layout/Makefile
cmd/zvol_id/Makefile
cmd/zpool_id/Makefile
Please sign in to comment.
Something went wrong with that request. Please try again.