Date: Thu, 04 Sep 2025 22:18:11 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 289306] loader fails to parse vdisk device names Message-ID: <bug-289306-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289306 Bug ID: 289306 Summary: loader fails to parse vdisk device names Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: jgopensource@proton.me The loader has a "map-vdisk" command. It creates virtual disk devices with names like "vdisk0:", "vdisk1:", "vdisk2:", etc. After creating a vdisk0: device which is visible in the output of "lsdev", the command "set currdev=vdisk0:" fails with the error "bad unit number". This is unexpected and seems to be caused by an assumption in disk_parsedev() that the text before the unit number will be 4 characters in length: np = devspec + 4; /* Skip the leading 'disk' */ Observed on FreeBSD 15.0-PRERELEASE, snapshot from 28 August 2025. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289306-227>
