# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/linux/hotfix-devtmp-none-dev.patch # Copyright (C) 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- Use "none", not a non-existing "devtmpfs" device, as otherwise GNU coreutils mount is mounting /dev a second time, ... --- ./drivers/base/devtmpfs.c.vanilla 2024-11-18 18:20:56.378483036 +0100 +++ ./drivers/base/devtmpfs.c 2024-11-18 18:21:16.261816047 +0100 @@ -374,7 +374,7 @@ if (!thread) return 0; - err = init_mount("devtmpfs", "dev", "devtmpfs", DEVTMPFS_MFLAGS, NULL); + err = init_mount("none", "dev", "devtmpfs", DEVTMPFS_MFLAGS, NULL); if (err) printk(KERN_INFO "devtmpfs: error mounting %i\n", err); else