diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-05-23 11:27:13 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-05-23 11:27:13 +0200 |
commit | 7e27a05bc8cc849a1257ca7272624aeb285273d0 (patch) | |
tree | 81aed3cb55347c79821e7271035c8979507cacde /base | |
parent | f31159102ab18e2f6adddc9a3485f3c548af89d6 (diff) | |
download | nutyx-pakxe-7e27a05bc8cc849a1257ca7272624aeb285273d0.tar.gz nutyx-pakxe-7e27a05bc8cc849a1257ca7272624aeb285273d0.tar.bz2 nutyx-pakxe-7e27a05bc8cc849a1257ca7272624aeb285273d0.tar.xz nutyx-pakxe-7e27a05bc8cc849a1257ca7272624aeb285273d0.zip |
ntfs-3g, ajout policy de montage
Diffstat (limited to 'base')
-rw-r--r-- | base/ntfs-3g/.footprint | 6 | ||||
-rw-r--r-- | base/ntfs-3g/.md5sum | 1 | ||||
-rw-r--r-- | base/ntfs-3g/25-ntfs-config-write-policy.fdi | 42 | ||||
-rw-r--r-- | base/ntfs-3g/Pkgfile | 10 |
4 files changed, 56 insertions, 3 deletions
diff --git a/base/ntfs-3g/.footprint b/base/ntfs-3g/.footprint index 4d26ec5da..d74bca59a 100644 --- a/base/ntfs-3g/.footprint +++ b/base/ntfs-3g/.footprint @@ -7,6 +7,7 @@ lrwxrwxrwx root/root lib/libntfs-3g.so.76 -> libntfs-3g.so.76.0.0 -rw-r--r-- root/root lib/libntfs-3g.so.76.0.0 drwxr-xr-x root/root sbin/ lrwxrwxrwx root/root sbin/mount.lowntfs-3g -> /bin/lowntfs-3g +lrwxrwxrwx root/root sbin/mount.ntfs -> ntfs-3g lrwxrwxrwx root/root sbin/mount.ntfs-3g -> /bin/ntfs-3g drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ @@ -53,6 +54,11 @@ lrwxrwxrwx root/root usr/lib/libntfs-3g.so -> /lib/libntfs-3g.so drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/libntfs-3g.pc drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/hal/ +drwxr-xr-x root/root usr/share/hal/fdi/ +drwxr-xr-x root/root usr/share/hal/fdi/policy/ +drwxr-xr-x root/root usr/share/hal/fdi/policy/10osvendor/ +-rw-r--r-- root/root usr/share/hal/fdi/policy/10osvendor/25-ntfs-config-write-policy.fdi drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man8/ lrwxrwxrwx root/root usr/share/man/man8/mount.lowntfs-3g.8.gz -> ntfs-3g.8.gz diff --git a/base/ntfs-3g/.md5sum b/base/ntfs-3g/.md5sum index e7142baa0..a47427125 100644 --- a/base/ntfs-3g/.md5sum +++ b/base/ntfs-3g/.md5sum @@ -1 +1,2 @@ +9dca69d78310f8635877984167eb515f 25-ntfs-config-write-policy.fdi aeff7659a4943c9223d79116f051a863 ntfs-3g-2010.5.16.tgz diff --git a/base/ntfs-3g/25-ntfs-config-write-policy.fdi b/base/ntfs-3g/25-ntfs-config-write-policy.fdi new file mode 100644 index 000000000..54195d8b3 --- /dev/null +++ b/base/ntfs-3g/25-ntfs-config-write-policy.fdi @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<deviceinfo version="0.2"> + <device> + <match key="volume.fstype" string="ntfs"> + <append key="volume.fstype.alternative" type="copy_property">volume.fstype</append> + <merge key="volume.mount.ntfs.valid_options" type="copy_property">volume.mount.valid_options</merge> + <merge key="volume.unmount.ntfs.valid_options" type="copy_property">volume.unmount.valid_options</merge> + <merge key="volume.fstype" type="string">ntfs-3g</merge> + <merge key="volume.mount.valid_options" type="strlist">ro</merge> + <append key="volume.mount.valid_options" type="strlist">atime</append> + <append key="volume.mount.valid_options" type="strlist">noatime</append> + <append key="volume.mount.valid_options" type="strlist">relatime</append> + <append key="volume.mount.valid_options" type="strlist">fake_rw</append> + <append key="volume.mount.valid_options" type="strlist">no_def_opts</append> + <append key="volume.mount.valid_options" type="strlist">default_permissions</append> + <append key="volume.mount.valid_options" type="strlist">umask=</append> + <append key="volume.mount.valid_options" type="strlist">fmask=</append> + <append key="volume.mount.valid_options" type="strlist">dmask=</append> + <append key="volume.mount.valid_options" type="strlist">uid=</append> + <append key="volume.mount.valid_options" type="strlist">gid=</append> + <append key="volume.mount.valid_options" type="strlist">show_sys_files</append> + <append key="volume.mount.valid_options" type="strlist">silent</append> + <append key="volume.mount.valid_options" type="strlist">force</append> + <append key="volume.mount.valid_options" type="strlist">remove_hiberfile</append> + <append key="volume.mount.valid_options" type="strlist">locale=</append> + <append key="volume.mount.valid_options" type="strlist">streams_interface=</append> + <append key="volume.mount.valid_options" type="strlist">debug</append> + <append key="volume.mount.valid_options" type="strlist">no_detatch</append> + <append key="volume.mount.valid_options" type="strlist">sync</append> + <append key="volume.mount.valid_options" type="strlist">dirsync</append> + <append key="volume.mount.valid_options" type="strlist">nodiratime</append> + <append key="volume.mount.valid_options" type="strlist">noexec</append> + <append key="volume.mount.valid_options" type="strlist">quiet</append> + <append key="volume.mount.valid_options" type="strlist">remount</append> + <append key="volume.mount.valid_options" type="strlist">exec</append> + <append key="volume.mount.valid_options" type="strlist">recover</append> + <append key="volume.mount.valid_options" type="strlist">norecover</append> + <merge key="volume.unmount.valid_options" type="strlist">lazy</merge> + <merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge> + </match> + </device> +</deviceinfo> diff --git a/base/ntfs-3g/Pkgfile b/base/ntfs-3g/Pkgfile index 6aa783617..ce2ec3ff1 100644 --- a/base/ntfs-3g/Pkgfile +++ b/base/ntfs-3g/Pkgfile @@ -5,9 +5,9 @@ name=ntfs-3g version=2010.5.16 -release=1 -source=(http://tuxera.com/opensource/$name-$version.tgz) - +release=2 +source=(http://tuxera.com/opensource/$name-$version.tgz\ + 25-ntfs-config-write-policy.fdi) build() { cd $name-$version ./configure --prefix=/usr \ @@ -15,6 +15,10 @@ build() { --disable-ldconfig make make DESTDIR=$PKG install + ln -s ntfs-3g $PKG/sbin/mount.ntfs chmod a-x $PKG/lib/*.so rm -rf $PKG/usr/share/doc + install -m755 -d $PKG/usr/share/hal/fdi/policy/10osvendor + install -m644 $SRC/25-ntfs-config-write-policy.fdi \ +$PKG/usr/share/hal/fdi/policy/10osvendor/ } |