Changeset 594303b in mainline for uspace/app/init/init.c
- Timestamp:
- 2009-04-18T15:32:56Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d049ee0
- Parents:
- 6b6e423a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
r6b6e423a r594303b 46 46 #include <macros.h> 47 47 #include <console.h> 48 #include <string.h> 48 49 #include "init.h" 49 50 #include "version.h" … … 52 53 { 53 54 int rc = -1; 55 char *opts = ""; 54 56 57 if (str_cmp(fstype, "tmpfs") == 0) 58 opts = "restore"; 59 55 60 while (rc < 0) { 56 rc = mount(fstype, "/", "initrd", IPC_FLAG_BLOCKING);61 rc = mount(fstype, "/", "initrd", opts, IPC_FLAG_BLOCKING); 57 62 58 63 switch (rc) {
Note:
See TracChangeset
for help on using the changeset viewer.