7,166
edits
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 | /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." |