Ubuntu 10.04 LTS (Lucid Lynx) AMI: Difference between revisions

No edit summary
Line 583: Line 583:
if [ "`/bin/cat /proc/partitions | /bin/fgrep sdp`" ]; then
if [ "`/bin/cat /proc/partitions | /bin/fgrep sdp`" ]; then
     /sbin/tune2fs -c -1 -i 0 /dev/sdp > /dev/null 2>&1
     /sbin/tune2fs -c -1 -i 0 /dev/sdp > /dev/null 2>&1
     /sbin/e2label /dev/sda1 uec-rootfs
     /sbin/e2label /dev/sda1 cloudimg-rootfs
     if [ "`/bin/cat /proc/mounts | /bin/fgrep sdp`" ]; then
     if [ "`/bin/cat /proc/mounts | /bin/fgrep sdp`" ]; then
echo "Warn: /dev/sdp is already mounted."
echo "Warn: /dev/sdp is already mounted."