From owner-freebsd-questions@FreeBSD.ORG Fri Aug 3 19:02:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E6E316A41A for ; Fri, 3 Aug 2007 19:02:16 +0000 (UTC) (envelope-from freebsd@voidmain.net) Received: from tiltup.nepinc.com (tiltup.nepinc.com [66.207.136.20]) by mx1.freebsd.org (Postfix) with ESMTP id 2E6C813C46C for ; Fri, 3 Aug 2007 19:02:15 +0000 (UTC) (envelope-from freebsd@voidmain.net) Received: from haiti.nepinc.com (pgh.nepinc.com [66.207.129.50]) (authenticated bits=0) by tiltup.nepinc.com (8.13.8/8.13.4) with ESMTP id l73J2EYA072428; Fri, 3 Aug 2007 15:02:15 -0400 (EDT) (envelope-from freebsd@voidmain.net) Message-ID: <46B37BA4.6080205@voidmain.net> Date: Fri, 03 Aug 2007 15:01:56 -0400 From: Tom Grove User-Agent: Thunderbird 2.0.0.5 (X11/20070801) MIME-Version: 1.0 To: Paul Hoffman References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Creating an ext2 file system on FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2007 19:02:16 -0000 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