1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Be more friendly for DDB pager.

Educated by:	jhb's BSDCan presentation
This commit is contained in:
Pawel Jakub Dawidek 2008-05-18 21:08:12 +00:00
parent e8b6723edd
commit 988f0e193a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179093

View File

@ -2715,6 +2715,8 @@ DB_SHOW_COMMAND(mount, db_show_mount)
mp->mnt_stat.f_mntfromname,
mp->mnt_stat.f_mntonname,
mp->mnt_stat.f_fstypename);
if (db_pager_quit)
break;
}
db_printf("\nMore info: show mount <addr>\n");
return;
@ -2844,8 +2846,11 @@ DB_SHOW_COMMAND(mount, db_show_mount)
db_printf("\n");
TAILQ_FOREACH(vp, &mp->mnt_nvnodelist, v_nmntvnodes) {
if (vp->v_type != VMARKER)
if (vp->v_type != VMARKER) {
vn_printf(vp, "vnode ");
if (db_pager_quit)
break;
}
}
}
#endif /* DDB */