[kde-solaris] KDE 3.3.2, patches for 3.3.1 and some news :-)
Stefan Teleman
steleman at nyc.rr.com
Thu Feb 10 03:04:14 GMT 2005
On Wednesday 09 February 2005 08:08, Christopher Layne wrote:
>
> Really.. flat out wrong?
yes. i have copied and pasted the values reported by your patch on my
machines. the values reported were completely wrong. not wrong by
120KB, you were off by 6GB (that's GigaBytes). not only your patch
did not fix anything, it made matters worse.
i do not have several swap files. i only have one swap partition of
8GB in size. that's it. on both Solaris 8 and 9:
[steleman at obiwan][~/programming/kde-3.3.2/kdebase-3.3.2/kcontrol/kfontinst/lib][02/09/2005
22:02:30][105]>> swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t1d0s0 32,8 16 16778976 16778976
what does the swap allocation on several swap partitions have to do
with total amount of swap reported anyway ? you're reporting amount
of swap used and available, not swap files ? is there an option in
KInfoCenter to report swap allocation over several swap files ?
what you do not seem to be willing to understand is:
you do not need to use ugly #ifdef's to report swap. swap information
is available from kstat(3KSTAT), and you do not need to #include
<sys/swap.h>, which causes compile errors, to report swap.
kstat(3KSTAT) is available, and has a common interface, on both
Solaris SPARC and x86.
once again, hoping that you will understand: your patch is flat out
wrong. it retrieves incomplete infomation in an awkward and inelegant
way and it reports wrong information. wrong information is worse than
no information at all.
and this concludes my participation in this thread, because i have
always found it pointless to argue with ignorance.
--Stefan
--
Stefan Teleman 'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com -Monty Python
More information about the kde-core-devel
mailing list