NetBSD Problem Report #60526
From www@netbsd.org Sat Aug 1 17:44:30 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.netbsd.org", Issuer "YR2" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id A91981A923C
for <gnats-bugs@gnats.NetBSD.org>; Sat, 1 Aug 2026 17:44:30 +0000 (UTC)
Message-Id: <20260801174429.E27761A923D@mollari.NetBSD.org>
Date: Sat, 1 Aug 2026 17:44:29 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: dump(8) should warn before dumping r/w file systems w/o snapshot
X-Send-Pr-Version: www-1.0
X-From4GNATS: "campbell+netbsd@mumble.net via gnats" <gnats-admin@NetBSD.org>
>Number: 60526
>Category: bin
>Synopsis: dump(8) should warn before dumping r/w file systems w/o snapshot
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 01 17:45:00 +0000 2026
>Originator: Taylor R Campbell
>Release: current, 11, 10, 9, ..., 2
>Organization:
Acme Backup Dump Truck Crashes LLC
>Environment:
>Description:
dump(8) has -X and -x <snapdir> to make dumping from snapshots easy.
However, it is also easy to accidentally dump a live r/w file system.
Perhaps dump(8) should warn, or require an extra option, before doing that.
And perhaps it can suggest using -X/-x to make that more discoverable.
>How-To-Repeat:
dump -0af /backups/root.dump /
>Fix:
Yes, please.
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.