mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Improve NVMe support
Running with btrfs on el cheapo NVMe SSD: http://ix.io/1mpG
This commit is contained in:
@@ -96,7 +96,7 @@ log_hardware_info() {
|
||||
which zpool >/dev/null 2>&1 && echo -e "\n### zpools:\n\n$(zpool list)\n\n### zfs datasets:\n\n$(zfs list)" >>${Log}
|
||||
echo -e "\n### lsblk:\n" >>${Log}
|
||||
lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,UUID | grep -v "SWAP" >>${Log}
|
||||
which zramctl && echo -e "\n### zramctl:\n\n$(zramctl)" >>${Log}
|
||||
which zramctl >/dev/null 2>&1 && echo -e "\n### zramctl:\n\n$(zramctl)" >>${Log}
|
||||
echo -e "\n### mtab:\n" >>${Log}
|
||||
egrep '^/dev/|\ zfs\ ' /etc/mtab | egrep -v "log2ram|folder2ram" | sort >>${Log}
|
||||
[[ -e /boot/script.bin ]] && echo -e "\n### /boot/script.bin --> $(readlink /boot/script.bin)" >>${Log}
|
||||
|
||||
Reference in New Issue
Block a user