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
This commit is contained in:
parent
87bdc45ccb
commit
a1e147eef8
@ -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
|
||||
|
1
cmd/fsck_zfs/Makefile.am
Normal file
1
cmd/fsck_zfs/Makefile.am
Normal file
@ -0,0 +1 @@
|
||||
dist_sbin_SCRIPTS = fsck.zfs
|
9
cmd/fsck_zfs/fsck.zfs
Executable file
9
cmd/fsck_zfs/fsck.zfs
Executable file
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user