Unified · Split
| @@ -57,6 +57,8 @@ main(int argc, char **argv) · 56 unmodified lines | |||
| 57 | panic("bind #I: %r"); | 57 | panic("bind #I: %r"); |
| 58 | if(bind("#U", "/root", MREPL) < 0) | 58 | if(bind("#U", "/root", MREPL) < 0) |
| 59 | panic("bind #U: %r"); | 59 | panic("bind #U: %r"); |
| 60 | bind("#A", "/dev", MAFTER); | ||
| 61 | |||
| 60 | if(open("/dev/cons", OREAD) != 0) | 62 | if(open("/dev/cons", OREAD) != 0) |
| 61 | panic("open0: %r"); | 63 | panic("open0: %r"); |
| 62 | if(open("/dev/cons", OWRITE) != 1) | 64 | if(open("/dev/cons", OWRITE) != 1) |