[OmniOS-discuss] kayak problems
Alex
alex.ranskis at gmail.com
Mon Mar 17 22:22:19 UTC 2014
On 13 March 2014 15:16, Eric Sproul <esproul at omniti.com> wrote:
> On Thu, Mar 13, 2014 at 10:07 AM, Doug Hughes <doug at will.to> wrote:
> > Yes, it is missing a few key libraries, I reported that in a similar
> email
> > back around december but it seems to have gone unfixed in the interim. If
> > you find my posts, it indicates the things that I found and fixed.
> Luckily,
> > it is easy to uncompress, mount and fix the miniroot with the missing
> > libraries and symlinks.
>
> It's been fixed in the code. Updated packages will likely be coming
> soon, but if you're impatient, you can build it.
>
>
> https://github.com/omniti-labs/kayak/commit/3eb2021a8bd5cd0e52fc34c7520ccf98a2ad6aa5
I've also had issues with disk_help.sh, if using '<' or '>' to match for a
specific disk size.
Caused by :
size=`prtvtoc $rdsk 2>/dev/null | awk '/bytes\/sector/{bps=$2}
/sectors\/cylinder/{bpc=bps*$2} /accessible sectors/{print
($2*bps)/1048576;} /accessible cylinders/{print int(($2*bpc)/1048576);}'`
awk will switch to scientific notation for large values and bash will fail
later while comparing that value to the one provided in the configuration.
switching from print to printf("%.0f", ..) fixed it.
Apologies if this has already been reported
Cheers,
--
alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20140317/f1b81d2f/attachment.html>
More information about the OmniOS-discuss
mailing list