hal/tools/callouts fstab-update.sh,1.5,1.6
David Zeuthen
david at pdx.freedesktop.org
Wed May 5 13:46:36 PDT 2004
Update of /cvs/hal/hal/tools/callouts
In directory pdx:/tmp/cvs-serv6345/tools/callouts
Modified Files:
fstab-update.sh
Log Message:
2004-05-05 David Zeuthen <david at fubar.dk>
* hald/linux/linux_dvd_rw_utils.c (get_dvd_media_type): new function
* hald/linux/block_class_device.c: rename some properties and ensure
that all properties for a namespace is always available with default
values - it's easiest to look at the diff to see what's changed; one
highlight is the introduction of the volume.* namespace.
(detect_media): use new utility in linux_dvd_rw_utils.c to get the
disc type for DVD's.
* tools/callouts/fstab-update.sh: property names changed
* fdi/20freedesktop/lexar-media-cf-reader.fdi: propertys name changed
* fdi/20freedesktop/6in1-card-reader.fdi: property names changed
Index: fstab-update.sh
===================================================================
RCS file: /cvs/hal/hal/tools/callouts/fstab-update.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- a/fstab-update.sh 1 May 2004 19:29:17 -0000 1.5
+++ b/fstab-update.sh 5 May 2004 20:46:34 -0000 1.6
@@ -52,11 +52,11 @@
echo -ne "$MOUNTPOINT\t" >> /etc/fstab
# HAL might have autodetected the filesystem type for us - in that
# case use it...
- if test $HAL_PROP_BLOCK_FSTYPE; then
- if test $HAL_PROP_BLOCK_FSTYPE = "msdos"; then
+ if test $HAL_PROP_VOLUME_FSTYPE; then
+ if test $HAL_PROP_VOLUME_FSTYPE = "msdos"; then
echo -ne "vfat\t" >> /etc/fstab
else
- echo -ne "$HAL_PROP_BLOCK_FSTYPE\t" >> /etc/fstab
+ echo -ne "$HAL_PROP_VOLUME_FSTYPE\t" >> /etc/fstab
fi
else
echo -ne "auto\t" >> /etc/fstab
More information about the hal-commit
mailing list