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

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


Hi,

What about:

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

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.

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
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 : http://lists.freebsd.org/pipermail/cvs-src/attachments/20070606/fb5baeaf/signature.pgp


More information about the cvs-src mailing list