fix system info disk size detection on raspberry pi (#14711)
Ilya Mashchenko committed
Mar 13, 2023 at 10:50 UTC
5ee397eab6de0349ce3e75d09fd2d1cc35bf6b29
1 file changed
+1
-1
daemon/system-info.sh
+1
-1
@@ -396,7 +396,7 @@ else
396
# These translate to the prefixs of files in `/dev` indicating the device type.
397
# They are sorted by lowest used device major number, with dynamically assigned ones at the end.
398
# We use this to look up device major numbers in `/proc/devices`
399
- device_names='hd sd mfm ad ftl pd nftl dasd intfl mmcblk ub xvd rfd vbd nvme virtblk blkext'
399
+ device_names='hd sd mfm ad ftl pd nftl dasd intfl mmcblk mmc ub xvd rfd vbd nvme virtblk blkext'
400
401
for name in ${device_names}; do
402
if grep -qE " ${name}\$" /proc/devices; then