hal/tools hal-system-storage-mount,1.4,1.5

David Zeuthen david at freedesktop.org
Wed Dec 14 11:51:15 PST 2005


Update of /cvs/hal/hal/tools
In directory gabe:/tmp/cvs-serv26658/tools

Modified Files:
	hal-system-storage-mount 
Log Message:
2005-12-14  David Zeuthen  <david at fubar.dk>

        Remove the dry-run boolean option. Need a better way to figure out
        what mount options are available.

        * tools/hal-system-storage-mount :
        * fdi/policy/10osvendor/20-storage-methods.fdi:



Index: hal-system-storage-mount
===================================================================
RCS file: /cvs/hal/hal/tools/hal-system-storage-mount,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- hal-system-storage-mount	14 Dec 2005 00:46:34 -0000	1.4
+++ hal-system-storage-mount	14 Dec 2005 19:51:13 -0000	1.5
@@ -31,11 +31,9 @@
 # "MyDisk\n"
 # "fuse\n"
 # "ro\tsync\n"
-# "[true|false]\n"
 read GIVEN_MOUNTPOINT
 read GIVEN_MOUNTTYPE
 read GIVEN_MOUNTOPTIONS
-read GIVEN_DRYRUN
 
 # if no mountpoint, get mountpoint from label
 if [ "$GIVEN_MOUNTPOINT" == "" ]; then
@@ -130,12 +128,6 @@
 	;;
 esac
 
-# If it's a dryrun we're done at this point
-if [ "$GIVEN_DRYRUN" == "true" ]; then
-    echo "dryrun done"
-    exit 0
-fi
-
 # append number to mountpoint if it already exists
 if [ -e "$MOUNT_ROOT/$MOUNTPOINT" ]; then
     NUM=1;




More information about the hal-commit mailing list