gpt4 book ai didi

linux - 交换器 :/swapfile: swapon failed: Function not implemented When enabling swap

转载 作者:行者123 更新时间:2023-12-04 15:29:50 24 4
gpt4 key购买 nike

我尝试根据此网站启用交换:https://linuxize.com/post/create-a-linux-swap-file/

当我跑 sudo swapon /swapfile ,它返回了这个错误:
swapon: /swapfile: swapon failed: Function not implemented

最佳答案

您正在使用的内核中似乎未启用 CONFIG_SWAP。
请启用它并尝试。

关于linux - 交换器 :/swapfile: swapon failed: Function not implemented When enabling swap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61449286/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com