cvs commit: src/etc/rc.d jail

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Apr 30 06:02:30 PDT 2005


On Sat, Apr 30, 2005 at 12:16:00AM +0000, Christian S.J. Peron wrote:
+> csjp        2005-04-30 00:16:00 UTC
+> 
+>   FreeBSD src repository
+> 
+>   Modified files:
+>     etc/rc.d             jail 
+>   Log:
+>   Do not unconditionally mount devfs to ${jail_devdir}/dev. First check
+>   to see if a prior devfs has been mounted. If no devfs is mounted on
+>   ${jail_devdir}/dev then proceed. This will prevent the stack up of
+>   multiple devfs mounts on the same mount point.

As I'm thinking about this now, it would be probably better to unmount
devfs inside a jail and mount it again, because someone could change
devfs rules in meantime and wants to restart the jail with new devfs rules.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050430/b4f50436/attachment.bin


More information about the cvs-all mailing list