From owner-freebsd-current@FreeBSD.ORG Wed May 26 15:28:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6299916A4CE for ; Wed, 26 May 2004 15:28:09 -0700 (PDT) Received: from geri.cc.fer.hr (geri.cc.fer.hr [161.53.72.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C36843D1F for ; Wed, 26 May 2004 15:28:08 -0700 (PDT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (root@geri.cc.fer.hr [161.53.72.107]) by geri.cc.fer.hr (8.12.9p2/8.12.8) with ESMTP id i4QMQmUh002732; Thu, 27 May 2004 00:26:49 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <40B519DA.7000708@fer.hr> Date: Thu, 27 May 2004 00:27:38 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Wilko Bulte References: <40B4ECC8.50808@fer.hr> <20040526202849.GA37162@freebie.xs4all.nl> In-Reply-To: <20040526202849.GA37162@freebie.xs4all.nl> X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE7E9E363485DFCFA2521E3ED" cc: current@freebsd.org Subject: Re: Softupdates a mount option? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 22:28:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE7E9E363485DFCFA2521E3ED Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Wilko Bulte wrote: > On Wed, May 26, 2004 at 09:15:20PM +0200, Ivan Voras wrote: > >>This has been really nagging me for a long time: Why aren't softupdates >>made a mount option (like 'sync' and 'async')? Do I remember correctly >>that it is done so in NetBSD (where it's called softdeps), so it's doable? > > > Its been discussed before, so I suggest to search the mailing list > archives (I really don't remember all the arguments used btw ;) Thanks for all the replies - I read some (most?) of the posts, and would like to add my reasons for it (in case they were missed in previous discussions :) ): - I was creating a md drive with mdmfs, and it felt rather awkward to control softupdates via command line parameters (a sidequestion: does it make any sense enabling SU on a memory drive by default?). As it seems now, every such utility that handles (well, at least creates) a ffs filesystem must handle SU-controlling options as command line parameters. - It seems to me that SU is just another "mode" of accessing a filesystem, just like sync and async, so it belongs with those two. If fsck needs to be aware if the filesystem was mounted with SU (why? only to cut down on repair time?), maybe the softupdates flag (as used by tunefs) could be treated as 'last mounted as' information. I am not an expert, these are just my wishes :) -- C isn't that hard: void (*(*f[])())() defines f as an array of unspecified size, of pointers to functions that return pointers to functions that return void. --------------enigE7E9E363485DFCFA2521E3ED Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAtRnildnAQVacBcgRAh+NAJ4+WzK+8xywax69l9m3Ic0v9WPaIACfU134 DCSDIGWBA0OL/weRQj5FXM0= =r+HL -----END PGP SIGNATURE----- --------------enigE7E9E363485DFCFA2521E3ED--