Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/OperatingSystems/Linux.php
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ public function getDiskInfo(): array {
foreach ($matches['Filesystem'] as $i => $filesystem) {
if (in_array($matches['Type'][$i], ['tmpfs', 'devtmpfs', 'squashfs', 'overlay', 'efivarfs'], false)) {
continue;
} elseif (in_array($matches['Mounted'][$i], ['/etc/hostname', '/etc/hosts'], false)) {
} elseif (in_array($matches['Mounted'][$i], ['/etc/hostname', '/etc/hosts', '/boot', '/boot/efi'], false)) {
continue;
}

Expand Down
2 changes: 2 additions & 0 deletions tests/data/linux_df_tp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ Filesystem Type 1024-blocks Used Available
udev devtmpfs 4052408 0 4052408 0% /dev
tmpfs tmpfs 816800 7592 809208 1% /run
/dev/mapper/homestead--vg-root ext4 56422560 6205468 47321220 12% /
/dev/sda2 vfat 524272 34864 489408 7% /boot/efi
/dev/sda1 ext4 999320 245108 685400 27% /boot
tmpfs tmpfs 4084000 8 4083992 1% /dev/shm
tmpfs tmpfs 5120 0 5120 0% /run/lock
tmpfs tmpfs 4084000 0 4084000 0% /sys/fs/cgroup
Expand Down
Loading