jail stop extracting iso file

Olli Hauer ohauer at gmx.de
Sun Aug 31 20:46:32 UTC 2008


> In server jail and squid is running on it  as lots of another packet. i
> want
> to extract iso image in this server.  But i havent do it.
> 
> #mdconfig -a -t vnode -f big_bcbcv.iso
> #mdconfig: open(/dev/mdctl): No such file or directory
> 
> you can't
> 
> jail doesn't allow it.

Yes, but why don't mount the ISO at the host system and do a nullfs mount into the jail?

at the host system (not in the jail)
# mdconfig -a -t vnode -u 10 -f ${path_to_iso_image}
# mount_cd9660 -o ro /dev/md10 /mnt/
# mount_nullfs /mnt ${path_to_jail}/mnt

ssh into the jail
# pkg_add /mnt/filename


-- 
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196


More information about the freebsd-questions mailing list