From owner-freebsd-questions Tue Jul 21 09:14:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA18701 for freebsd-questions-outgoing; Tue, 21 Jul 1998 09:14:16 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA18681 for ; Tue, 21 Jul 1998 09:14:10 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id JAA08020; Tue, 21 Jul 1998 09:12:27 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdwJ8016; Tue Jul 21 16:12:20 1998 Date: Tue, 21 Jul 1998 09:12:17 -0700 (PDT) From: Julian Elischer To: Joe McGuckin cc: questions@FreeBSD.ORG Subject: Re: mount -o sync question In-Reply-To: <199807210756.AAA06414@monk.via.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG the default mode is not 'sysn' but 'meta-sync' (sync for meta data) setting 'sync' is one step MORE synchronous than that and is not the same as turning off async.. normal mode is noasync, nosync julian On Tue, 21 Jul 1998, Joe McGuckin wrote: > > The default mode of ufs filesystems is 'sync'? > > Yet if I examine the state of the mounted filesystem using the mount > command, no indication is given of a filesystems (sync vs. async) state. > > Yet if I deliberately set the mode to 'sync', mount will now indicate that > the filesystems are mounted synchronously. > > www# mount > /dev/sd0a on / (local) > /dev/sd0s1f on /usr (local, synchronous) > /dev/sd0s1e on /var (local) > procfs on /proc (local) > /dev/sd1s1e on /home1 (local, synchronous) > > Why is this? This would seem to indicate the 'sync' is not really > the default state of a filesystem (or at least that the sync 'bit' > in whatever data structure that represents a mount point isn't > normally set). > > Joe > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message