Contents of /trunk/hal/patches/hal-0.5.7.1-ntfs-vfat-options-kde-kioslave.patch
Parent Directory | Revision Log
Revision 207 -
(show annotations)
(download)
Mon May 21 22:40:04 2007 UTC (17 years, 4 months ago) by niro
File size: 698 byte(s)
Mon May 21 22:40:04 2007 UTC (17 years, 4 months ago) by niro
File size: 698 byte(s)
-added new patches
1 | --- hal-0.5.7.1/tools/hal-system-storage-mount 2006-02-14 19:49:55.000000000 +0100 |
2 | +++ hal-0.5.7.1/tools/hal-system-storage-mount.kde-fix 2007-05-22 00:38:35.000000000 +0200 |
3 | @@ -197,6 +197,16 @@ |
4 | MOUNTTYPE_EXPANDED="" |
5 | fi |
6 | |
7 | +# special mount options for ntfs/vfat filesystem; fixes issues with kde-kioslave |
8 | +case "$MOUNTTYPE" in |
9 | + vfat) |
10 | + MOUNTOPTIONS="$MOUNTOPTIONS,codepage=850,iocharset=iso8859-15,fmask=177,dmask=022" |
11 | + ;; |
12 | + ntfs) |
13 | + MOUNTOPTIONS="$MOUNTOPTIONS,uid=$HAL_METHOD_INVOKED_BY_UID" |
14 | + ;; |
15 | +esac |
16 | + |
17 | # mount and return status |
18 | RESULT=$(mount -o "noexec,nosuid,nodev$MOUNTOPTIONS" $MOUNTTYPE_EXPANDED "$HAL_PROP_BLOCK_DEVICE" "$MOUNT_ROOT/$MOUNTPOINT" 2>&1) |
19 | if [ $? -ne 0 ]; then |