Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 05/28/2001 04:09:56
Module Name: basesrc
Committed By: lukem
Date: Mon May 28 01:09:55 UTC 2001
Modified Files:
basesrc/sbin/dump: dump.8 dump.h itime.c main.c optr.c tape.c
traverse.c
Log Message:
* improve parsing of file-systems-to-dump when a path is given:
- if it's a path to an unmounted file-system listed in /etc/fstab, use
that instead of assuming the user wanted a subtree dump of the parent
directory. this restores the behaviour of dump before the subtree
dumping code went in.
- if it's a path to a mounted file-system which is not in /etc/fstab,
use the info from getmntinfo(3). previously, dump would choke.
* implement error checked malloc(), calloc(), strdup(), and use
appropriately (some of the calloc()s weren't being checked)
* use 'file-system' instead of 'filesystem' in the man page
To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 basesrc/sbin/dump/dump.8
cvs rdiff -r1.26 -r1.27 basesrc/sbin/dump/dump.h
cvs rdiff -r1.10 -r1.11 basesrc/sbin/dump/itime.c
cvs rdiff -r1.32 -r1.33 basesrc/sbin/dump/main.c
cvs rdiff -r1.16 -r1.17 basesrc/sbin/dump/optr.c
cvs rdiff -r1.27 -r1.28 basesrc/sbin/dump/tape.c
cvs rdiff -r1.30 -r1.31 basesrc/sbin/dump/traverse.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.