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

Issue 3479007: Add read only flag to mount_gpt_image (Closed)

Created:
10 years, 3 months ago by sosa
Modified:
9 years, 6 months ago
Reviewers:
Will Drewry
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Add read only flag to mount_gpt_image Change-Id: I33ea8b2148a3e49a6c5de25f2957306130ff092e BUG= TEST=Ran and verified with and without flag. Checked mount and tried writing file to rootfs (to verify it was ro). Also re-ran cros_make_image_bootable to make sure it worked fine after changes. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=e7f1a2b

Patch Set 1 #

Patch Set 2 : Fix 80 char #

Total comments: 2

Patch Set 3 : Remove eval and re-tested. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -14 lines) Patch
M mount_gpt_image.sh View 1 2 5 chunks +27 lines, -14 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sosa
Give an option to mount_gpt_image to allow it to completely mount the image ro. This ...
10 years, 3 months ago (2010-09-22 23:02:27 UTC) #1
Will Drewry
one quick question but seems fine otherwise http://codereview.chromium.org/3479007/diff/2001/3001 File mount_gpt_image.sh (right): http://codereview.chromium.org/3479007/diff/2001/3001#newcode50 mount_gpt_image.sh:50: if eval ...
10 years, 3 months ago (2010-09-23 02:33:31 UTC) #2
sosa
http://codereview.chromium.org/3479007/diff/2001/3001 File mount_gpt_image.sh (right): http://codereview.chromium.org/3479007/diff/2001/3001#newcode50 mount_gpt_image.sh:50: if eval "mount | grep \"${FLAGS_rootfs_mountpt} \(rw,bind\)\""; then Had ...
10 years, 2 months ago (2010-09-28 20:06:27 UTC) #3
sosa
ping?
10 years, 2 months ago (2010-09-29 00:31:35 UTC) #4
Will Drewry
10 years, 2 months ago (2010-09-29 00:40:17 UTC) #5
LGTM

You might want to do a full build_image and a mod_image_for_[something] and
makes sure it all goes through, but the change looks fine.

Powered by Google App Engine
This is Rietveld 408576698