[plug] win4lin and too big a disk!

Leon Brooks leon at brooks.smileys.net
Mon Oct 23 11:52:08 WST 2000


BillK wrote:
> I dont have a disk
> that small so how can I make a directory look no more than 2gbytes in
> size? - quota may be an option but I have never used it, is there
> anything else?

dd if=/dev/zero bs=1024 count=500000 of=deleteme.disk
losetup /dev/loop0 deleteme.disk
mke2fs /dev/loop0
mkdir jail_for_windows
mount /dev/loop0 jail_for_windows

If you use this all the time, put the losetup and mount commands into a startup
file (e.g. /etc/rc.d/rc.local).

-- 
No matter how far you have gone on the wrong road, turn back.
    -- Turkish Proverb



More information about the plug mailing list