From e9e9d77df2029d26246a47cc1d0724a02bedf06a Mon Sep 17 00:00:00 2001 From: blutack Date: Mon, 27 Oct 2014 15:11:28 +0000 Subject: [PATCH] Add partition labels for quick identification Add BOOT and ROOT partition labels for quickly identifying the partitions in GUI file browsers. --- arch4bone.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch4bone.sh b/arch4bone.sh index defc1d4..af3d717 100644 --- a/arch4bone.sh +++ b/arch4bone.sh @@ -268,10 +268,10 @@ echo "Creating fat16 boot partition filesystem ..." echo "Creating ext4 root partition filesystem ..." # Create the fat16 filesystem at the first partition ... -mkfs.vfat -F 16 $part1 +mkfs.vfat -n "BOOT" -F 16 $part1 # ... and the ext4 filesystem at the second partition. -mkfs.ext4 $part2 +mkfs.ext4 -L "ROOT" $part2 # Print out the new partition table. parted $device print @@ -307,4 +307,4 @@ tar -xf /tmp/bone/ArchLinuxARM-am33x-latest.tar.gz -C /tmp/bone/root umount /tmp/bone/root # Done! Print out some information to the user. -echo "Done!" \ No newline at end of file +echo "Done!"