Revision 922c1513
b/snf-image-helper/tasks/30MountImage.in | ||
---|---|---|
55 | 55 |
exit 1 |
56 | 56 |
fi |
57 | 57 |
$MOUNT -t ufs -o ufstype="$ufstype,rw" "$rootdev" "$SNF_IMAGE_TARGET" |
58 |
|
|
59 |
# In many cases when you try to mount a UFS file system read-write, |
|
60 |
# the mount command returns SUCCESS and a message like this gets printed: |
|
61 |
# |
|
62 |
# mount: warning: /mnt seems to be mounted read-only. |
|
63 |
# |
|
64 |
# remounting does the trick |
|
65 |
$MOUNT -o remount,rw "$SNF_IMAGE_TARGET" |
|
58 | 66 |
else |
59 | 67 |
$MOUNT -o rw "$rootdev" "$SNF_IMAGE_TARGET" |
60 | 68 |
fi |
Also available in: Unified diff