Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2003 12:47:50 +0100 (CET)
From:      Attila Nagy <bra@fsn.hu>
To:        Andy <andy-freebsd@splashground.de>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: MAKEDEV lost in 5.0-CURRENT?
Message-ID:  <Pine.LNX.4.53.0303131245170.24221@scribble.fsn.hu>
In-Reply-To: <20030313111027.GA13250@splashground.de>
References:  <20030312164305.G52780@klima.physik.uni-mainz.de> <20030312154721.GA424@freebsd.org.ru> <20030312165908.O52780@klima.physik.uni-mainz.de> <20030312171808.GA28320@unixdaemons.com> <20030313111027.GA13250@splashground.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

> On 5.0-RELEASE-p4 I have /usr/src/etc/MAKEDEV and i use it for making
> the devices in jails. Is there a jail devfs or is the way described in
> the jail(8) man page still the right(tm) one?
You can mount devfs into any places. For example a jail.
BTW, take extreme care, when doing this, because if you don't set up
devfs rules, anybody, who can become root in any jails can do things,
which will irreversibly change your day. (reinstall/restore from backup)

Hint: cp /dev/null /dev/[what is your root device outside the jail]

BTW, it would be good to have an ipf.rules like file to set up those devfs
rules. :)

----------[ Free Software ISOs - http://www.fsn.hu/?f=download ]----------
Attila Nagy					e-mail: Attila.Nagy@fsn.hu
Free Software Network (FSN.HU)		  phone @work: +361 210 1415 (194)
						cell.: +3630 306 6758

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?Pine.LNX.4.53.0303131245170.24221>