git: DragonFly_RELEASE_6_4 kernel: Clean the disklabel packname similar to serno
Aaron LI
aly at crater.dragonflybsd.org
Sat Feb 21 17:07:05 PST 2026
commit 9a33560c2f971869e39648456158bfad0acc540b
Author: Aaron LI <aly at aaronly.me>
Date: Thu May 15 20:43:05 2025 +0800
kernel: Clean the disklabel packname similar to serno
Reuse the disk_cleanserial() function to clean the disklabel's packname,
which is used to create the device aliases under /dev/by-label/ and
/dev/part-by-label/.
Meanwhile, rename disk_cleanserial() to disk_cleanname() to make it more
intuitive.
Summary of changes:
sys/kern/subr_disk.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9a33560c2f971869e39648456158bfad0acc540b
--
DragonFly BSD source repository
More information about the Commits
mailing list