NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/48526: dumpdates name field too short



>Number:         48526
>Category:       bin
>Synopsis:       dumpdates name field too short
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 16 02:00:00 +0000 2014
>Originator:     John Nemeth
>Release:        applies to any release/-current through 2014/01/15
>Organization:
>Environment:
>Description:
        DUMPOUTFMT/DUMPINFMT in include/protocols/dumprestore.h
specifies the format of lines in /etc/dumpdates.  They specify that
the first field which is the name of the filesystem should be 16
characters long.  This is much too short for dm(4) devices which
is what backs LVM devices.  These devices have names starting with
"/dev/mapper/" which is already 12 characters, and the final path
component is a logical name which can be anything.
>How-To-Repeat:
        dump -u a filesystem with a long name
>Fix:
        It would be a simple matter to expand the field width, but
this would create an incompatibility with existing /etc/dumpdates
files.  Whether this would be a problem and what to do about it is
an open question.



Home | Main Index | Thread Index | Old Index