fsSize() fix parsing linux (df)
This commit is contained in:
parent
05c1c5f8d6
commit
94973f6b2a
@ -80,6 +80,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
|||||||
|
|
||||||
| Version | Date | Comment |
|
| Version | Date | Comment |
|
||||||
| -------------- | -------------- | -------- |
|
| -------------- | -------------- | -------- |
|
||||||
|
| 5.11.24 | 2022-07-10 | `fsSize()` fix parsing linux (df) |
|
||||||
| 5.11.23 | 2022-07-09 | `fsSize()` fixes (linux), `baseboard()` fix (windows), `cpuTemperatur()` fix linux |
|
| 5.11.23 | 2022-07-09 | `fsSize()` fixes (linux), `baseboard()` fix (windows), `cpuTemperatur()` fix linux |
|
||||||
| 5.11.22 | 2022-06-24 | `processes()` improved parsing (linux, mac OS) |
|
| 5.11.22 | 2022-06-24 | `processes()` improved parsing (linux, mac OS) |
|
||||||
| 5.11.21 | 2022-06-17 | `fsSize()` fix parsing linux (df) |
|
| 5.11.21 | 2022-06-17 | `fsSize()` fix parsing linux (df) |
|
||||||
|
|||||||
@ -58,7 +58,12 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">5.11.22</th>
|
<th scope="row">5.11.24</th>
|
||||||
|
<td>2022-07-10</td>
|
||||||
|
<td><span class="code">fsSize()</span> fix parsing linux (df)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">5.11.23</th>
|
||||||
<td>2022-07-09</td>
|
<td>2022-07-09</td>
|
||||||
<td><span class="code">fsSize()</span>,<span class="code">basebard()</span>,<span class="code">cpuTemeratur()</span> fixes</td>
|
<td><span class="code">fsSize()</span>,<span class="code">basebard()</span>,<span class="code">cpuTemeratur()</span> fixes</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -170,7 +170,7 @@
|
|||||||
<img class="logo" src="assets/logo.png">
|
<img class="logo" src="assets/logo.png">
|
||||||
<div class="title">systeminformation</div>
|
<div class="title">systeminformation</div>
|
||||||
<div class="subtitle"><span id="typed"></span> </div>
|
<div class="subtitle"><span id="typed"></span> </div>
|
||||||
<div class="version">New Version: <span id="version">5.11.23</span></div>
|
<div class="version">New Version: <span id="version">5.11.24</span></div>
|
||||||
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="down">
|
<div class="down">
|
||||||
|
|||||||
@ -50,7 +50,7 @@ function fsSize(callback) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function isLinuxTmpFs(fs) {
|
function isLinuxTmpFs(fs) {
|
||||||
const linuxTmpFileSystems = ['rootfs', 'unionfs', 'squashfs', 'cramfs', 'initrd', 'initramfs', 'devtmpfs', 'tmpfs', 'udev', 'devfs', 'specfs', 'type', 'appimaged', 'fuse.'];
|
const linuxTmpFileSystems = ['rootfs', 'unionfs', 'squashfs', 'cramfs', 'initrd', 'initramfs', 'devtmpfs', 'tmpfs', 'udev', 'devfs', 'specfs', 'type', 'appimaged'];
|
||||||
let result = false;
|
let result = false;
|
||||||
linuxTmpFileSystems.forEach(linuxFs => {
|
linuxTmpFileSystems.forEach(linuxFs => {
|
||||||
if (fs.toLowerCase().indexOf(linuxFs) >= 0) result = true;
|
if (fs.toLowerCase().indexOf(linuxFs) >= 0) result = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user