From owner-freebsd-questions Mon Sep 23 2:21:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8745D37B401 for ; Mon, 23 Sep 2002 02:21:54 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 784E243E4A for ; Mon, 23 Sep 2002 02:21:53 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g8N9LqC0005547; Mon, 23 Sep 2002 10:21:52 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g8N9LlGv005546; Mon, 23 Sep 2002 10:21:47 +0100 (BST) Date: Mon, 23 Sep 2002 10:21:47 +0100 From: Matthew Seaman To: Jason Hunt Cc: questions@FreeBSD.ORG Subject: Re: MAKEDEV to a diff location Message-ID: <20020923092147.GC4587@happy-idiot-talk.infracaninophi> References: <20020923032743.K37528-100000@lethargic.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020923032743.K37528-100000@lethargic.dyndns.org> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-13.4 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.41 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 23, 2002 at 03:28:29AM -0400, Jason Hunt wrote: > How can I tell MAKEDEV to make the devices on /mnt/dev instead of /dev? MAKEDEV makes the devices in your current working directory. eg: happy-idiot-talk:/var/tmp:# mkdir dev happy-idiot-talk:/var/tmp:# cd dev happy-idiot-talk:/var/tmp/dev:# /dev/MAKEDEV snd0 happy-idiot-talk:/var/tmp/dev:# ls -la total 2 drwxr-xr-x 2 root wheel 512 Sep 23 10:20 ./ drwxrwxrwt 5 root wheel 512 Sep 23 10:20 ../ lrwxrwxrwx 1 root wheel 6 Sep 23 10:20 audio@ -> audio0 lrwxrwxrwx 1 root wheel 8 Sep 23 10:20 audio0@ -> audio0.0 crw-rw-rw- 1 root wheel 30, 4 Sep 23 10:20 audio0.0 crw-rw-rw- 1 root wheel 30, 0x00010004 Sep 23 10:20 audio0.1 crw-rw-rw- 1 root wheel 30, 0x00020004 Sep 23 10:20 audio0.2 crw-rw-rw- 1 root wheel 30, 0x00030004 Sep 23 10:20 audio0.3 lrwxrwxrwx 1 root wheel 4 Sep 23 10:20 dsp@ -> dsp0 lrwxrwxrwx 1 root wheel 6 Sep 23 10:20 dsp0@ -> dsp0.0 crw-rw-rw- 1 root wheel 30, 3 Sep 23 10:20 dsp0.0 crw-rw-rw- 1 root wheel 30, 0x00010003 Sep 23 10:20 dsp0.1 crw-rw-rw- 1 root wheel 30, 0x00020003 Sep 23 10:20 dsp0.2 crw-rw-rw- 1 root wheel 30, 0x00030003 Sep 23 10:20 dsp0.3 lrwxrwxrwx 1 root wheel 5 Sep 23 10:20 dspW@ -> dspW0 lrwxrwxrwx 1 root wheel 7 Sep 23 10:20 dspW0@ -> dspW0.0 crw-rw-rw- 1 root wheel 30, 5 Sep 23 10:20 dspW0.0 crw-rw-rw- 1 root wheel 30, 0x00010005 Sep 23 10:20 dspW0.1 crw-rw-rw- 1 root wheel 30, 0x00020005 Sep 23 10:20 dspW0.2 crw-rw-rw- 1 root wheel 30, 0x00030005 Sep 23 10:20 dspW0.3 crw-rw-rw- 1 root wheel 30, 2 Sep 23 10:20 midi0 lrwxrwxrwx 1 root wheel 6 Sep 23 10:20 mixer@ -> mixer0 crw-rw-rw- 1 root wheel 30, 0 Sep 23 10:20 mixer0 lrwxrwxrwx 1 root wheel 6 Sep 23 10:20 music@ -> music0 crw-rw-rw- 1 root wheel 30, 8 Sep 23 10:20 music0 lrwxrwxrwx 1 root wheel 4 Sep 23 10:20 pss@ -> pss0 crw-rw-rw- 1 root wheel 30, 9 Sep 23 10:20 pss0 lrwxrwxrwx 1 root wheel 10 Sep 23 10:20 sequencer@ -> sequencer0 crw-rw-rw- 1 root wheel 30, 1 Sep 23 10:20 sequencer0 crw-rw-rw- 1 root wheel 30, 6 Sep 23 10:20 sndstat Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message