]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: 226520
authormckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Jan 2012 07:08:21 +0000 (07:08 +0000)
committermckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Jan 2012 07:08:21 +0000 (07:08 +0000)
commit8764d01337c5c57e526dfabeb52e97ec7e0f93a4
tree2c84de296ef5d3653d7844b39d2567adadd0580a
parent881edc2adf04c6e8431e63d02cf8b8b81726e145
MFC: 226520

The current /etc/dumpdates file restricts device names to 32 characters.
With the addition of various GEOM layers some device names now exceed
this length, for example /dev/mirror/encrypted.elig.journal. This
change expands the field to 53 bytes which brings the /etc/dumpdates
lines to 80 characters. Exceeding 80 characters makes the /etc/dumpdates
file much less human readable. A test is added to dump so that it
verifies that the device name will fit in the 53 character field
failing the dump if it is too long.

This change has been checked to verify that its /etc/dumpdates file
is compatible with older versions of dump.

Reported by: Martin Sugioarto <martin@sugioarto.com>
PR:          kern/160678

git-svn-id: svn://svn.freebsd.org/base/stable/9@230047 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/dump/dump.h
sbin/dump/itime.c