mount tmpfs onto /tmp
This commit is contained in:
parent
7544fdc578
commit
2867038094
@ -11,6 +11,7 @@ void lupi_init() {
|
||||
if(getpid() == 1) {
|
||||
mount(NULL, "/sys", "sysfs", 0, NULL);
|
||||
mount(NULL, "/proc", "procfs", 0, NULL);
|
||||
mount(NULL, "/tmp", "tmpfs", 0, NULL);
|
||||
}
|
||||
struct statvfs fsstat;
|
||||
|
||||
@ -21,4 +22,4 @@ void lupi_init() {
|
||||
void lupi_init() {
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user