NetBSD-Bugs archive

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

bin/61018: newfs_lfs(8) cannot take a wedge NAME=abc



>Number:         61018
>Category:       bin
>Synopsis:       newfs_lfs(8) cannot take a wedge NAME=abc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 16 08:15:01 +0000 2026
>Originator:     nia
>Release:        -current, -11, -10
>Organization:
The NetLFS Foundation
>Environment:
NetBSD  11.99.10 NetBSD 11.99.10 (GENERIC) #0: Sun Nov  8 13:15:11 UTC 2026  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
>Description:
I would expect newfs_lfs(8) to be able to take a NAME= argument for
a wedge instead of a path to a device node, much like the other newfs
commands.
>How-To-Repeat:
# dd if=/dev/zero of=/testfile bs=1m count=1024
# vndconfig vnd0 /testfile
# gpt create /dev/vnd0
# gpt add -l testlfs -t lfs vnd0
# newfs_lfs NAME=testlfs
newfs_lfs: /dev/NAME=testlfs: No such file or directory

correctly discovers the wedge:

# newfs NAME=testlfs

also works:

# newfs_msdos NAME=testlfs
>Fix:




Home | Main Index | Thread Index | Old Index