From owner-freebsd-questions@FreeBSD.ORG Wed May 13 22:19:28 2009 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 5C116106564A for ; Wed, 13 May 2009 22:19:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 180978FC08 for ; Wed, 13 May 2009 22:19:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-7-253.dynamic.qsc.de [92.196.7.253]) by mx02.qsc.de (Postfix) with ESMTP id A28E616C057A; Thu, 14 May 2009 00:19:26 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n4DMJKOh001700; Thu, 14 May 2009 00:19:21 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 14 May 2009 00:19:20 +0200 From: Polytropon To: Daniel Underwood Message-Id: <20090514001920.3e54ffa9.freebsd@edvax.de> In-Reply-To: References: <4A099D64.9050709@infracaninophile.co.uk> <20090512204435.GA37384@gizmo.acns.msu.edu> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Jerry McAllister , "freebsd-questions@freebsd.org" Subject: Re: Reformatting external harddrive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2009 22:19:28 -0000 On Tue, 12 May 2009 22:04:35 -0400, Daniel Underwood wrote: > According to the newfs manpages, you can specify a filesystem type > (-O) and a disktype (-T) for "backward compatibility." It further > appears that -O can only designate either UFS1 or UFS2. I don't quite > know what the -T option designates; i.e., back compatible with "what"? The -O 2 (default) would be the best solution I think. UFS2 is the standard in FreeBSD. And yes, I forgot to mention this: After formatting the drive, you will surely want to enable soft updates. Use the command # tunefs -n enable /dev/da0 to do this. Refer to "man tunefs" for more information, for example if you wish to set minfree to another than the default value, or the optimization for either space or time. The -T is mentioned in /usr/src/sbin/newfs/newfs.c line 388 cont. and of course in the getopt() selector at the beginning of the newfs program. > (I ask about the -O and -T options becase I would like to use this > harddrive on both my FreeBSD and my linux machine.) I'm not sure if Linux is able to use UFS... (I don't use Linux, so I really can't tell.). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...