[plug] ext2 filesystem on a file?

Bernard Blackham bernard at blackham.com.au
Sat May 17 02:01:42 WST 2003


On Sat, May 17, 2003 at 01:39:12AM +0800, Luke Dudney wrote:
> Worked a treat, but I've hit a 2gb limit on file size. I think it's a 
> limitation of the vfat driver. Luckily what I need it for is compiling 
> XFree86 4.3 from srpm, which requires --  2GB of space :)

Well, you could use several 2GB file-partitions, and create a RAID-0
device from those... something like:

# losetup /dev/loop0 /path/to/2gig/file
# losetup /dev/loop1 /path/to/another/2gig/file
# mdcreate raid0 /dev/md0 /dev/loop0 /dev/loop1
# mke2fs /dev/md0
# mount /dev/md0 /mnt

Must try this sometime, just for fun ... (would involve a kernel
recompile for me :( )

Cheers,

Bernard.

-- 
 Bernard Blackham 
 bernard at blackham dot com dot au



More information about the plug mailing list