tazusb rev 54

Add get_label to format command
author Paul Issott <paul@slitaz.org>
date Thu Feb 11 22:06:07 2010 +0000 (2010-02-11)
parents cb3667444dbb
children db57ef02885c
files tazusb
line diff
     1.1 --- a/tazusb	Tue Jan 26 15:20:15 2010 +0000
     1.2 +++ b/tazusb	Thu Feb 11 22:06:07 2010 +0000
     1.3 @@ -527,7 +527,7 @@
     1.4  		echo -en "----\nENTER to continue..."; read i
     1.5  		;;
     1.6  	format)
     1.7 -		# Format a partitions in ext3.
     1.8 +		# Format a partition.
     1.9  		check_root
    1.10  		echo ""
    1.11  		echo -e "\033[1mFormat a device\033[0m"
    1.12 @@ -542,6 +542,7 @@
    1.13  			echo "Device : $DEVICE"
    1.14  		fi
    1.15  		test -z $fs_type &&	get_fs_type
    1.16 +		get_label
    1.17  		unmount_target_usb 
    1.18  		make_fs "$fs_type"
    1.19  		#mkfs_ext3