diff options
author | Brian Behlendorf <[email protected]> | 2013-01-09 12:51:29 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-01-09 16:54:58 -0800 |
commit | a1e147eef8f61f3fcac742952d56b1f9d6c2703b (patch) | |
tree | a9b1c244a63d8bd77f39b44dee1c1c4450f52590 /cmd/fsck_zfs | |
parent | 87bdc45ccbf6f1d57a278c2026e60fc5f3af7598 (diff) |
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 <[email protected]>
Closes #964
Diffstat (limited to 'cmd/fsck_zfs')
-rw-r--r-- | cmd/fsck_zfs/Makefile.am | 1 | ||||
-rwxr-xr-x | cmd/fsck_zfs/fsck.zfs | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/cmd/fsck_zfs/Makefile.am b/cmd/fsck_zfs/Makefile.am new file mode 100644 index 000000000..2380f56fa --- /dev/null +++ b/cmd/fsck_zfs/Makefile.am @@ -0,0 +1 @@ +dist_sbin_SCRIPTS = fsck.zfs diff --git a/cmd/fsck_zfs/fsck.zfs b/cmd/fsck_zfs/fsck.zfs new file mode 100755 index 000000000..f1685db65 --- /dev/null +++ b/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 |