Search found 1 match
- Mon 05 Dec 2011, 20:56
- Forum: Puppy Projects
- Topic: Remake initrd
- Replies: 2
- Views: 3522
Remake initrd
Hi All I have idea to substitute file init in initrd as (example) // 2>/dev/null; diet -v -Os gcc -static init.c -o init -Wl,-s,-x,--gc-sections; exit #include <stdio.h> #include <unistd.h> #include <sys/mount.h> #include <sys/vfs.h> #include <sys/stat.h> #include <dirent.h> #include <fcntl.h> #incl...