* 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
This commit is contained in:
parent
06d7dce3e0
commit
3f209edf6e
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ntfs-3g";
|
pname = "ntfs-3g";
|
||||||
version = "2010.10.2";
|
version = "2011.4.12";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -19,6 +19,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = "--disable-ldconfig --exec-prefix=\${prefix} --enable-mount-helper";
|
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 = {
|
meta = {
|
||||||
homepage = http://www.tuxera.com/community/;
|
homepage = http://www.tuxera.com/community/;
|
||||||
description = "FUSE-base NTFS driver with full write support";
|
description = "FUSE-base NTFS driver with full write support";
|
||||||
|
Loading…
Reference in New Issue
Block a user