Creating an ext2 file system on FreeBSD?
Tom Grove
freebsd at voidmain.net
Fri Aug 3 12:02:16 PDT 2007
Paul Hoffman wrote:
> Hi again. Is there a FreeBSD equivalent of Linux's 'mke2fs'? I want to
> create a disk image that is in ext2 format. On Linux, I would do:
> dd if=/dev/zero of=some.img bs=1M count=1 seek=1024
> /sbin/mke2fs -F -j some.img
> Can I do something similar on FreeBSD?
>
> --Paul Hoffman
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
mke2fs is is the port: /usr/ports/sysutils/e2fsprogs
cd /usr/ports/sysutils/e2fsprogs
make install clean
/usr/local/sbin/mke2fs
-Tom
More information about the freebsd-questions
mailing list