From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 11 21:53:37 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DD9D16A41B for ; Tue, 11 Dec 2007 21:53:37 +0000 (UTC) (envelope-from BearPerson@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id F197013C442 for ; Tue, 11 Dec 2007 21:53:36 +0000 (UTC) (envelope-from BearPerson@gmx.net) Received: (qmail invoked by alias); 11 Dec 2007 21:53:35 -0000 Received: from port-83-236-56-222.dynamic.qsc.de (EHLO gmx.net) [83.236.56.222] by mail.gmx.net (mp057) with SMTP; 11 Dec 2007 22:53:35 +0100 X-Authenticated: #20254835 X-Provags-ID: V01U2FsdGVkX18iWYxwisciwY05ieDPM3g5ey8xhLa/fklNkYlKQ5 hvW5uWzbXpo0bJ Date: Tue, 11 Dec 2007 22:53:29 +0100 From: Karsten Behrmann To: freebsd-hackers@freebsd.org Message-ID: <20071211225329.56cf1385@Karsten.Behrmanns.Kasten> In-Reply-To: References: <20071211001828.54e1da6b@deimos.mars.bsd> <475E0F92.3040804@FreeBSD.org> <20071211120211.133bdc3f@deimos.mars.bsd> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.8.18; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_uKkvvcyE3GEi2wD1LdmSUWb; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Y-GMX-Trusted: 0 Subject: Re: Disk sync at shutdown and fusefs filesystems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2007 21:53:37 -0000 --Sig_uKkvvcyE3GEi2wD1LdmSUWb Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 11 Dec 2007 12:22:35 -0800 (PST), Doug Barton wrote: >=20 > I suppose this is mostly a style difference, but I like to avoid all thos= e=20 > subshells if we can. I also think it might be a good idea to wait a secon= d=20 > between unmounts, just to be paranoid. How about: >=20 > mount | while read dev d1 mountpoint d2; do > case "$dev" in > /dev/fuse[0-9]*) umount $mountpoint ; sleep 1 ;; > esac > done > sleep 1 Hmm, if you truly want to be paranoid, you probably should be unmounting those in reverse order, because someone might be mounting one fuse-fs inside another ;) just my 2 cents, Karsten --=20 Open source is not about suing someone who sells your software. It is about being able to walk behind him, grinning, and waving free CDs with the equivalent of what he is trying to sell. --Sig_uKkvvcyE3GEi2wD1LdmSUWb Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFHXwbeAksKLoO3vywRAg4zAJ9+zjVObPDVztrta/SRaMLPe1mVrwCfffZo v7rbRoZ9zA/5O1GjCSYD8Bw= =C+Aa -----END PGP SIGNATURE----- --Sig_uKkvvcyE3GEi2wD1LdmSUWb--