On Wed, May 28, 2008 at 2:47 PM, Tapan Chugh <[EMAIL PROTECTED]> wrote:
> I need to create a floppy image of a directory. dd does not support
> directories. so I created a blank file with dd. How can I create a fs on the
> file so that it can be mounted

$ dd if=/dev/zero of=tmpfile bs=512 count=2K
$ mkfs.ext2fs tmpfile
$ mount -o loop tmpfile /mnt/mountdir


-- 
Goldwyn

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to