Date: Sun, 31 Aug 2008 22:19:49 +0200 From: "Olli Hauer" <ohauer@gmx.de> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, tethys.ocean@gmail.com Cc: freebsd-security@freebsd.org, freebsd-questions@freebsd.org Subject: Re: jail stop extracting iso file Message-ID: <20080831201949.96800@gmx.net> In-Reply-To: <20080831111208.P17652@wojtek.tensor.gdynia.pl> References: <235b80000808301408v49e91675se91a257e257537fc@mail.gmail.com> <20080831111208.P17652@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080831201949.96800>
