这是一个创建于 775 天前的主题,其中的信息可能已经有所发展或是发生改变。
官网下载安装 smartmontools.dmg 文件,安装了,但是允许 smartctl -a /dev/disk0,提示“command not found: smartctl”,之前通过 brew 安装 smartmontools 是正常的,和现在这 dmg 文件直接安装有啥不一样?
2 条回复 • 2022-08-28 13:47:26 +08:00
|
|
1
xtinput 2022-08-27 23:17:42 +08:00
PATH 里面没有包含 smartctl 所在的文件夹
|
|
|
2
ihwbunny 2022-08-28 13:47:26 +08:00
PATH 中需包含 /usr/local/sbin
|