Subject: mtree misses files that are actually there!
To: None <netbsd-help@netbsd.org>
From: David Wetzel <dave@turbocat.de>
List: netbsd-help
Date: 11/13/1998 14:41:31
Hi,
I have moved some directories to my CCD.
My root looks like that (truncated)
lrwxr-xr-x 1 root wheel 9 Oct 29 07:51 Users@ -> ccd/Users
drwxr-xr-x 2 root wheel 512 May 20 20:49 altroot/
drwxr-xr-x 2 root wheel 1024 Oct 29 01:58 bin/
-r--r--r-- 1 root wheel 22528 Oct 29 00:05 boot
drwxr-xr-x 10 root wheel 512 Oct 29 08:15 ccd/
drwxr-xr-x 3 root wheel 7680 Nov 9 09:53 dev/
drwxr-xr-x 10 root wheel 2048 Nov 9 19:36 etc/
dr-xr-xr-x 2 root wheel 512 Oct 29 00:05 kern/
drwxr-xr-x 2 root wheel 512 Oct 29 00:05 mnt/
drwxr-xr-x 2 root wheel 512 May 29 22:22 mnt2/
-rwxr-xr-x 1 root wheel 1076970 Nov 2 14:54 netbsd*
drwxr-xr-x 3 root wheel 512 Nov 13 14:28 root/
drwxr-xr-x 2 root wheel 1536 Oct 29 01:59 sbin/
drwxr-xr-x 2 root wheel 512 Nov 3 19:14 share/
drwxr-xr-x 2 root wheel 512 May 20 20:49 stand/
lrwxr-xr-x 1 root wheel 11 May 22 17:12 sys@ -> usr/src/sys
lrwxr-xr-x 1 root wheel 9 Oct 29 01:33 tmp@ -> ./ccd/tmp
lrwxr-xr-x 1 root wheel 9 Oct 29 02:12 usr@ -> ./ccd/usr
lrwxr-xr-x 1 root wheel 9 Oct 29 01:30 var@ -> ./ccd/var
mtree (which is run from the security shell script) returns:
mtree -e -p / -f /etc/mtree/special
usr: type (dir, link)
var: type (dir, link)
missing: ./usr/bin
missing: ./usr/include
missing: ./usr/lib
missing: ./usr/libdata
missing: ./usr/libexec
missing: ./usr/local
missing: ./usr/local/bin
missing: ./usr/local/lib
missing: ./usr/sbin
missing: ./usr/share
missing: ./var/account
missing: ./var/at
missing: ./var/backups
missing: ./var/db
missing: ./var/db/kvm.db
missing: ./var/log
missing: ./var/log/authlog
missing: ./var/log/wtmp
missing: ./var/mail
missing: ./var/preserve
missing: ./var/run
missing: ./var/run/utmp
missing: ./var/spool
missing: ./var/spool/mqueue
missing: ./var/spool/output
missing: ./var/spool/secretmail
Why does it not follow the links?
---
_ _
_(_)(_)_ David Wetzel, Turbocat's Development,
(_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG,
_/ \_ Fax +49 33056 82835 NeXTmail dave@turbocat.de
(______) http://www.turbocat.de/
DEVELOPMENT * CONSULTING * ADMINISTRATION
WATCH OUT FOR TURBOFAX for OPENSTEP!