summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-03-13 10:50:48 +0200
committerGitHub <noreply@github.com>2023-03-13 10:50:48 +0200
commit5ee397eab6de0349ce3e75d09fd2d1cc35bf6b29 (patch)
tree8f456847730755a68b7dba546445b06f70f55fb3 /daemon
parent0cbe6e89be67f8932ce4890e54158b1dc46d5c7a (diff)
fix system info disk size detection on raspberry pi (#14711)
Diffstat (limited to 'daemon')
-rwxr-xr-xdaemon/system-info.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/system-info.sh b/daemon/system-info.sh
index c2660ca210..b7cec086b0 100755
--- a/daemon/system-info.sh
+++ b/daemon/system-info.sh
@@ -396,7 +396,7 @@ else
# These translate to the prefixs of files in `/dev` indicating the device type.
# They are sorted by lowest used device major number, with dynamically assigned ones at the end.
# We use this to look up device major numbers in `/proc/devices`
- device_names='hd sd mfm ad ftl pd nftl dasd intfl mmcblk ub xvd rfd vbd nvme virtblk blkext'
+ device_names='hd sd mfm ad ftl pd nftl dasd intfl mmcblk mmc ub xvd rfd vbd nvme virtblk blkext'
for name in ${device_names}; do
if grep -qE " ${name}\$" /proc/devices; then