Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2009 00:19:20 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Daniel Underwood <djuatdelta@gmail.com>
Cc:        Jerry McAllister <jerrymc@msu.edu>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Reformatting external harddrive
Message-ID:  <20090514001920.3e54ffa9.freebsd@edvax.de>
In-Reply-To: <b6c05a470905121904y61ba8f9ard205d80a57e05de1@mail.gmail.com>
References:  <b6c05a470905111818ja0ddd76yd5742e4fbfa54bf2@mail.gmail.com> <4A099D64.9050709@infracaninophile.co.uk> <b6c05a470905121041o8ca1126i99cfcf55f160232e@mail.gmail.com> <20090512204435.GA37384@gizmo.acns.msu.edu> <b6c05a470905121904y61ba8f9ard205d80a57e05de1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 May 2009 22:04:35 -0400, Daniel Underwood <djuatdelta@gmail.com> 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 <disktype> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090514001920.3e54ffa9.freebsd>