wwpokenet
V2EX  ›  macOS

sudo find 后遗症

  •  
  •   wwpokenet · Jan 10, 2018 · 3060 views
    This topic created in 3073 days ago, the information mentioned may be changed or developed.
    作死在 bash 上 sudo find xxx 后,系统自动崩溃重启了。
    然后 1.在 finder 里每次搜索都会系统崩溃
    2.每次崩溃 mds 都要花大量时间建立文件索引。
    请问有人知道要怎么解决吗...
    7 replies    2018-01-12 22:32:08 +08:00
    JsonLee
        1
    JsonLee  
       Jan 11, 2018 via iPhone
    为啥 find 会引起系统崩溃呢?多次 sudo 来执行 find,也没遇到你说的崩溃问题。
    function007
        2
    function007  
       Jan 11, 2018
    感觉。。可能不是 find 的锅。。
    wwpokenet
        3
    wwpokenet  
    OP
       Jan 11, 2018
    欸???
    我记得第一次 sudo find 之后,它搜索了几秒钟然后就突然黑屏,紧接着启动了 windows😳
    我赶紧关掉 windows,切进 macos 它显示“您的系统遇到问题需要重启”,很多国语言的那个。
    然后再搜索就会直接系统崩溃。
    sutra
        4
    sutra  
       Jan 11, 2018
    难道是磁盘有问题?
    MartinWu
        5
    MartinWu  
       Jan 12, 2018
    我怀疑你的 find 有 -exec
    wwpokenet
        6
    wwpokenet  
    OP
       Jan 12, 2018
    @MartinWu 单纯 command+space 用 spotlight 搜索也会崩溃,很奇怪。
    MartinWu
        7
    MartinWu  
       Jan 12, 2018
    @wwpokenet 难道跟以创建的索引有关? 你清空下索引看看?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1012 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 77ms · UTC 18:42 · PVG 02:42 · LAX 11:42 · JFK 14:42
    ♥ Do have faith in what you're doing.