暗能星系

    • 登录
    • 搜索

    禁用swap

    小技巧
    1
    1
    5
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • A
      anneng 最后由 编辑

      swapoff -a
      edit /etc/fstab and comment any swap entries if present.
      run: sudo systemctl mask dev-sdXX.swap (where XX is the swap partition. Also useful to do it for all possible partitions so that if there is a swap partition on any other drive it will not be mounted)

      1 条回复 最后回复 回复 引用 0
      • First post
        Last post
      Powered by 暗能星系