hal/tools/callouts fstab-update.sh,1.11,1.12

David Zeuthen david at freedesktop.org
Wed Aug 11 12:58:02 PDT 2004


Update of /cvs/hal/hal/tools/callouts
In directory pdx:/tmp/cvs-serv27609

Modified Files:
	fstab-update.sh 
Log Message:
Forgot to commit this file

Index: fstab-update.sh
===================================================================
RCS file: /cvs/hal/hal/tools/callouts/fstab-update.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- fstab-update.sh	6 Jun 2004 16:58:58 -0000	1.11
+++ fstab-update.sh	11 Aug 2004 19:58:00 -0000	1.12
@@ -24,14 +24,14 @@
     exit 0
 fi
 
-if test "$HAL_PROP_BLOCK_NO_PARTITIONS" != "true"; then
-    if test "$HAL_PROP_BLOCK_IS_VOLUME" != "true"; then
-	echo "not a volume"
-	exit 0
-    fi
-else
-    if test "$HAL_PROP_BLOCK_IS_VOLUME" = "true"; then
-	echo "volume, but on a block.no_partition device"
+echo FOOOObar dev=$HAL_PROP_BLOCK_DEVICE  $HAL_PROP_STORAGE_NO_PARTITIONS_HINT
+
+# do create fstab entries ahead of time for storage
+# devices that hint they mainly use that kind of media
+# (such as optical drives and floppies)
+#
+if test "$HAL_PROP_STORAGE_NO_PARTITIONS_HINT" = "false"; then
+    if test "$HAL_PROP_BLOCK_IS_VOLUME" = "false"; then
 	exit 0
     fi
 fi




More information about the hal-commit mailing list