Hi all 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 #ls -l /dev/md* #ls -ls /dev/mdctl ls: /dev/mdctl: No such file or directory i am not familiar with jail. only i can extract my iso file. ? suppose that jail stop me, jail blocking me for access some source is it true? 1-how can extract this iso file 2-is jail stop me? or any other trouble about my mdctl? regard -- 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.
On Sun, 31 Aug 2008, tethys ocean 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.You are correct that direct manipulation of md(4) devices is not allowed in jail. However, you may be running on a version FreeBSD in which tar(1) can be used to extract iso files, which is quite a bit more convenient for many uses. Robert N M Watson Computer Laboratory University of Cambridge> > #mdconfig -a -t vnode -f big_bcbcv.iso > #mdconfig: open(/dev/mdctl): No such file or directory > > #ls -l /dev/md* > #ls -ls /dev/mdctl > ls: /dev/mdctl: No such file or directory > > > i am not familiar with jail. only i can extract my iso file. ? suppose that > jail stop me, jail blocking me for access some source > > > is it true? > > 1-how can extract this iso file > 2-is jail stop me? or any other trouble about my mdctl? > > regard > -- > 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.
On Sun, Aug 31, 2008 at 12:08:31AM +0300, tethys ocean wrote:> Hi all > > 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 > > #ls -l /dev/md* > #ls -ls /dev/mdctl > ls: /dev/mdctl: No such file or directory > > > i am not familiar with jail. only i can extract my iso file. ? suppose that > jail stop me, jail blocking me for access some source > > > is it true? > > 1-how can extract this iso file > 2-is jail stop me? or any other trouble about my mdctl?You can use tar to extract iso images, i.e.: # tar xvf image.iso You can also use mdconfig, but you must add a devfs rule to add md devices, i.e.: add path 'md*' mode 0660 See devfs(8) and devfs.rules(5) -- Martin Tournoij carpetsmoker@rwxrwxrwx.net http://www.daemonforums.org QOTD: Beware of a tall blond man with one black shoe.
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.