mgt.ms (89414) | mgt.ms (215334) |
---|---|
1.\" | 1.\" |
2.\" $FreeBSD: head/share/doc/papers/jail/mgt.ms 89414 2002-01-16 06:55:30Z arr $ | 2.\" $FreeBSD: head/share/doc/papers/jail/mgt.ms 215334 2010-11-15 05:25:51Z dougb $ |
3.\" 4.NH 5Managing Jails and the Jail File System Environment 6.NH 2 7Creating a Jail Environment 8.PP 9While the jail(2) call could be used in a number of ways, the expected 10configuration creates a complete FreeBSD installation for each jail. --- 40 unchanged lines hidden (view full) --- 51FreeBSD file system tree off of a subdirectory in the host environment, 52usually \fC/usr/jail\fP, or \fC/data/jail\fP, with a subdirectory per jail. 53Appropriate instructions for generating this tree are included in the 54jail(8) man page, but generally this process may be automated using the 55FreeBSD build environment. 56.PP 57One notable difference from the default FreeBSD install is that only 58a limited set of device nodes should be created. | 3.\" 4.NH 5Managing Jails and the Jail File System Environment 6.NH 2 7Creating a Jail Environment 8.PP 9While the jail(2) call could be used in a number of ways, the expected 10configuration creates a complete FreeBSD installation for each jail. --- 40 unchanged lines hidden (view full) --- 51FreeBSD file system tree off of a subdirectory in the host environment, 52usually \fC/usr/jail\fP, or \fC/data/jail\fP, with a subdirectory per jail. 53Appropriate instructions for generating this tree are included in the 54jail(8) man page, but generally this process may be automated using the 55FreeBSD build environment. 56.PP 57One notable difference from the default FreeBSD install is that only 58a limited set of device nodes should be created. |
59MAKEDEV(8) has been modified to accept a ``jail'' argument that creates 60the correct set of nodes. | |
61.PP 62To improve storage efficiency, a fair number of the binaries in the system tree 63may be deleted, as they are not relevant in a jail environment. 64This includes the kernel, boot loader, and related files, as well as 65hardware and network configuration tools. 66.PP 67After the creation of the jail tree, the easiest way to configure it is 68to start up the jail in single-user mode. --- 150 unchanged lines hidden --- | 59.PP 60To improve storage efficiency, a fair number of the binaries in the system tree 61may be deleted, as they are not relevant in a jail environment. 62This includes the kernel, boot loader, and related files, as well as 63hardware and network configuration tools. 64.PP 65After the creation of the jail tree, the easiest way to configure it is 66to start up the jail in single-user mode. --- 150 unchanged lines hidden --- |