Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: init

Issue 6626034: Just regular mount (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/initramfs.git@master
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: init
diff --git a/init b/init
index f1d856a22e187be78f50aa172f58d6fbb5025c0c..b812fc15557037a30a4cdd2a2c2223082b35918c 100644
--- a/init
+++ b/init
@@ -308,7 +308,7 @@ copy_lsb() {
STATEFUL_LSB="dev_image/etc/lsb-factory"
mkdir -p "${NEWROOT_MNT}/mnt/stateful_partition/dev_image/etc"
# Mounting ext3 as ext2 since the journal is unneeded in ro.
jglasgow 2011/03/07 17:02:59 This comment is no longer relevant
- if ! mount -n -o ro -t ext2 "${STATE_DEV}" "${STATEFUL_MNT}"; then
+ if ! mount -n "${STATE_DEV}" "${STATEFUL_MNT}"; then
log "Failed to mount ${STATE_DEV}!! Failing."
return 1
fi
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698