Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109204309
D48537.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
779 B
Referenced Files
None
Subscribers
None
D48537.diff
View Options
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c
+++ b/sbin/fdisk/fdisk.c
@@ -1472,7 +1472,6 @@
* The following choices are considered:
* /dev/ad0s1a => /dev/ad0
* /dev/da0a => /dev/da0
- * /dev/vinum/root => /dev/vinum/root
* A ".eli" part is removed if it exists (see geli(8)).
* A ".journal" ending is removed if it exists (see gjournal(8)).
*/
@@ -1489,7 +1488,7 @@
if (statfs("/", &rootfs) == -1)
err(1, "statfs(\"/\")");
- if ((rv = regcomp(&re, "^(/dev/[a-z/]+[0-9]*)([sp][0-9]+)?[a-h]?(\\.journal)?$",
+ if ((rv = regcomp(&re, "^(/dev/[a-z/]+[0-9]+)([sp][0-9]+)?[a-h]?(\\.journal)?$",
REG_EXTENDED)) != 0)
errx(1, "regcomp() failed (%d)", rv);
strlcpy(dev, rootfs.f_mntfromname, sizeof (dev));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 3, 1:02 AM (5 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16019944
Default Alt Text
D48537.diff (779 B)
Attached To
Mode
D48537: fdisk: Remove support for vinum volumes
Attached
Detach File
Event Timeline
Log In to Comment