Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2008 12:15:49 +0300
From:      "tethys ocean" <tethys.ocean@gmail.com>
To:        "Olli Hauer" <ohauer@gmx.de>
Cc:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, freebsd-questions@freebsd.org, freebsd-security@freebsd.org
Subject:   Re: jail stop extracting iso file
Message-ID:  <235b80000809010215o65579305m155f664fe4f1f145@mail.gmail.com>
In-Reply-To: <20080831201949.96800@gmx.net>
References:  <235b80000808301408v49e91675se91a257e257537fc@mail.gmail.com> <20080831111208.P17652@wojtek.tensor.gdynia.pl> <20080831201949.96800@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
the problem is already here "at the host system (not in the jail)" i wasnt
able to get rid of jail and can't access to device in jail
somehow i must access mdconfig and mount but i shouldnt stop jail.




On Sun, Aug 31, 2008 at 11:19 PM, Olli Hauer <ohauer@gmx.de> wrote:

> > 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=DF haben mit Pastry
> Passion!
>
> http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/616=
9196
>



--=20
Share now a pigeon's flight
Bluebound along the ancient skies,
Its women forever hair and mammal,
A Mediterranean town may arise
If you rip apart a pigeon's heart.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?235b80000809010215o65579305m155f664fe4f1f145>