NetBSD-Bugs archive

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

kern/56130: fdescfs create nodes with wrong major number



>Number:         56130
>Category:       kern
>Synopsis:       fdescfs create nodes with wrong major number
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 26 04:50:00 +0000 2021
>Originator:     sergio lenzi
>Release:        9.1_STABLE
>Organization:
k1 sistemas
>Environment:
NetBSD netbsd64dev.netbsd 9.1_STABLE NetBSD 9.1_STABLE (LZT9) #0: Sun Apr 25 17:41:07 -03 2021  NetBSD@netbsd64dev.netbsd:/home/NetBSD/BUILD/9/amd64/OBJ/sys/arch/amd64/compile/GENERIC amd64

>Description:
when mount fdesc the devices /dev/fd/0 /dev/fd/1 .... have the major assign to 5 instead of 22, so the open /dev/fd/0 result in Devince not configured message\
this happens in both 9.1 and 9.99.XX also
>How-To-Repeat:
mount_fdesc -o union,rw fdesc /dev/fd
this creates:  /dev/fd/0, /dev/fd/1 .....
and links /dev/stdin to /dev/fd/0  .....
but with the wrong major number  so the system is unable to open /dev/stdin, /dev/stdout .....
>Fix:



Home | Main Index | Thread Index | Old Index