Steve Ames wrote:

>> virtual-voodoo.com changes in mounted filesystems:
>> 6d5
>> < /dev/ad1s1g        /source ufs rw  0 2
>> 8a8
>>> /dev/ad1s1g /source ufs rw  0 2
> 
> Got this is this morning's security check. This doesn't really
> show a change. The actual change was from normal to soft-updates.
> 
> Any way this can show what actually changed? 'mount -p' (which
> /etc/security uses) doesn't show things such as soft-updates. In
> fact I don't see a single mount option that does show everything...

This is because the filesystem just moved in the mount list.  I've seen
this a few times.  The fix is trivial, I think:

--- security    2000/08/07 09:08:35     1.41
+++ security    2000/09/09 17:38:26
@@ -64,7 +64,7 @@
 # Show changes in the way filesystems are mounted
 #
 [ -n "$ignore" ] && cmd="egrep -v ${ignore#|}" || cmd=cat
-if mount -p | $cmd > $TMP; then
+if mount -p | $cmd | sort > $TMP; then
        if [ ! -f $LOG/mount.today ]; then
                separator
                echo "no $LOG/mount.today"

-- 
Ben Smithurst / [EMAIL PROTECTED] / PGP: 0x99392F7D


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to