NetBSD-Bugs archive

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

bin/56249: ``dump -[Ww]'' exits on missing NAME=label

>Number:         56249
>Category:       bin
>Synopsis:       ``dump -[Ww]'' exits on missing NAME=label
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 15 16:00:00 +0000 2021
>Originator:     Paul Goyette
>Release:        NetBSD 9.99.84
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 |    |
| Software Developer | 0786 F758 55DE 53BA 7731 |  |
|                    |                          | |
System: NetBSD 9.99.84 NetBSD 9.99.84 (SPEEDY 2021-06-09 18:05:06 UTC) #0: Wed Jun 9 20:58:57 UTC 2021 amd64
Architecture: x86_64
Machine: amd64
The dump(8) command, with the -w or -W command line option, fails "hard"
if there is a line in /etc/fstab with NAME=label in the first field and
no partition currently exists with that name.  This causes the entire
scan for filesystem-needs-dump to abort, rather than reporting on the
remaining partitions.

Note that if the partition is specified as /dev/sd0 the operation will
succeed even if the specified device does not exist.  It would be
useful if dump(8) would treat a missing NAME=label similarly.
See above.


Home | Main Index | Thread Index | Old Index