for my quite paraniod uml setup (tool), i'd like to be able to create an
initial cow file.
Is there a tool to create this file? I could just launch the uml kernel,
but as the user is not able to write to the jail directory, this is not
realy what i want.
[ Further information follows:
My setup grants one directory to each uml instance: e.g. for utest.
there is an additional master uml user called `uml'. Each user has it's
dr-xr-x--x uml utest /home/utest
dr-xr-x--- uml utest /home/utest/bin
---x--x--- uml utest /home/utest/bin/utest # uml executeable
-r--r--r-- uml utest /home/utest/ABOUT
-r--r----- uml utest /home/utest/config # config file
dr-xr-x--- uml utest /home/utest/dev # used for binding
# LVs, net/tun,
# tty-slaves into
dr-xr-x--- uml utest /home/utest/proc
--w--w---- uml utest /home/utest/proc/mm # bind proc mm into
drwxrwx--- uml utest /home/utest/tmp/ # mount tmpfs for ram
-r--r----- uml utest /home/utest/utest-root.img # root image
-r--rw---- uml utest /home/utest/utest-root.cow # cow for root image
The instance user owns no files, and can not write it's home/jail
directory. So it can not remove or create files.
Unfortunately, when ever I zap/create the .COW file, I've to make the
home directory writeable :-(
/"\ Goetz Bock at blacknet dot de -- secure mobile Linux everNETting
\ / (c) 2003 as GNU FDL 1.1
X [ 1. Use descriptive subjects - 2. Edit a reply for brevity - ]
/ \ [ 3. Reply to the list - 4. Read the archive *before* you post ]