slitaz-tools diff lib/libmountbox @ rev 252

Fix spelling, typos, wording, etc.
author Mike D. Smith <MikeDSmith25@gmail.com>
date Sat Jul 19 06:35:45 2008 +0000 (2008-07-19)
parents dbaa9c4f319c
children 426e821a7516
line diff
     1.1 --- a/lib/libmountbox	Sun May 11 00:25:10 2008 +0200
     1.2 +++ b/lib/libmountbox	Sat Jul 19 06:35:45 2008 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  #!/bin/sh
     1.5  #
     1.6 -# Libmountbox provide devices list in suitable format for GTK tree
     1.7 -# and varius dialog boxes to mount, umount, etc.
     1.8 +# Libmountbox provides devices list in suitable format for GTK tree
     1.9 +# and various dialog boxes to mount, umount, etc.
    1.10  #
    1.11  # (C) 2008 - SliTaz GNU/Linux project.
    1.12  #
    1.13 @@ -10,7 +10,7 @@
    1.14  usage()
    1.15  {
    1.16  	echo -e "\nUsage: $0 command\n
    1.17 -Outpout commads:
    1.18 +Output commands:
    1.19    list-mounted      List all mounted devices in suitable GTK tree format.
    1.20    list-umounted     List all umounted in suitable GTK tree format.
    1.21    
    1.22 @@ -19,7 +19,7 @@
    1.23    umounted-fs-infos  Display a umounted devices infos with actions.\n"
    1.24  }
    1.25  
    1.26 -# Format df -h output fot GTK tree.
    1.27 +# Format df -h output for GTK tree.
    1.28  mounted_fs_data()
    1.29  {
    1.30  	SIZE=`echo $RES | cut -d " " -f 2`
    1.31 @@ -56,7 +56,7 @@
    1.32  			else
    1.33  				BOOT="-"
    1.34  			fi
    1.35 -			# Skip swap, extended part and mounted.
    1.36 +			# Skip swap, extended, and mounted partitions.
    1.37  			if echo $RES | grep -q "swap" || echo $RES | grep -q "Extended" ; then
    1.38  				continue
    1.39  			elif mount | grep -q "^$dev"; then
    1.40 @@ -66,7 +66,7 @@
    1.41  			fi
    1.42  		done ;;
    1.43  	mounted-fs-infos)
    1.44 -		# Mounted fs infos and actions, rootfs or other fs.
    1.45 +		# Mounted fs info and actions, rootfs or other fs.
    1.46  		#
    1.47  		if [ "$MOUNTED" == "/dev/root" ]; then
    1.48  			export MOUNTED_DEVICE="
    1.49 @@ -136,7 +136,7 @@
    1.50  		gtkdialog --center --program=MOUNTED_DEVICE
    1.51  		fi ;;
    1.52  	umounted-fs-infos)
    1.53 -		# Mounted fs infos and actions, rootfs or other fs.
    1.54 +		# Mounted fs info and actions, rootfs or other fs.
    1.55  		#
    1.56  		UUID=`blkid | grep ^$DEVICE | sed 's/.*UUID=\"\([^ ]*\)\".*/\1/'`
    1.57  		TYPE=`blkid | grep ^$DEVICE | sed 's/.*TYPE=\"\([^ ]*\)\".*/\1/'`