From owner-freebsd-doc Mon Aug 14 16:11: 9 2000 Delivered-To: freebsd-doc@freebsd.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id 00AB637BEC2 for ; Mon, 14 Aug 2000 16:11:02 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.86.112]) by mta07-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000814222357.KFNE295.mta07-svc.ntlworld.com@parish.my.domain>; Mon, 14 Aug 2000 23:23:57 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id XAA00425; Mon, 14 Aug 2000 23:23:33 +0100 (BST) (envelope-from mark) Date: Mon, 14 Aug 2000 23:23:32 +0100 From: Mark Ovens To: R Joseph Wright Cc: freebsd-doc Subject: Re: error in documentation Message-ID: <20000814232332.A254@parish> References: <3997EE00.77988B82@wgate.com> <20000814194535.B254@parish> <20000814134818.A35512@mammalia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20000814134818.A35512@mammalia.org>; from rjoseph@mammalia.org on Mon, Aug 14, 2000 at 01:48:18PM -0700 Organization: Total lack of Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Aug 14, 2000 at 01:48:18PM -0700, R Joseph Wright wrote: > And Mark Ovens spoke: > > > BTW, can anyone explain why many (most?) people suggest running ``sh > > MAKEDEV '' rather than ``./MAKEDEV > are preceded by ``cd /dev'')? > > It's to make sure that the MAKEDEV script is run by sh, and not whatever > shell you happen to be running, such as csh for example. > You snipped the rest of my post which said: The first line of /dev/MAKEDEV is: #!/bin/sh - so irrespective of which shell the user runs MAKEDEV from it will always be executed under sh(1). The first line exec(1)s sh(1) so MAKEDEV will always be run under sh(1) (if sh(1) doesn't exist, or isn't in $PATH, you get ``./MAKEDEV: Command not found.''). > Joseph > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-doc" in the body of the message -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message