From owner-freebsd-stable Tue Jun 20 12:11: 4 2000 Delivered-To: freebsd-stable@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id A29DD37BF7B for ; Tue, 20 Jun 2000 12:10:48 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #2) id 134Ry0-0007DO-00; Tue, 20 Jun 2000 18:37:40 +0100 Received: from ben by strontium.scientia.demon.co.uk with local (Exim 3.12 #5) id 134Rxz-000A3I-00; Tue, 20 Jun 2000 18:37:39 +0100 Date: Tue, 20 Jun 2000 18:37:39 +0100 From: Ben Smithurst To: Andy Farkas Cc: freebsd-stable@FreeBSD.ORG Subject: Re: new "mounted filesystems" report Message-ID: <20000620183739.A57917@strontium.scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Andy Farkas wrote: > Ok, so there is this new "mounted filesystems" section in the > /etc/periodic/daily script. Fine, but what exactly is the following > telling me, and why do I want it in the report? >=20 > [--cut--] >=20 > doohan.af.speednet.com.au changes in mounted filesystems: > 4d3 > < procfs /proc procfs rw 0 0 > 6a6 >> procfs /proc procfs rw 0 0 You either umounted proc and remounted it, or unmounted something else and remounted it. Either way, it could cause /proc to show up in a different place in the mount output. I agree this should be fixed, and it would seem trivial to fix: Index: security =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/cvs/src/etc/security,v retrieving revision 1.38 diff -u -r1.38 security --- security 2000/04/06 10:46:50 1.38 +++ security 2000/06/20 17:36:22 @@ -53,7 +53,7 @@ =20 # Show changes in the way filesystems are mounted # -if mount -p > $TMP; then +if mount -p | sort > $TMP; then if [ ! -f $LOG/mount.today ]; then separator echo "no $LOG/mount.today" (untested, and tabs are screwed because of copy&paste, but I'm sure you can apply it manually.) --=20 Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: Sd3qoyHEyoE79FodmM8dxFu0AA7Tv4rm iQCVAwUBOU+r4isPVtiZOS99AQEaawP/Z4vbdjQ9Z6jfm3UTx/c4pV7n8EpEA8u0 /kTTfkTbF0Mhg1sq58OPIDrmDWe3ORsOgw2M7cLYFPopUasO8ySvxpHa5cSZu9P3 btcvYypUKW82sMer0jlnWYPMt+/UusRWTpedw7CdeS9wmZHRf9WlYqjV8sUZ4PfZ glS9Sn68EuY= =L4JF -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message