From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sascha Kilian To: development@lists.ipfire.org Subject: Re: fireinfo Bug for Kernel Informations and Root Disk Size Date: Mon, 24 Feb 2014 17:08:39 +0100 Message-ID: <1393258119.24982.13.camel@localhost> In-Reply-To: <1393256502.24982.9.camel@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2889019043964626488==" List-Id: --===============2889019043964626488== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit okay, i have checked the real sended profile, there is ok, but for what are the fireinfo/system.py, if the system this dont use? sendprofile -d (param found in Source Code) shows me the right values, the root size too, but shows only 1 drive. My System has 2x 500GB first drive is sdb (root) and second drive is mounted on /var/data (Various files). is it not better to use "df" to find out how many space the system has ? Sascha Am Montag, den 24.02.2014, 16:41 +0100 schrieb Sascha Kilian: > oke i updated my local files, > > i now have 2.1.9, first look in the system.py seems not that the problem > is changed. I can build this update and check the result file(s). > > Best regards > > Sascha > > Am Montag, den 24.02.2014, 16:29 +0100 schrieb Arne Fitzenreiter: > > current fireinfo version is 2.1.9 > > > > > > checkout the next branch of the ipfire source (master is the "released" > > branch): > > > > git checkout next > > > > I know about the discsize bug. The kernel is new for me but my beta2 > > systems are showed correctly on the > > fireinfo website. > > > > Arne > > > > On 2014-02-24 16:17, Sascha Kilian wrote: > > > I checked it on Git-repository, > > > > > > i updated my repository and have runned make.sh downloadsrc. > > > It told me i have Fireinfo Version 2.1.7 > > > > > > in the Archive file fireinfo/system.py on line 445 > > > "print s.kernel" > > > > > > on line 106 is defined s.kernel_release > > > > > > > > > Am Montag, den 24.02.2014, 13:33 +0100 schrieb Sascha Kilian: > > >> Hi there, > > >> > > >> it is my first post on this list. If i make some misstakes, please > > >> tell > > >> me. > > >> > > >> If trying to figure out why the Diskspace is not shown in my Profile. > > >> i figured out that some bugs in fireinfo "system.py" exist. > > >> > > >> in line 450 "print s.kernel" -> "s.kernel_release" > > >> > > >> The root_size is null, i have patched some in the system.py and make > > >> the > > >> path in line 388 Static to "/sys/block/sda/size" then he got the right > > >> size. I think it needs to be other identification, sda is the MBR not > > >> the right partition (sda3). My Python expirience is too low to make > > >> this > > >> right. > > >> > > >> Best regards from Germany > > >> > > >> Sascha Kilian > > >> > > >> > > >> _______________________________________________ > > >> Development mailing list > > >> Development(a)lists.ipfire.org > > >> http://lists.ipfire.org/mailman/listinfo/development > > > > > > > > > _______________________________________________ > > > Development mailing list > > > Development(a)lists.ipfire.org > > > http://lists.ipfire.org/mailman/listinfo/development > > _______________________________________________ > > Development mailing list > > Development(a)lists.ipfire.org > > http://lists.ipfire.org/mailman/listinfo/development > > > _______________________________________________ > Development mailing list > Development(a)lists.ipfire.org > http://lists.ipfire.org/mailman/listinfo/development --===============2889019043964626488==--