[uml-user] sparse files as root images

2011-12-05 Thread rouvas
Hi List, I'm trying to create a root image. So far I'm creating the underlying file as a sparse file with: dd if=/dev/zero of=$OUTFS bs=1024 count=1 seek=$((20*1024*1024-1)) but I'm having kernel panics (not syncing) whenever I try to run various commands inside UML. So far I got kernel panics

Re: [uml-user] sparse files as root images

2011-12-06 Thread rouvas
richard -rw- weinberger wrote: > Hi, > > On Mon, Dec 5, 2011 at 7:20 PM, wrote: >> dd if=/dev/zero of=$OUTFS bs=1024 count=1 seek=$((20*1024*1024-1)) > > Does it work if the filesystem is not sparse? After all, it doesn't seem this to be the problem. Today I started from scratch in a different

Re: [uml-user] The max instance of uml is limited by memory and disk size ?

2011-12-12 Thread rouvas
clow...@clownix.net wrote: > > Hello, > For UML machines, you have to look carefully at the /dev/shm value with > df, if the used up /dev/shm gets too high, new UML cannot be launched. Excuse a newbie question, but if I understand correctly your statement, then the following: host@:~# df -h Files