wok-current rev 5085

add ntfs-write policy to ntfs-3g for pcmanfm mount
author Rohit Joshi <jozee@slitaz.org>
date Sun Mar 14 21:46:07 2010 +0000 (2010-03-14)
parents 74cb2409ce26
children d815e78b71e4
files ntfs-3g/receipt ntfs-3g/stuff/30-ntfs-write.fdi
line diff
     1.1 --- a/ntfs-3g/receipt	Sun Mar 14 23:12:24 2010 +0100
     1.2 +++ b/ntfs-3g/receipt	Sun Mar 14 21:46:07 2010 +0000
     1.3 @@ -28,12 +28,14 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/lib $fs/usr/lib $fs/etc
     1.8 +	mkdir -p $fs/lib $fs/usr/lib $fs/etc \
     1.9 +			 $fs/usr/share/hal/fdi/policy/10osvendor
    1.10  	cp -a $_pkg/bin $fs/
    1.11  	cp -a $_pkg/sbin $fs/
    1.12  	cp -a $_pkg/lib/*.so* $fs/lib
    1.13  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.14  	cp -a $_pkg/usr/bin $fs/usr
    1.15 +	cp stuff/30-ntfs-write.fdi $fs/usr/share/hal/fdi/policy/10osvendor
    1.16  	touch $fs/etc/filesystems
    1.17  }
    1.18  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ntfs-3g/stuff/30-ntfs-write.fdi	Sun Mar 14 21:46:07 2010 +0000
     2.3 @@ -0,0 +1,42 @@
     2.4 +<?xml version="1.0" encoding="UTF-8"?>
     2.5 +<deviceinfo version="0.2">
     2.6 +  <device>
     2.7 +   	<match key="volume.fstype" string="ntfs">
     2.8 +        <append key="volume.fstype.alternative" type="copy_property">volume.fstype</append>
     2.9 +        <merge key="volume.mount.ntfs.valid_options" type="copy_property">volume.mount.valid_options</merge>
    2.10 +        <merge key="volume.unmount.ntfs.valid_options" type="copy_property">volume.unmount.valid_options</merge>
    2.11 +        <merge key="volume.fstype" type="string">ntfs-3g</merge>
    2.12 +       	<merge key="volume.mount.valid_options" type="strlist">ro</merge>
    2.13 +        <append key="volume.mount.valid_options" type="strlist">atime</append>
    2.14 +        <append key="volume.mount.valid_options" type="strlist">noatime</append>
    2.15 +       	<append key="volume.mount.valid_options" type="strlist">relatime</append>
    2.16 +       	<append key="volume.mount.valid_options" type="strlist">fake_rw</append>
    2.17 +       	<append key="volume.mount.valid_options" type="strlist">no_def_opts</append>
    2.18 +       	<append key="volume.mount.valid_options" type="strlist">default_permissions</append>
    2.19 +       	<append key="volume.mount.valid_options" type="strlist">umask=</append>
    2.20 +       	<append key="volume.mount.valid_options" type="strlist">fmask=</append>
    2.21 +       	<append key="volume.mount.valid_options" type="strlist">dmask=</append>
    2.22 +       	<append key="volume.mount.valid_options" type="strlist">uid=</append>
    2.23 +       	<append key="volume.mount.valid_options" type="strlist">gid=</append>
    2.24 +      	<append key="volume.mount.valid_options" type="strlist">show_sys_files</append>
    2.25 +       	<append key="volume.mount.valid_options" type="strlist">silent</append>
    2.26 +       	<append key="volume.mount.valid_options" type="strlist">force</append>
    2.27 +       	<append key="volume.mount.valid_options" type="strlist">remove_hiberfile</append>
    2.28 +       	<append key="volume.mount.valid_options" type="strlist">locale=</append>
    2.29 +       	<append key="volume.mount.valid_options" type="strlist">streams_interface=</append>
    2.30 +       	<append key="volume.mount.valid_options" type="strlist">debug</append>
    2.31 +       	<append key="volume.mount.valid_options" type="strlist">no_detatch</append>
    2.32 +       	<append key="volume.mount.valid_options" type="strlist">sync</append>
    2.33 +       	<append key="volume.mount.valid_options" type="strlist">dirsync</append>
    2.34 +       	<append key="volume.mount.valid_options" type="strlist">nodiratime</append>
    2.35 +       	<append key="volume.mount.valid_options" type="strlist">noexec</append>
    2.36 +        <append key="volume.mount.valid_options" type="strlist">quiet</append>
    2.37 +       	<append key="volume.mount.valid_options" type="strlist">remount</append>
    2.38 +       	<append key="volume.mount.valid_options" type="strlist">exec</append>
    2.39 +       	<append key="volume.mount.valid_options" type="strlist">recover</append>
    2.40 +       	<append key="volume.mount.valid_options" type="strlist">norecover</append>
    2.41 +       	<merge key="volume.unmount.valid_options" type="strlist">lazy</merge>
    2.42 +       	<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
    2.43 +	</match>
    2.44 +  </device>
    2.45 +</deviceinfo>