V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Chaconne
V2EX  ›  macOS

下载安装 smartmontools.dmg 文件之后还是无法运行

  •  
  •   Chaconne · 2022-08-27 22:06:58 +08:00 · 768 次点击
    这是一个创建于 601 天前的主题,其中的信息可能已经有所发展或是发生改变。
    官网下载安装 smartmontools.dmg 文件,安装了,但是允许 smartctl -a /dev/disk0,提示“command not found: smartctl”,之前通过 brew 安装 smartmontools 是正常的,和现在这 dmg 文件直接安装有啥不一样?
    2 条回复    2022-08-28 13:47:26 +08:00
    xtinput
        1
    xtinput  
       2022-08-27 23:17:42 +08:00
    PATH 里面没有包含 smartctl 所在的文件夹
    ihwbunny
        2
    ihwbunny  
       2022-08-28 13:47:26 +08:00
    PATH 中需包含 /usr/local/sbin
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1563 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:53 · PVG 00:53 · LAX 09:53 · JFK 12:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.