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 <[EMAIL PROTECTED]>      http://www.delphij.net/
FreeBSD - The Power to Serve!

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to