Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Feb 2001 09:27:42 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Warner Losh <imp@harmony.village.org>
Cc:        John Indra <john@naver.co.id>, freebsd-current@FreeBSD.ORG
Subject:   Re: DEVFS newbie... 
Message-ID:  <11875.981188862@critter>
In-Reply-To: Your message of "Fri, 02 Feb 2001 21:13:39 MST." <200102030413.f134Dd949495@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200102030413.f134Dd949495@harmony.village.org>, Warner Losh writes:
>In message <18334.980748975@critter> Poul-Henning Kamp writes:
>: >1. Say I want to use DEVFS, what should I change? 
>: 
>: Nothing.  Just add DEVFS to your kernel config file.
>
>So it updates /dev all by itself?  What if I want dev nodes elsewhere
>in the tree, say for a jail?

	mount -t devfs devfs /home/jail/dev

would work, but all dynamic devices would appear there too.

Once we have an extensible facility for mount options, you will be
able to say:

	mount -t devfs devfs /home/jail/dev
	( cd /home/jail/dev ; rm $devices_i_dont_want_in_my_jails )
	mount -u -o nonewdev /home/jail/dev

To solve that problem.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11875.981188862>