about summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2011-12-23 14:19:45 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2011-12-23 14:19:45 +0000
commit3f209edf6ed6a17690aa89bd169d090676237b27 (patch)
treea9a63bd9a3b793fe4915f597a7bb03fb0fd851d3 /pkgs/tools/filesystems
parent06d7dce3e0ed727558f19fe287cf1852737778b7 (diff)
downloadnixlib-3f209edf6ed6a17690aa89bd169d090676237b27.tar
nixlib-3f209edf6ed6a17690aa89bd169d090676237b27.tar.gz
nixlib-3f209edf6ed6a17690aa89bd169d090676237b27.tar.bz2
nixlib-3f209edf6ed6a17690aa89bd169d090676237b27.tar.lz
nixlib-3f209edf6ed6a17690aa89bd169d090676237b27.tar.xz
nixlib-3f209edf6ed6a17690aa89bd169d090676237b27.tar.zst
nixlib-3f209edf6ed6a17690aa89bd169d090676237b27.zip
* Updated ntfs-3g to 2011.4.12. Also create a sbin/mount.ntfs symlink
  to ensure that NTFS filesystems are mounted using ntfs-3g, which is
  much better than the kernel NTFS driver.  In particular, this
  ensures that udisks will automount external NTFS drives with
  read/write support.  (See also
  http://www.tuxera.com/community/ntfs-3g-faq/#plugandplay)

svn path=/nixpkgs/trunk/; revision=31055
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/ntfs-3g/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/ntfs-3g/default.nix b/pkgs/tools/filesystems/ntfs-3g/default.nix
index a39ba002d235..df75cbf59667 100644
--- a/pkgs/tools/filesystems/ntfs-3g/default.nix
+++ b/pkgs/tools/filesystems/ntfs-3g/default.nix
@@ -2,7 +2,7 @@
 
 stdenv.mkDerivation rec {
   pname = "ntfs-3g";
-  version = "2010.10.2";
+  version = "2011.4.12";
   name = "${pname}-${version}";
 
   src = fetchurl {
@@ -19,6 +19,12 @@ stdenv.mkDerivation rec {
 
   configureFlags = "--disable-ldconfig --exec-prefix=\${prefix} --enable-mount-helper";
 
+  postInstall =
+    ''
+      # Prefer ntfs-3g over the ntfs driver in the kernel.
+      ln -s mount.ntfs-3g $out/sbin/mount.ntfs
+    '';
+
   meta = {
     homepage = http://www.tuxera.com/community/;
     description = "FUSE-base NTFS driver with full write support";