NetBSD Problem Report #59987

From www@netbsd.org  Sun Feb  8 22:56:47 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 "R13" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 7E6311A923D
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  8 Feb 2026 22:56:47 +0000 (UTC)
Message-Id: <20260208225646.A9FC21A923E@mollari.NetBSD.org>
Date: Sun,  8 Feb 2026 22:56:46 +0000 (UTC)
From: yaneurabeya@gmail.com
Reply-To: yaneurabeya@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [PATCH] tests/bin/t_dd: require /dev/fd be mounted for :length
X-Send-Pr-Version: www-1.0
X-From4GNATS: "yaneurabeya@gmail.com via gnats" <gnats-admin@NetBSD.org>

>Number:         59987
>Category:       bin
>Synopsis:       [PATCH] tests/bin/t_dd: require /dev/fd be mounted for :length
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 08 23:00:00 +0000 2026
>Originator:     Enji Cooper
>Release:        n/a
>Organization:
>Environment:
n/a
>Description:
NetBSD mounts /dev/fd by default, but FreeBSD does not. Require the character device to exist when running the tests so the tests pass/fail correctly when /dev/fd is not mounted.

Obtained from: FreeBSD.
>How-To-Repeat:
- Run `umount -f /dev/fd` as root.
- Run `bin/dd` tests.
>Fix:
https://patch-diff.githubusercontent.com/raw/NetBSD/src/pull/66.patch

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.