Skip to content

Commit

Permalink
fstab-generator: change kernel command line mount path for root
Browse files Browse the repository at this point in the history
Use /sysroot instead of /new_root to mount the real root in the
initramfs.
  • Loading branch information
haraldh committed Feb 21, 2013
1 parent 22382c3 commit 696164c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ Features:
- journald: when dropping msgs due to ratelimit make sure to write
"dropped %u messages" not only when we are about to print the next
message that works, but alraedy after a short tiemout
- ratelimit should be configurable by message severity and by service/source
- check if we can make journalctl by default use --follow mode inside of less if called without args?
- maybe add API to send pairs of iovecs via sd_journal_send
- journal: when writing journal auto-rotate if time jumps backwards
Expand Down
4 changes: 2 additions & 2 deletions src/fstab-generator/fstab-generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,8 @@ static int parse_new_root_from_proc_cmdline(void) {

if (what) {

log_debug("Found entry what=%s where=/new_root type=%s", what, type);
r = add_mount(what, "/new_root", type, opts, 0, wait, false, false,
log_debug("Found entry what=%s where=/sysroot type=%s", what, type);
r = add_mount(what, "/sysroot", type, opts, 0, wait, false, false,
false, false, false, "/proc/cmdline");

if (r < 0)
Expand Down

0 comments on commit 696164c

Please sign in to comment.