cvs commit: src/usr.sbin/sysinstall installUpgrade.c

LI Xin delphij at
Wed Jun 6 01:25:51 UTC 2007


What about:

vsystem("disklabel -B `awk $2~/\\/$/ {print substr($1, 6, length($1)-6)}

Well, I admit that replacing a piece of non-working code with a
workaround is not generally a good idea, but I did not found a perfect
solution yet, and it does not make us any good to leave an installer bug
as is if the old code does not work at all :-)  This is still not
perfect (does not work on a root slice, for instance), but it would
cover more cases and does not need yet another generator.

Xin LI <delphij at>
FreeBSD - The Power to Serve!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url :

More information about the cvs-src mailing list