Search code examples
linuxmountcgroups

What does 'none' mean in "mount -t cgroup -o cpuset none /cpuset"


When practising cgroup, we need mount like mount -t cgroup -o cpuset none /cpuset

Would you explain the significance of none here?

Seems it's just a name and I could set it as any string, right?

Is there any file, folder or file contant based on it?


Solution

  • Certain filesystems aren't associated with a physical device (such as a partition or network share, which is what is expected at that point in the mount command) and it is/was customary to use none for these. I've seen a more reasonable approach, using a more descriptive name, eg. cpuset in your case.

    Cheers,