Re: [PATCH/RFC] Have sane default values for cpusets
From: Lennart Poettering
Date: Thu May 13 2010 - 19:56:19 EST
On Fri, 14.05.10 02:37, Balbir Singh (balbir@xxxxxxxxxxxxxxxxxx) wrote:
> > > Oh, that is possible? How would I do that?
> > >
> > > This certainly doesn't work:
> > >
> > > # mount waldo -t cgroup /tmp/xxxx -o defaults
> >
> > An neither does this:
> >
> > # mount waldo -t cgroup /tmp/xxxx -o name=systemd
> >
> > (the mount() syscall fails with EINVAL here, the other one fails with EBUSY)
> >
>
> Can you try the command below
>
> mount -t cgroup cgroup -o none,name=hello /cgroup/
>
> Works for me.
That line certainly works, but unfortunately your own libcgroup
completely ignores mount points like this. Meh.
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/