NetBSD-Bugs archive

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

kern/57435: ddb "show" has two "mount" commands in 10.0_BETA.



>Number:         57435
>Category:       kern
>Synopsis:       ddb "show" has two "mount" commands in 10.0_BETA.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 24 10:00:00 +0000 2023
>Originator:     Tetsuya Isaki
>Release:        NetBSD 10.0_BETA
>Organization:
>Environment:
NetBSD 10.0_BETA amd64
>Description:
ddb "show" has two "mount" commands, and the second one
can not be executed.


 db> show
 all             freelists       mount           pool            uvmexp
 aio_jobs        locks           mount           pools           vmem
 breaks          lock            mqueue          proc            vmems
 buf             lockstats       ncache          procs           vnode
 callout         kqueue          object          registers       vnode_lock
 devices         map             page            routes          watches
 event           mbuf            pages           sched_qs
 files           module          panic           socket
 db>


According to sys/ddb/db_command.c,
the first one is db_show_all_mount() (was added in 2019) and
the second one is db_mount_print_cmd() (was added in 2003).

What is the right situation?

(By the way, I have tried to split them into two commands, but
the second one, db_mount_print_cmd() looks to cause an address error
in m68k)

>How-To-Repeat:
Enter ddb.
>Fix:
I don't have.



Home | Main Index | Thread Index | Old Index