Skip to content
Snippets Groups Projects
  1. Apr 30, 2013
    • Al Tobey's avatar
      Use /proc/mounts instead of mount(8) · c6119da3
      Al Tobey authored
      Specifically, Ubuntu Precise's cgroup-lite script uses mount -n
      to mount the cgroup filesystems so they don't appear in mtab, so
      detection always fails unless the admin updates mtab with /proc/mounts.
      
      /proc/mounts is valid on just about every Linux machine in existence and
      as a bonus is much easier to parse.
      
      I also removed the regex in favor of a more accurate parser that should
      also support monolitic cgroup mounts (e.g. mount -t cgroup none /cgroup).
      c6119da3
  2. Apr 28, 2013
  3. Apr 29, 2013
  4. Apr 28, 2013
  5. Apr 26, 2013
  6. Apr 25, 2013
  7. Apr 24, 2013
  8. Apr 23, 2013
Loading