Discussion:
newbie help on Jail
(too old to reply)
neon abelgas
2005-04-09 02:12:05 UTC
Permalink
hi! I just created a Jail environment for my freebsd as a virtual
machine.. my problem is,I cant access my cdrom drive inside my jail
(sysinstall and mount -t cd9660 /dev/acd0 /mnt) an access permission
errorr return.. Is there anyway to access my cdrom inside my jail?
thnk's

ps. sorry with my english
Luke Edgeworth
2005-04-09 14:37:45 UTC
Permalink
Post by neon abelgas
hi! I just created a Jail environment for my freebsd as a virtual
machine.. my problem is,I cant access my cdrom drive inside my jail
(sysinstall and mount -t cd9660 /dev/acd0 /mnt) an access permission
errorr return.. Is there anyway to access my cdrom inside my jail?
thnk's
in /etc/devfs.rules you need to create an new devfs(8) rule like so:
[devfsrules_jail_cdrom=5]
add include $devfsrules_jail
add path 'acd*' unhide

then modify your rc.conf:

# Example
jail_list="vjail"
jail_vjail_devfs_ruleset="devfsrules_jail_cdrom"
jail_vjail_devfs_enable="YES"

obviously replacing jjail with your jail defined in jail_list

Loading...