[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Making a file system image



On Fri, Aug 08, 2003 at 10:57:52AM -0700, Rus Foster wrote:
>
> HIt a bit of a quandry. Trying to work out how to do the following. I'm
> basically wanting to create a file, format it then loop back mount it. Now
> for the life of me I can work out how to format a file. Any ideas?

# dd bs=512k count=8 if=/dev/zero of=./test.img
# mke2fs ./test.img 
# mount -o loop ./test.img /mnt/loop

-- 
Jamin W. Collins

Remember, root always has a loaded gun.  Don't run around with it unless
you absolutely need it. -- Vineet Kumar



Reply to: