NetBSD-Bugs archive

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

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



The following reply was made to PR kern/57435; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/57435: ddb "show" has two "mount" commands in 10.0_BETA.
Date: Wed, 24 May 2023 11:14:14 -0000 (UTC)

 isaki%pastel-flower.jp@localhost writes:
 
 > breaks          lock            mqueue          proc            vmems
 > buf             lockstats       ncache          procs           vnode
 
 
 >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?
 
 The ddb command parser is just dumb (e.g.. the "all" keyword is ignored).
 Without rewriting, the easiest solution is to make the "show all mount"
 a "show all mounts" like it's done for proc / procs.
 


Home | Main Index | Thread Index | Old Index