diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1995-05-12 19:12:44 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1995-05-12 19:12:44 +0000 |
commit | 5e7d9e89bac48acf5013c5c346c1b75c4abbca2d (patch) | |
tree | eaa7433696a4f0560b30ad46dc3fcfe4407b5b94 /usr.sbin/config/config.y | |
parent | 55678a2eb9735980578f16b19f23a8a374bab208 (diff) | |
download | src-5e7d9e89bac48acf5013c5c346c1b75c4abbca2d.tar.gz src-5e7d9e89bac48acf5013c5c346c1b75c4abbca2d.zip |
Don't automatically default dumps to be on a swap device; if the user
wants dumps, he can either configure it explicitly (`dumps on' whatever) or
use the dumpon(8) utility.
Notes
Notes:
svn path=/head/; revision=8480
Diffstat (limited to 'usr.sbin/config/config.y')
-rw-r--r-- | usr.sbin/config/config.y | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y index 76e9a50bc16d..fb3ede0b8f24 100644 --- a/usr.sbin/config/config.y +++ b/usr.sbin/config/config.y @@ -1033,12 +1033,9 @@ checksystemspec(fl) return; } /* - * Default dump device and warn if place is not a - * swap area. + * Warn if dump device is not a swap area. */ - if (fl->f_dumpdev == NODEV) - fl->f_dumpdev = swap->f_swapdev; - if (fl->f_dumpdev != swap->f_swapdev) { + if (fl->f_dumpdev != NODEV && fl->f_dumpdev != swap->f_swapdev) { struct file_list *p = swap->f_next; for (; p && p->f_type == SWAPSPEC; p = p->f_next) |