Date: Tue, 20 Jun 2000 18:37:39 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Andy Farkas <andyf@speednet.com.au> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: new "mounted filesystems" report Message-ID: <20000620183739.A57917@strontium.scientia.demon.co.uk> In-Reply-To: <Pine.BSF.4.10.10006210244180.19220-100000@backup.af.speednet.com.au> References: <Pine.BSF.4.10.10006210244180.19220-100000@backup.af.speednet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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?
>
> [--cut--]
>
> 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
===================================================================
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 @@
# 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.)
--
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D
[-- Attachment #2 --]
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000620183739.A57917>
