DragonFly BSD
DragonFly users List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: devfs in jails


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Oct 2009 11:00:38 -0700 (PDT)

:I've configured a jailed system in 2.5.1-DEVELOPMENT on a Dell Mini 9
:[1]. Most everything works as expected following the man page.
:
:elijah@bop:~> jls
:JID	Hostname	Path	IPs
:5	blip	/usr/jail/blip	2001:05c0:1105:1201::0001 127.0.0.1
:
:Very cool. The one trouble I ran into is with devfs. The Handbook
:refers to MAKEDEV. Is MAKEDEV still used in 2.4, or is the Handbook
:just out of date? I was able to get SSH working in the jail once I got
:devfs working via a 'mount_devfs devfs /usr/jail/blip/dev'.
:
:Is this the right way to mount devfs in a jail?
:
:Thanks
:
:Elijah
:
:[1] http://www.dragonflybsd.org/docs/user/dellmini9/

    MAKEDEV is no longer used in 2.4, the handbook is out of date.

    The easiest way to create a dev inside your jail is to use
    something like 'mount_null /dev /path/to/jail/dev'.  You can
    also directly use 'mount_devfs /path/to/jail/dev'.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]