Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在练习 cgroup 时,我们需要 mount likemount -t cgroup -o cpuset none /cpuset
mount -t cgroup -o cpuset none /cpuset
你能解释一下这里的意义none吗?
none
似乎它只是一个名称,我可以将其设置为任何字符串,对吧?
是否有任何基于它的文件、文件夹或文件内容?
某些文件系统与物理device(例如分区或网络共享,这是该mount命令中预期的)没有关联,并且习惯于使用none这些文件系统。我见过一种更合理的方法,使用更具描述性的名称,例如。cpuset在你的情况下。
device
mount
cpuset
干杯,