Subject: bin/10962: newfs_lfs(8) -N option aborts with an error.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <minoura@flab.fujitsu.co.jp>
List: netbsd-bugs
Date: 09/06/2000 02:37:15
>Number:         10962
>Category:       bin
>Synopsis:       newfs_lfs(8) -N option aborts with an error.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 06 02:38:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Minoura Makoto
>Release:        branch netbsd-1-5 dated Aug.31.
>Organization:
Minoura Makoto
<minoura@netbsd.org> / <minoura@jp.netbsd.org>
>Environment:
PFU S-4/20H (SPARCstation 20 clone)
System: NetBSD soccer 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (SOCCER) #33: Wed Sep 6 17:28:24 JST 2000 root@soccer:/usr/obj/sys/arch/sparc/compile/SOCCER sparc


>Description:
	newfs_lfs aborts when -N option documented in the man page is supplied.
>How-To-Repeat:
	soccer# newfs_lfs -N /dev/rsd4a
	newfs_lfs: /dev/rsd4a: seek: Bad file descriptor
	soccer# _
>Fix:
	Fix lfs.c:put() to check Nflag or fd.  Enough?
>Release-Note:
>Audit-Trail:
>Unformatted: