search for: ramfs_mag

Displaying 2 results from an estimated 2 matches for "ramfs_mag".

Did you mean: ramfs_magic
2006 Sep 28
1
ramfs to tmpfs
...nistd.h> #include <utime.h> /* Make it possible to compile on glibc by including constants that the always-behind shipped glibc headers may not include. Classic example on why the lack of ABI headers screw us up. */ #ifndef TMPFS_MAGIC # define TMPFS_MAGIC 0x01021994 #endif #ifndef RAMFS_MAGIC # define RAMFS_MAGIC 0x858458f6 #endif #ifndef MS_MOVE # define MS_MOVE 8192 #endif #define NEWROOT "/newroot" #define CMDLINE "/proc/cmdline" #define MEMINFO "/proc/meminfo" static const char *program; // argv[0] static char newroot[512]; // where newroot will be...
2011 Jul 13
9
[PATCH 0/8] switch_root() enhancements
On a train ride to Bruxelles, brought out my axe and directly attacked run_init(8). run_init(8) is dead, long live switch_root(8). The next run on switch_root(8) involves fdopendir, so another push for the upcoming stdio 1.6 branch. The following is boot tested with initramfs-tools, kinit(8) tests would very much be appreciated!? Michal Suchanek (1): [klibc] switch_root: Fix single file