mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-23 16:01:42 +00:00
Only print the unit number when invoked with the -n flag.
PR: bin/144300 Submitted by: arundel MFC after: 3 days
This commit is contained in:
parent
d886030b8a
commit
6992d350af
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218652
@ -373,7 +373,7 @@ md_list(char *units, int opt)
|
||||
found = 1;
|
||||
}
|
||||
gc = &pp->lg_config;
|
||||
printf("%s", pp->lg_name);
|
||||
printf("%s", nflag ? pp->lg_name + 2 : pp->lg_name);
|
||||
if (opt & OPT_VERBOSE || opt & OPT_UNIT) {
|
||||
type = geom_config_get(gc, "type");
|
||||
if (strcmp(type, "vnode") == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user