On 06/27/2016 09:42 AM, James Bottomley wrote: > On Tue, 2016-06-21 at 07:38 +0000, Rosen, Rami wrote: >> Hi, Ma, >> >>> Ah, it seems work, but I'm not sure. >> >>>> Then, I executed: >>>> # mount -t cgroup2 none /mnt >> >> It should work. The thing is, according to my trials from the past, >> it could be that systemd triggers mounting of cgroup V1 controllers. >> When I made trials with cgroup v2, eventually I turned on to disros >> which do not run systemd (namely, it was Ubuntu. You can set Ubuntu >> not to use systemd, even in most recent Ubuntu systems, where systemd >> became the default). > > This is the right answer. I've spent ages trying to figure out how to > do it on my openSUSE laptop because I actually want to demo the v2 API. > However, it seems to be impossible. You can't prevent systemd from > mounting the v1 hierarchies and that means you can't get v2 ones > running. The only real way to do it on a modern laptop is to use a > virtual machine (sadly you can't use a container because systemd has > already contaminated the host kernel). I tend to use debian because > they have an installation procedure for dumping systemd: > > http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_jessie/sid_installation > > But I suppose this systemdless Devuan distribution might do as well > (not tried it): > > https://www.devuan.org/ Thanks for your information. > > James > > -- > To unsubscribe from this list: send the line "unsubscribe cgroups" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > -- Ma Shimiao Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html