From owner-svn-src-head@freebsd.org Sun Nov 5 22:00:56 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41567E53484; Sun, 5 Nov 2017 22:00:56 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 033086E29A; Sun, 5 Nov 2017 22:00:55 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA5M0t0Q094414; Sun, 5 Nov 2017 22:00:55 GMT (envelope-from kib@FreeBSD.org) Received: (from kib@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA5M0sx2094408; Sun, 5 Nov 2017 22:00:54 GMT (envelope-from kib@FreeBSD.org) Message-Id: <201711052200.vA5M0sx2094408@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kib set sender to kib@FreeBSD.org using -f From: Konstantin Belousov Date: Sun, 5 Nov 2017 22:00:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r325452 - in head: . rescue/rescue sbin sbin/badsect sys/mips/rmi usr.sbin/crunch/examples X-SVN-Group: head X-SVN-Commit-Author: kib X-SVN-Commit-Paths: in head: . rescue/rescue sbin sbin/badsect sys/mips/rmi usr.sbin/crunch/examples X-SVN-Commit-Revision: 325452 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2017 22:00:56 -0000 Author: kib Date: Sun Nov 5 22:00:54 2017 New Revision: 325452 URL: https://svnweb.freebsd.org/changeset/base/325452 Log: Remove badsect(8). Failure modes of the modern (that is, produced in the last 25 years) hard drives and SSDs made the utility outdated. Since the kernel interface to support it was removed in r324853, cut the userspace remnants as well. Discussed with: bde (who does not like the removal) Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Deleted: head/sbin/badsect/ Modified: head/ObsoleteFiles.inc head/rescue/rescue/Makefile head/sbin/Makefile head/sys/mips/rmi/rootfs_list.txt head/usr.sbin/crunch/examples/fixit.conf head/usr.sbin/crunch/examples/really-big.conf Modified: head/ObsoleteFiles.inc ============================================================================== --- head/ObsoleteFiles.inc Sun Nov 5 21:59:39 2017 (r325451) +++ head/ObsoleteFiles.inc Sun Nov 5 22:00:54 2017 (r325452) @@ -38,6 +38,10 @@ # xargs -n1 | sort | uniq -d; # done +# 20171108: badsect(8) removal +OLD_FILES+=sbin/badsect +OLD_FILES+=rescue/badsect +OLD_FILES+=usr/share/man/man8/badsect.8.gz # 20171105: fixing lib/libclang_rt CRTARCH for arm:armv[67]. .if ${MACHINE} == "arm" .if ${MACHINE_ARCH:Marmv[67]*} != "" && ${CPUTYPE:M*soft*} == "" Modified: head/rescue/rescue/Makefile ============================================================================== --- head/rescue/rescue/Makefile Sun Nov 5 21:59:39 2017 (r325451) +++ head/rescue/rescue/Makefile Sun Nov 5 22:00:54 2017 (r325452) @@ -85,7 +85,7 @@ CRUNCH_SUPPRESS_LINK_-tcsh= 1 # headers in addition to the standard 'paths.h' header. # CRUNCH_SRCDIRS+= sbin -CRUNCH_PROGS_sbin= badsect \ +CRUNCH_PROGS_sbin= \ camcontrol clri devfs dmesg dump \ dumpfs dumpon fsck fsck_ffs fsck_msdosfs fsdb \ fsirand gbde geom ifconfig init \ Modified: head/sbin/Makefile ============================================================================== --- head/sbin/Makefile Sun Nov 5 21:59:39 2017 (r325451) +++ head/sbin/Makefile Sun Nov 5 22:00:54 2017 (r325452) @@ -6,7 +6,6 @@ # XXX MISSING: icheck ncheck SUBDIR=adjkerntz \ - badsect \ camcontrol \ clri \ comcontrol \ Modified: head/sys/mips/rmi/rootfs_list.txt ============================================================================== --- head/sys/mips/rmi/rootfs_list.txt Sun Nov 5 21:59:39 2017 (r325451) +++ head/sys/mips/rmi/rootfs_list.txt Sun Nov 5 22:00:54 2017 (r325452) @@ -448,7 +448,6 @@ ./sbin ./sbin/adjkerntz ./sbin/atacontrol -./sbin/badsect ./sbin/bsdlabel ./sbin/camcontrol ./sbin/ccdconfig Modified: head/usr.sbin/crunch/examples/fixit.conf ============================================================================== --- head/usr.sbin/crunch/examples/fixit.conf Sun Nov 5 21:59:39 2017 (r325451) +++ head/usr.sbin/crunch/examples/fixit.conf Sun Nov 5 22:00:54 2017 (r325452) @@ -1,4 +1,5 @@ # fixit.conf - put in anything we think we might want on a fixit floppy +# $FreeBSD$ # first, we list the source dirs that our programs reside in. These are # searched in order listed to find the dir containing each program. @@ -21,7 +22,7 @@ ln sh -sh # init invokes the shell this way # /sbin stuff -progs badsect chown clri disklabel dump dmesg fdisk fsck ifconfig init +progs chown clri disklabel dump dmesg fdisk fsck ifconfig init progs mknod mount newfs ping reboot restore swapon umount ln dump rdump ln restore rrestore Modified: head/usr.sbin/crunch/examples/really-big.conf ============================================================================== --- head/usr.sbin/crunch/examples/really-big.conf Sun Nov 5 21:59:39 2017 (r325451) +++ head/usr.sbin/crunch/examples/really-big.conf Sun Nov 5 22:00:54 2017 (r325452) @@ -23,7 +23,7 @@ ln sh -sh srcdirs /usr/src/sbin -progs badsect bim clri disklabel dmesg dump dumpfs fdisk fsck halt +progs bim clri disklabel dmesg dump dumpfs fdisk fsck halt progs ifconfig init mknod modload modunload mount mount_isofs progs mount_lofs mount_msdosfs mountd progs newfs nfsd nfsiod ping quotacheck reboot restore route routed savecore