systeminformation: `fsSize` returns empty array on some devices
Describe the bug
I am using systeminformation
on my project inside a docker container, and some users (mostly Ubuntu 22-23) reported that fsSize
returns an empty array.
To Reproduce Hard to reproduce, as I can’t really do so with my system either. It is a common error though, so you can look into MauriceNino/dashdot/issues/944 or MauriceNino/dashdot/issues/1032.
Current Output
Output gathered by user @SecOps-7, who is one of the users encountering this problem.
docker exec Dashdot df -kPT
Filesystem Type 1024-blocks Used Available Capacity Mounted on
overlay overlay 959786032 72771224 838186600 8% /
tmpfs tmpfs 65536 0 65536 0% /dev
shm tmpfs 65536 0 65536 0% /dev/shm
/dev/nvme0n1p2 ext4 959786032 72771224 838186600 8% /mnt/host
udev devtmpfs 16160512 0 16160512 0% /mnt/host/dev
tmpfs tmpfs 16198784 0 16198784 0% /mnt/host/dev/shm
tmpfs tmpfs 3239760 6048 3233712 0% /mnt/host/run
tmpfs tmpfs 5120 4 5116 0% /mnt/host/run/lock
tmpfs tmpfs 3239760 6048 3233712 0% /mnt/host/run/snapd/ns
tmpfs tmpfs 3239756 112 3239644 0% /mnt/host/run/user/1000
efivarfs efivarfs 192 114 73 61% /mnt/host/sys/firmware/efi/efivars
/dev/loop0 squashfs 128 128 0 100% /mnt/host/snap/bare/5
/dev/loop1 squashfs 9856 9856 0 100% /mnt/host/snap/canonical-livepatch/246
/dev/loop2 squashfs 9600 9600 0 100% /mnt/host/snap/certbot-dns-cloudflare/3182
/dev/loop4 squashfs 9600 9600 0 100% /mnt/host/snap/certbot-dns-cloudflare/3077
/dev/loop3 squashfs 108416 108416 0 100% /mnt/host/snap/core/16202
/dev/loop5 squashfs 65024 65024 0 100% /mnt/host/snap/core20/2015
/dev/loop6 squashfs 65536 65536 0 100% /mnt/host/snap/core20/2105
/dev/loop7 squashfs 75904 75904 0 100% /mnt/host/snap/core22/1033
/dev/loop8 squashfs 75776 75776 0 100% /mnt/host/snap/core22/864
/dev/loop9 squashfs 251904 251904 0 100% /mnt/host/snap/firefox/3600
/dev/loop10 squashfs 358144 358144 0 100% /mnt/host/snap/gnome-3-38-2004/143
/dev/loop11 squashfs 251904 251904 0 100% /mnt/host/snap/firefox/3626
/dev/loop12 squashfs 497280 497280 0 100% /mnt/host/snap/gnome-42-2204/120
/dev/loop13 squashfs 508928 508928 0 100% /mnt/host/snap/gnome-42-2204/141
/dev/loop14 squashfs 93952 93952 0 100% /mnt/host/snap/gtk-common-themes/1535
/dev/loop15 squashfs 12672 12672 0 100% /mnt/host/snap/snap-store/959
/dev/loop16 squashfs 41856 41856 0 100% /mnt/host/snap/snapd/20290
/dev/loop17 squashfs 41472 41472 0 100% /mnt/host/snap/snapd/20671
/dev/nvme0n1p2 ext4 959786032 72771224 838186600 8% /mnt/host/var/snap/firefox/common/host-hunspell
/dev/loop18 squashfs 512 512 0 100% /mnt/host/snap/snapd-desktop-integration/83
/dev/nvme0n1p1 vfat 523248 6220 517028 1% /mnt/host/boot/efi
//10.0.0.20/Media/UFC cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/UFC
//10.0.0.20/Media/Photos cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/Photos
//10.0.0.20/Media/Documentaries cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/Documentaries
//10.0.0.20/Media/Comedy cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/Comedy
//10.0.0.20/Media/Backup cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Backup
//10.0.0.20/Media/Movies cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/Movies
df: /mnt/host/DATA/Media/TV\040Shows: No such file or directory
//10.0.0.20/Media/Music cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/Music
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/609b3711d4d40a122bff2618c055282cf7621c5db0887331f141b0e7a1fabe50/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/792681f63aac9b60917018ab7521053bab14dfb7d2c33aac7c79c91664a32668/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/daf29832440922f7e7be22900a766d7e444cd0db81d44f50f238d3a6064f11cc/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/c120998fe94f81804d36d4c955490e795716b916560816910a836b8ddce2f3ee/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/890c9f9f4c84da38bcdd8f04586737235c22498c56f48df6e585d5efac4930dc/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/ba5a342d8cb11ceb07d5f7f502daaaec107627ced540990f81c06105ff56d0e5/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/a8416f2c5689ba4e511c8391c67c12fc42ca636f9a32c6561c3800b86a372a23/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/769bc06e0709900d1baac2688fd36de4466ae04a57e32f951c947198012e3e56/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/c8c2d87d1a8a792825767332092a59d4dfe54e9c7aa977e09156a852bef26984/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/ecfe327328e392093dead3950021a9a274c30926b99a8dfca11caef8ea2ade8e/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/cac7ab0bc56db7a85d676f2e9ae7f9816426e682190782d1ddfcfa7782b98586/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/bea9eda233c02b805e77f6b15218f5316307b29ffb13a9cbff5eeaa546a5e36d/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/dad052dcc97c729f9168482d1b9355742c5f2be8cd4811a619d3ca52b2a16f46/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/13b54b79bdd876a46bef879d52242a087e91accb2bb1990712b9e019fb184d8c/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/b3fbb5da518f45a39316e65d029877900f56a0356aa58d262d094a81ad4885f0/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/b3fbb5da518f45a39316e65d029877900f56a0356aa58d262d094a81ad4885f0/merged
tmpfs tmpfs 65536 0 65536 0% /mnt/host/var/lib/docker/overlay2/b3fbb5da518f45a39316e65d029877900f56a0356aa58d262d094a81ad4885f0/merged/dev
shm tmpfs 65536 0 65536 0% /mnt/host/var/lib/docker/overlay2/b3fbb5da518f45a39316e65d029877900f56a0356aa58d262d094a81ad4885f0/merged/dev/shm
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/228ef67d243a2dfff1f1ed9f4e6a91c468ed86b3f8f630f127874e3b513937f8/merged
/dev/nvme0n1p2 ext4 959786032 72771220 838186604 8% /etc/resolv.conf
/dev/nvme0n1p2 ext4 959786032 72771220 838186604 8% /etc/hostname
/dev/nvme0n1p2 ext4 959786032 72771220 838186604 8% /etc/hosts
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/e4a73ae9ac0d6bb36d200933b28619cac8c6651885dcab25dbc01c94d16067ca/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/91f151eccaddad2d3e0c82e8fce66954f767b4f3228605640f011ab5f2973c77/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/4256ed12378be75adbd9db14ee8acbf67493a8ab5f9b0a9edd08a9b629bee75b/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/3c780521520f4ba9d98b477686dcdb9519e7e619300e2ccd0782bfd9d374ff13/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/a44619aa4420bf471e17f5c07754f8d702628f5ab685bd1628c9e169cd56229e/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/9a20a660bb6a4a38525ffee6529344056f0b7f77138dd482eece389aabf03e37/merged
Environment (please complete the following information):
- systeminformation package version: 5.21.23
- OS: Ubuntu 22 & 23
- Hardware: Intel NUC
Additional context
I tried parsing the output above with your code as well, but managed to do so just fine, so I am wondering which part is making the problems?
Example
const _linux = true;
const _darwin = false;
const _freebsd = false;
const _openbsd = false;
const _netbsd = false;
function getmacOsFsType(fs) {
if (!fs.startsWith('/')) { return 'NFS'; }
const parts = fs.split('/');
const fsShort = parts[parts.length - 1];
const macOsDisksSingle = macOsDisks.filter(item => item.indexOf(fsShort) >= 0);
if (macOsDisksSingle.length === 1 && macOsDisksSingle[0].indexOf('APFS') >= 0) { return 'APFS'; }
return 'HFS';
}
function isLinuxTmpFs(fs) {
const linuxTmpFileSystems = ['rootfs', 'unionfs', 'squashfs', 'cramfs', 'initrd', 'initramfs', 'devtmpfs', 'tmpfs', 'udev', 'devfs', 'specfs', 'type', 'appimaged'];
let result = false;
linuxTmpFileSystems.forEach(linuxFs => {
if (fs.toLowerCase().indexOf(linuxFs) >= 0) { result = true; }
});
return result;
}
function filterLines(stdout) {
let lines = stdout.toString().split('\n');
lines.shift();
if (stdout.toString().toLowerCase().indexOf('filesystem')) {
let removeLines = 0;
for (let i = 0; i < lines.length; i++) {
if (lines[i] && lines[i].toLowerCase().startsWith('filesystem')) {
removeLines = i;
}
}
for (let i = 0; i < removeLines; i++) {
lines.shift();
}
}
return lines;
}
function parseDf(lines) {
let data = [];
lines.forEach(function (line) {
if (line !== '') {
line = line.replace(/ +/g, ' ').split(' ');
if (line && ((line[0].startsWith('/')) || (line[6] && line[6] === '/') || (line[0].indexOf('/') > 0) || (line[0].indexOf(':') === 1) || !_darwin && !isLinuxTmpFs(line[1]))) {
const fs = line[0];
const fsType = ((_linux || _freebsd || _openbsd || _netbsd) ? line[1] : getmacOsFsType(line[0]));
const size = parseInt(((_linux || _freebsd || _openbsd || _netbsd) ? line[2] : line[1])) * 1024;
const used = parseInt(((_linux || _freebsd || _openbsd || _netbsd) ? line[3] : line[2])) * 1024;
const available = parseInt(((_linux || _freebsd || _openbsd || _netbsd) ? line[4] : line[3])) * 1024;
const use = parseFloat((100.0 * (used / (used + available))).toFixed(2));
let rw = true;
line.splice(0, (_linux || _freebsd || _openbsd || _netbsd) ? 6 : 5);
const mount = line.join(' ');
if (!data.find(el => (el.fs === fs && el.type === fsType))) {
data.push({
fs,
type: fsType,
size,
used,
available,
use,
mount,
rw
});
}
}
}
});
return data;
}
const stdout = `Filesystem Type 1024-blocks Used Available Capacity Mounted on
overlay overlay 959786032 72771224 838186600 8% /
tmpfs tmpfs 65536 0 65536 0% /dev
shm tmpfs 65536 0 65536 0% /dev/shm
/dev/nvme0n1p2 ext4 959786032 72771224 838186600 8% /mnt/host
udev devtmpfs 16160512 0 16160512 0% /mnt/host/dev
tmpfs tmpfs 16198784 0 16198784 0% /mnt/host/dev/shm
tmpfs tmpfs 3239760 6048 3233712 0% /mnt/host/run
tmpfs tmpfs 5120 4 5116 0% /mnt/host/run/lock
tmpfs tmpfs 3239760 6048 3233712 0% /mnt/host/run/snapd/ns
tmpfs tmpfs 3239756 112 3239644 0% /mnt/host/run/user/1000
efivarfs efivarfs 192 114 73 61% /mnt/host/sys/firmware/efi/efivars
/dev/loop0 squashfs 128 128 0 100% /mnt/host/snap/bare/5
/dev/loop1 squashfs 9856 9856 0 100% /mnt/host/snap/canonical-livepatch/246
/dev/loop2 squashfs 9600 9600 0 100% /mnt/host/snap/certbot-dns-cloudflare/3182
/dev/loop4 squashfs 9600 9600 0 100% /mnt/host/snap/certbot-dns-cloudflare/3077
/dev/loop3 squashfs 108416 108416 0 100% /mnt/host/snap/core/16202
/dev/loop5 squashfs 65024 65024 0 100% /mnt/host/snap/core20/2015
/dev/loop6 squashfs 65536 65536 0 100% /mnt/host/snap/core20/2105
/dev/loop7 squashfs 75904 75904 0 100% /mnt/host/snap/core22/1033
/dev/loop8 squashfs 75776 75776 0 100% /mnt/host/snap/core22/864
/dev/loop9 squashfs 251904 251904 0 100% /mnt/host/snap/firefox/3600
/dev/loop10 squashfs 358144 358144 0 100% /mnt/host/snap/gnome-3-38-2004/143
/dev/loop11 squashfs 251904 251904 0 100% /mnt/host/snap/firefox/3626
/dev/loop12 squashfs 497280 497280 0 100% /mnt/host/snap/gnome-42-2204/120
/dev/loop13 squashfs 508928 508928 0 100% /mnt/host/snap/gnome-42-2204/141
/dev/loop14 squashfs 93952 93952 0 100% /mnt/host/snap/gtk-common-themes/1535
/dev/loop15 squashfs 12672 12672 0 100% /mnt/host/snap/snap-store/959
/dev/loop16 squashfs 41856 41856 0 100% /mnt/host/snap/snapd/20290
/dev/loop17 squashfs 41472 41472 0 100% /mnt/host/snap/snapd/20671
/dev/nvme0n1p2 ext4 959786032 72771224 838186600 8% /mnt/host/var/snap/firefox/common/host-hunspell
/dev/loop18 squashfs 512 512 0 100% /mnt/host/snap/snapd-desktop-integration/83
/dev/nvme0n1p1 vfat 523248 6220 517028 1% /mnt/host/boot/efi
//10.0.0.20/Media/UFC cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/UFC
//10.0.0.20/Media/Photos cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/Photos
//10.0.0.20/Media/Documentaries cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/Documentaries
//10.0.0.20/Media/Comedy cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/Comedy
//10.0.0.20/Media/Backup cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Backup
//10.0.0.20/Media/Movies cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/Movies
df: /mnt/host/DATA/Media/TV Shows: No such file or directory
//10.0.0.20/Media/Music cifs 39345255876 9628426672 29716829204 24% /mnt/host/DATA/Media/Music
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/609b3711d4d40a122bff2618c055282cf7621c5db0887331f141b0e7a1fabe50/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/792681f63aac9b60917018ab7521053bab14dfb7d2c33aac7c79c91664a32668/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/daf29832440922f7e7be22900a766d7e444cd0db81d44f50f238d3a6064f11cc/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/c120998fe94f81804d36d4c955490e795716b916560816910a836b8ddce2f3ee/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/890c9f9f4c84da38bcdd8f04586737235c22498c56f48df6e585d5efac4930dc/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/ba5a342d8cb11ceb07d5f7f502daaaec107627ced540990f81c06105ff56d0e5/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/a8416f2c5689ba4e511c8391c67c12fc42ca636f9a32c6561c3800b86a372a23/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/769bc06e0709900d1baac2688fd36de4466ae04a57e32f951c947198012e3e56/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/c8c2d87d1a8a792825767332092a59d4dfe54e9c7aa977e09156a852bef26984/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/ecfe327328e392093dead3950021a9a274c30926b99a8dfca11caef8ea2ade8e/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/cac7ab0bc56db7a85d676f2e9ae7f9816426e682190782d1ddfcfa7782b98586/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/bea9eda233c02b805e77f6b15218f5316307b29ffb13a9cbff5eeaa546a5e36d/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/dad052dcc97c729f9168482d1b9355742c5f2be8cd4811a619d3ca52b2a16f46/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/13b54b79bdd876a46bef879d52242a087e91accb2bb1990712b9e019fb184d8c/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/b3fbb5da518f45a39316e65d029877900f56a0356aa58d262d094a81ad4885f0/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/b3fbb5da518f45a39316e65d029877900f56a0356aa58d262d094a81ad4885f0/merged
tmpfs tmpfs 65536 0 65536 0% /mnt/host/var/lib/docker/overlay2/b3fbb5da518f45a39316e65d029877900f56a0356aa58d262d094a81ad4885f0/merged/dev
shm tmpfs 65536 0 65536 0% /mnt/host/var/lib/docker/overlay2/b3fbb5da518f45a39316e65d029877900f56a0356aa58d262d094a81ad4885f0/merged/dev/shm
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/228ef67d243a2dfff1f1ed9f4e6a91c468ed86b3f8f630f127874e3b513937f8/merged
/dev/nvme0n1p2 ext4 959786032 72771220 838186604 8% /etc/resolv.conf
/dev/nvme0n1p2 ext4 959786032 72771220 838186604 8% /etc/hostname
/dev/nvme0n1p2 ext4 959786032 72771220 838186604 8% /etc/hosts
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/e4a73ae9ac0d6bb36d200933b28619cac8c6651885dcab25dbc01c94d16067ca/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/91f151eccaddad2d3e0c82e8fce66954f767b4f3228605640f011ab5f2973c77/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/4256ed12378be75adbd9db14ee8acbf67493a8ab5f9b0a9edd08a9b629bee75b/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/3c780521520f4ba9d98b477686dcdb9519e7e619300e2ccd0782bfd9d374ff13/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/a44619aa4420bf471e17f5c07754f8d702628f5ab685bd1628c9e169cd56229e/merged
overlay overlay 959786032 72771220 838186604 8% /mnt/host/var/lib/docker/overlay2/9a20a660bb6a4a38525ffee6529344056f0b7f77138dd482eece389aabf03e37/merged`
let lines = filterLines(stdout);
data = parseDf(lines);
console.log(data);
Output:
[ { fs: 'overlay',
type: 'overlay',
size: 982820896768,
used: 74517733376,
available: 858303078400,
use: 7.99,
mount: '/',
rw: true },
{ fs: '/dev/nvme0n1p2',
type: 'ext4',
size: 982820896768,
used: 74517733376,
available: 858303078400,
use: 7.99,
mount: '/mnt/host',
rw: true },
{ fs: 'efivarfs',
type: 'efivarfs',
size: 196608,
used: 116736,
available: 74752,
use: 60.96,
mount: '/mnt/host/sys/firmware/efi/efivars',
rw: true },
{ fs: '/dev/loop0',
type: 'squashfs',
size: 131072,
used: 131072,
available: 0,
use: 100,
mount: '/mnt/host/snap/bare/5',
rw: true },
{ fs: '/dev/loop1',
type: 'squashfs',
size: 10092544,
used: 10092544,
available: 0,
use: 100,
mount: '/mnt/host/snap/canonical-livepatch/246',
rw: true },
{ fs: '/dev/loop2',
type: 'squashfs',
size: 9830400,
used: 9830400,
available: 0,
use: 100,
mount: '/mnt/host/snap/certbot-dns-cloudflare/3182',
rw: true },
{ fs: '/dev/loop4',
type: 'squashfs',
size: 9830400,
used: 9830400,
available: 0,
use: 100,
mount: '/mnt/host/snap/certbot-dns-cloudflare/3077',
rw: true },
{ fs: '/dev/loop3',
type: 'squashfs',
size: 111017984,
used: 111017984,
available: 0,
use: 100,
mount: '/mnt/host/snap/core/16202',
rw: true },
{ fs: '/dev/loop5',
type: 'squashfs',
size: 66584576,
used: 66584576,
available: 0,
use: 100,
mount: '/mnt/host/snap/core20/2015',
rw: true },
{ fs: '/dev/loop6',
type: 'squashfs',
size: 67108864,
used: 67108864,
available: 0,
use: 100,
mount: '/mnt/host/snap/core20/2105',
rw: true },
{ fs: '/dev/loop7',
type: 'squashfs',
size: 77725696,
used: 77725696,
available: 0,
use: 100,
mount: '/mnt/host/snap/core22/1033',
rw: true },
{ fs: '/dev/loop8',
type: 'squashfs',
size: 77594624,
used: 77594624,
available: 0,
use: 100,
mount: '/mnt/host/snap/core22/864',
rw: true },
{ fs: '/dev/loop9',
type: 'squashfs',
size: 257949696,
used: 257949696,
available: 0,
use: 100,
mount: '/mnt/host/snap/firefox/3600',
rw: true },
{ fs: '/dev/loop10',
type: 'squashfs',
size: 366739456,
used: 366739456,
available: 0,
use: 100,
mount: '/mnt/host/snap/gnome-3-38-2004/143',
rw: true },
{ fs: '/dev/loop11',
type: 'squashfs',
size: 257949696,
used: 257949696,
available: 0,
use: 100,
mount: '/mnt/host/snap/firefox/3626',
rw: true },
{ fs: '/dev/loop12',
type: 'squashfs',
size: 509214720,
used: 509214720,
available: 0,
use: 100,
mount: '/mnt/host/snap/gnome-42-2204/120',
rw: true },
{ fs: '/dev/loop13',
type: 'squashfs',
size: 521142272,
used: 521142272,
available: 0,
use: 100,
mount: '/mnt/host/snap/gnome-42-2204/141',
rw: true },
{ fs: '/dev/loop14',
type: 'squashfs',
size: 96206848,
used: 96206848,
available: 0,
use: 100,
mount: '/mnt/host/snap/gtk-common-themes/1535',
rw: true },
{ fs: '/dev/loop15',
type: 'squashfs',
size: 12976128,
used: 12976128,
available: 0,
use: 100,
mount: '/mnt/host/snap/snap-store/959',
rw: true },
{ fs: '/dev/loop16',
type: 'squashfs',
size: 42860544,
used: 42860544,
available: 0,
use: 100,
mount: '/mnt/host/snap/snapd/20290',
rw: true },
{ fs: '/dev/loop17',
type: 'squashfs',
size: 42467328,
used: 42467328,
available: 0,
use: 100,
mount: '/mnt/host/snap/snapd/20671',
rw: true },
{ fs: '/dev/loop18',
type: 'squashfs',
size: 524288,
used: 524288,
available: 0,
use: 100,
mount: '/mnt/host/snap/snapd-desktop-integration/83',
rw: true },
{ fs: '/dev/nvme0n1p1',
type: 'vfat',
size: 535805952,
used: 6369280,
available: 529436672,
use: 1.19,
mount: '/mnt/host/boot/efi',
rw: true },
{ fs: '//10.0.0.20/Media/UFC',
type: 'cifs',
size: 40289542017024,
used: 9859508912128,
available: 30430033104896,
use: 24.47,
mount: '/mnt/host/DATA/Media/UFC',
rw: true },
{ fs: '//10.0.0.20/Media/Photos',
type: 'cifs',
size: 40289542017024,
used: 9859508912128,
available: 30430033104896,
use: 24.47,
mount: '/mnt/host/DATA/Media/Photos',
rw: true },
{ fs: '//10.0.0.20/Media/Documentaries',
type: 'cifs',
size: 40289542017024,
used: 9859508912128,
available: 30430033104896,
use: 24.47,
mount: '/mnt/host/DATA/Media/Documentaries',
rw: true },
{ fs: '//10.0.0.20/Media/Comedy',
type: 'cifs',
size: 40289542017024,
used: 9859508912128,
available: 30430033104896,
use: 24.47,
mount: '/mnt/host/DATA/Media/Comedy',
rw: true },
{ fs: '//10.0.0.20/Media/Backup',
type: 'cifs',
size: 40289542017024,
used: 9859508912128,
available: 30430033104896,
use: 24.47,
mount: '/mnt/host/DATA/Backup',
rw: true },
{ fs: '//10.0.0.20/Media/Movies',
type: 'cifs',
size: 40289542017024,
used: 9859508912128,
available: 30430033104896,
use: 24.47,
mount: '/mnt/host/DATA/Media/Movies',
rw: true },
{ fs: 'df:',
type: '/mnt/host/DATA/Media/TV',
size: NaN,
used: NaN,
available: NaN,
use: NaN,
mount: 'or directory',
rw: true },
{ fs: '//10.0.0.20/Media/Music',
type: 'cifs',
size: 40289542017024,
used: 9859508912128,
available: 30430033104896,
use: 24.47,
mount: '/mnt/host/DATA/Media/Music',
rw: true } ]
Do you have any idea?
About this issue
- Original URL
- State: open
- Created 5 months ago
- Comments: 18 (5 by maintainers)
@MauriceNino seems df does not accept the -l or -x operators…
I got the below errors and then was able to run it successfully after removing l and x. Unfortunately I then get the error that df was unable to find the squashfs mount point.