Date: Mon, 23 Sep 2002 10:21:47 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Jason Hunt <leth@primus.ca> Cc: questions@FreeBSD.ORG Subject: Re: MAKEDEV to a diff location Message-ID: <20020923092147.GC4587@happy-idiot-talk.infracaninophi> In-Reply-To: <20020923032743.K37528-100000@lethargic.dyndns.org> References: <20020923032743.K37528-100000@lethargic.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020923092147.GC4587>