Re: nosh version 1.31

From: Guillermo <gdiazhartusch_at_gmail.com>
Date: Mon, 23 Jan 2017 22:51:03 -0300

2017-01-23 19:36 GMT-03:00 Jonathan de Boyne Pollard:
>
> Debian's initramfs mounts /proc, /sys, /run, and a whole lot of other stuff
> before /sbin/init is run. Yours does not.

Ah, that's because I don't *have* any initramfs :D

> 1. There's a chicken-and-egg situation with having to read
> /proc/filesystems in order to determine what API filesystems can be mounted.
> Good old Linux, eh?

It's just a matter of ordering constraints, /proc needs to be mounted
before calling query_control_group_level(),
query_control_group_level() needs to be called before deciding what to
mount under /sys/fs/cgroup, and /sys needs to be mounted before
actually doing it.

Thanks,
G.
Received on Tue Jan 24 2017 - 01:51:03 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC