Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2007 15:01:56 -0400
From:      Tom Grove <freebsd@voidmain.net>
To:        Paul Hoffman <phoffman@proper.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Creating an ext2 file system on FreeBSD?
Message-ID:  <46B37BA4.6080205@voidmain.net>
In-Reply-To: <p0624084ec2d9285f391b@[10.20.30.106]>
References:  <p0624084ec2d9285f391b@[10.20.30.106]>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
mke2fs is is the port: /usr/ports/sysutils/e2fsprogs

cd /usr/ports/sysutils/e2fsprogs
make install clean

/usr/local/sbin/mke2fs

-Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B37BA4.6080205>