Skip to contentSkip to conversation

xfsprogs: remove xfs_check

PATCH New Eric Sandeen 1 participant 1 message May 9, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfsprogs: remove xfs_check

This removes xfs_check and all references to it in manpages. The DIAGNOSTICS section from xfs_check(8) has been moved to xfs_db(8).

---

If you realllly don't want this in 3.2.0, so be it, but here's the patch for whenever. ;)

db/Makefile +1 -2
index 9485b82..bae6154 100644
@@ -14,7 +14,7 @@ HFILES = addr.h agf.h agfl.h agi.h attr.h attrshort.h bit.h block.h bmap.h \
 	io.h malloc.h metadump.h output.h print.h quit.h sb.h sig.h strvec.h \
 	text.h type.h write.h attrset.h symlink.h
 CFILES = $(HFILES:.h=.c)
-LSRCFILES = xfs_admin.sh xfs_check.sh xfs_ncheck.sh xfs_metadump.sh
+LSRCFILES = xfs_admin.sh xfs_ncheck.sh xfs_metadump.sh
 
 LLDLIBS	= $(LIBXFS) $(LIBXLOG) $(LIBUUID) $(LIBRT) $(LIBPTHREAD)
 LTDEPENDENCIES = $(LIBXFS) $(LIBXLOG)
@@ -38,7 +38,6 @@ install: default
 	$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
 	$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
 	$(INSTALL) -m 755 xfs_admin.sh $(PKG_SBIN_DIR)/xfs_admin
-	$(INSTALL) -m 755 xfs_check.sh $(PKG_SBIN_DIR)/xfs_check
 	$(INSTALL) -m 755 xfs_ncheck.sh $(PKG_SBIN_DIR)/xfs_ncheck
 	$(INSTALL) -m 755 xfs_metadump.sh $(PKG_SBIN_DIR)/xfs_metadump
 install-dev:
db/xfs_check.sh deleted +0 -42

42 lines not on this page · raw message

man/man8/xfs_check.8 deleted +0 -203

203 lines not on this page · raw message

man/man8/xfs_db.8 +55 -13

105 lines not on this page · raw message

man/man8/xfs_mdrestore.8 +0 -1
index 51297c4..0957d81 100644
@@ -48,7 +48,6 @@ returns an exit code of 0 if all the metadata is successfully restored or
 .SH SEE ALSO
 .BR xfs_metadump (8),
 .BR xfs_repair (8),
-.BR xfs_check (8),
 .BR xfs (5)
 .SH BUGS
 Email bug reports to
man/man8/xfs_ncheck.8 +3 -4
index 4099772..5ae72b2 100644
@@ -63,13 +63,12 @@ May be given multiple times to select multiple inode numbers.
 Prints the version number and exits.
 .PP
 If the filesystem is seriously corrupted, or very busy and looks
-like it is corrupt, a message of the form that would be generated by
-.BR xfs_check (8)
-may appear.
+like it is corrupt, a message of the form that would be generated by the
+.BR xfs_db (8)
+"check" command may appear.
 .PP
 .B xfs_ncheck
 is only useful with XFS filesystems.
 .SH SEE ALSO
 .BR mkfs.xfs (8),
-.BR xfs_check (8),
 .BR xfs (5).
man/man8/xfs_repair.8 +0 -1
index b7c2d8c..0394c50 100644
@@ -548,6 +548,5 @@ fixed and/or improved.
 .BR mkfs.xfs (8),
 .BR umount (8),
 .BR xfs_admin (8),
-.BR xfs_check (8),
 .BR xfs_metadump (8),
 .BR xfs (5).

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs