Magellan Linux

Annotation of /trunk/hal/patches/hal-0.5.7.1-ntfs-3g.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 206 - (hide annotations) (download)
Mon May 21 22:24:41 2007 UTC (17 years, 1 month ago) by niro
File size: 1629 byte(s)
-added new patches

1 niro 206 diff -ur hal-0.5.7.1-orig/fdi/policy/10osvendor/20-storage-methods.fdi hal-0.5.7.1/fdi/policy/10osvendor/20-storage-methods.fdi
2     --- hal-0.5.7.1-orig/fdi/policy/10osvendor/20-storage-methods.fdi 2006-02-22 09:15:33.000000000 -0500
3     +++ hal-0.5.7.1/fdi/policy/10osvendor/20-storage-methods.fdi 2006-08-25 14:01:02.000000000 -0400
4     @@ -127,6 +127,18 @@
5     <append key="volume.mount.valid_options" type="strlist">uid=</append>
6     </match>
7    
8     +
9     + <!-- allow these mount options for ntfs-3g -->
10     + <match key="volume.fstype" string="ntfs-3g">
11     + <append key="volume.mount.valid_options" type="strlist">nonempty</append>
12     + <append key="volume.mount.valid_options" type="strlist">show_sys_files</append>
13     + <append key="volume.mount.valid_options" type="strlist">silent</append>
14     + <append key="volume.mount.valid_options" type="strlist">no_def_opts</append>
15     + <append key="volume.mount.valid_options" type="strlist">dmask=</append>
16     + <append key="volume.mount.valid_options" type="strlist">fmask=</append>
17     + <append key="volume.mount.valid_options" type="strlist">uid=</append>
18     + </match>
19     +
20     <!-- allow these mount options for ext3 -->
21     <match key="volume.fstype" string="ext3">
22     <append key="volume.mount.valid_options" type="strlist">data=</append>
23     diff -ur hal-0.5.7.1-orig/volume_id/ntfs.c hal-0.5.7.1/volume_id/ntfs.c
24     --- hal-0.5.7.1-orig/volume_id/ntfs.c 2006-02-21 14:15:17.000000000 -0500
25     +++ hal-0.5.7.1/volume_id/ntfs.c 2006-08-25 10:32:33.000000000 -0400
26     @@ -189,7 +189,7 @@
27    
28     found:
29     volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
30     - id->type = "ntfs";
31     + id->type = "ntfs-3g";
32    
33     return 0;
34     }