From owner-freebsd-hackers Wed Jun 7 13:30:11 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA04702 for hackers-outgoing; Wed, 7 Jun 1995 13:30:11 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA04696 for ; Wed, 7 Jun 1995 13:30:06 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id NAA03212; Wed, 7 Jun 1995 13:29:53 -0700 From: "Rodney W. Grimes" Message-Id: <199506072029.NAA03212@gndrsh.aac.dev.com> Subject: Re: chgrp in /sbin? To: kargl@troutmask.apl.washington.edu (Steven G. Kargl) Date: Wed, 7 Jun 1995 13:29:52 -0700 (PDT) Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: <199506072018.NAA00197@troutmask.apl.washington.edu> from "Steven G. Kargl" at Jun 7, 95 01:18:52 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1007 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > Guys, > > I just had a nice surprise. I built a custom kernel and rebooted > to find that /dev/sd0s2[a-h] and /dev/sd1s1[a-h] were missing. (How > these got deleted is a short story for another post maybe.) This > drops you into single-user mode when the mount of the various > partitions fail. No problem. > > #cd /dev > #PATH=/bin:/sbin:/stand > #EXPORT PATH > #sh MAKEDEV sd0s2a > chgrp not found > > Question: shouldn't chgrp reside with chown and chmod in /stand or /sbin > or /bin? > > Yes, chgrp is in /usr/bin, but if you can't mount /usr then it is obviously > useless. This is part of a long standing evaluation of what belongs in the root partition and what belongs in usr. You could always mknod the thing by hand, fix up your stuff, mount /usr and then run MAKEDEV to fix this, so IMHO, chgrp/chown does not belong in /. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD