Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 97edebfacd8be1163a1ad285ddcfcf843f1a46de https://github.com/lxc/lxc/commit/97edebfacd8be1163a1ad285ddcfcf843f1a46de Author: Pranay Kr. Srivastava <pranay.srivast...@pantacor.com> Date: 2020-08-24 (Mon, 24 Aug 2020)
Changed paths: M src/lxc/utils.c Log Message: ----------- Check only rootfs as filesystem type When detecting if rootfs is on ramfs instead of checking "- rootfs rootfs" which is the " - <file_system> <device>" information only check the file system type. This is due to a change introduced in kernel where ramfs file system doesn't set the device to "rootfs" but instead mark it as "none". By making sure we only check for "rootfs" as the file system name we also offer backward compatibility with earlier kernels as well. The kernel commit that introduced this change was commit f32356261d44d580649a7abce1156d15d49cf20f Author: David Howells <dhowe...@redhat.com> Date: Mon Mar 25 16:38:31 2019 +0000 vfs: Convert ramfs, shmem, tmpfs, devtmpfs, rootfs to use the new mount API Signed-off-by: Pranay Kr. Srivastava <pranay.srivast...@pantacor.com> Commit: 00f848f31a11ac9b86793fe461d67689b0eb3118 https://github.com/lxc/lxc/commit/00f848f31a11ac9b86793fe461d67689b0eb3118 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: 2020-08-25 (Tue, 25 Aug 2020) Changed paths: M src/lxc/utils.c Log Message: ----------- Merge pull request #3529 from pranaysrivastava/fixup_rootfs_detection Check only rootfs as filesystem type Compare: https://github.com/lxc/lxc/compare/c22a1a4a52ee...00f848f31a11 _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel