--- ntfs-3g-2010.3.6.orig/include/ntfs-3g/volume.h +++ ntfs-3g-2010.3.6/include/ntfs-3g/volume.h @@ -58,6 +58,10 @@ #define MS_IGNORE_HIBERFILE 0x20000000 +#ifndef MS_SYNCHRONOUS +#define MS_SYNCHRONOUS 0x00000010 +#endif + /* Forward declaration */ typedef struct _ntfs_volume ntfs_volume; --- ntfs-3g-2010.3.6.orig/debian/ntfs-3g.install +++ ntfs-3g-2010.3.6/debian/ntfs-3g.install @@ -0,0 +1,4 @@ +sbin/ +bin/ +usr/share/ +../25-ntfs-3g-policy.fdi usr/share/hal/fdi/policy/20thirdparty --- ntfs-3g-2010.3.6.orig/debian/libntfs-3g75.docs +++ ntfs-3g-2010.3.6/debian/libntfs-3g75.docs @@ -0,0 +1,4 @@ +NEWS +README +debian/README.Debian +debian/NEWS.Debian --- ntfs-3g-2010.3.6.orig/debian/watch +++ ntfs-3g-2010.3.6/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.tuxera.com/community/ntfs-3g-download/ .*ntfs-3g-([0-9\.]*)\.tgz --- ntfs-3g-2010.3.6.orig/debian/ntfs-3g.initramfs-hook +++ ntfs-3g-2010.3.6/debian/ntfs-3g.initramfs-hook @@ -0,0 +1,22 @@ +#! /bin/sh -e + +PREREQ="fuse_utils" + +prereqs () { + echo "$PREREQ" +} + +case $1 in +prereqs) + prereqs + exit 0 + ;; +esac + +. /usr/share/initramfs-tools/hook-functions + +copy_exec /bin/ntfs-3g /bin +ln -s /bin/ntfs-3g "$DESTDIR/sbin/mount.ntfs-3g" +ln -s /bin/ntfs-3g "$DESTDIR/sbin/mount.ntfs" + +exit 0 --- ntfs-3g-2010.3.6.orig/debian/libntfs-3g75.install +++ ntfs-3g-2010.3.6/debian/libntfs-3g75.install @@ -0,0 +1 @@ +lib/lib*.so.* --- ntfs-3g-2010.3.6.orig/debian/ntfs-3g.links +++ ntfs-3g-2010.3.6/debian/ntfs-3g.links @@ -0,0 +1,3 @@ +/usr/share/doc/libntfs-3g75 /usr/share/doc/ntfs-3g +/sbin/mount.ntfs-3g /sbin/mount.ntfs +/usr/share/man/man8/ntfs-3g.8.gz /usr/share/man/man8/mount.ntfs.8.gz --- ntfs-3g-2010.3.6.orig/debian/ntfs-3g-udeb.install +++ ntfs-3g-2010.3.6/debian/ntfs-3g-udeb.install @@ -0,0 +1,2 @@ +bin/ntfs-3g +sbin/ --- ntfs-3g-2010.3.6.orig/debian/ntfs-3g.initramfs-premount +++ ntfs-3g-2010.3.6/debian/ntfs-3g.initramfs-premount @@ -0,0 +1,14 @@ +#! /bin/sh + +case $1 in +prereqs) + exit 0 + ;; +esac + +if [ "$ROOTFSTYPE" = ntfs ] || [ "$ROOTFSTYPE" = ntfs-3g ] || \ + [ "$LOOPFSTYPE" = ntfs ] || [ "$LOOPFSTYPE" = ntfs-3g ]; then + modprobe fuse +fi + +exit 0 --- ntfs-3g-2010.3.6.orig/debian/NEWS.Debian +++ ntfs-3g-2010.3.6/debian/NEWS.Debian @@ -0,0 +1,9 @@ +ntfs-3g (1:1.913-2) unstable; urgency=HIGH + + * User from group fuse cannot mount ntfs-3g anymore. + This feature could allow any user from this group to read from and write + to arbitrary block devices, possibly involving a file descriptor leak. + + See Debian bug #445315 or CVE-2007-5159 for more information. + + -- Adam Cécile (Le_Vert) Thu, 04 Oct 2007 22:20:11 +0200 --- ntfs-3g-2010.3.6.orig/debian/control +++ ntfs-3g-2010.3.6/debian/control @@ -0,0 +1,87 @@ +Source: ntfs-3g +Section: otherosfs +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5), autotools-dev, pkg-config, chrpath, libfuse-dev (>= 2.7.0-1ubuntu5) +Homepage: http://www.ntfs-3g.org/ +Standards-Version: 3.8.4 + +Package: ntfs-3g +Architecture: any +Pre-Depends: fuse-utils +Depends: ${shlibs:Depends}, ${misc:Depends}, initramfs-tools +Description: read-write NTFS driver for FUSE + The ntfs-3g driver is an open source, GPL licensed, third generation Linux + NTFS driver which was implemented by the Linux-NTFS project. It provides + full read-write access to NTFS, excluding access to encrypted files, writing + compressed files, changing file ownership, access right. + . + Technically it's based on and a major improvement to the third generation + Linux NTFS driver, ntfsmount. The improvements includes functionality, + quality and performance enhancements. + . + ntfs-3g is based on FUSE (userspace filesystem framework for Linux), thus + you will have to prepare fuse kernel module to be able to use it. + . + Fuse is available in any recent kernel. No need to prepare a kernel module + if you are already running Debian Etch kernel or newer. + +Package: libntfs-3g-dev +Section: libdevel +Architecture: any +Depends: libntfs-3g75 (= ${binary:Version}), ${misc:Depends} +Description: ntfs-3g filesystem in userspace (FUSE) library headers + The ntfs-3g driver is an open source, GPL licensed, third generation Linux + NTFS driver which was implemented by the Linux-NTFS project. It provides + full read-write access to NTFS, excluding access to encrypted files, writing + compressed files, changing file ownership, access right. + . + Technically it's based on and a major improvement to the third generation + Linux NTFS driver, ntfsmount. The improvements includes functionality, + quality and performance enhancements. + . + ntfs-3g is based on FUSE (userspace filesystem framework for Linux), thus + you will have to prepare fuse kernel module to be able to use it. + . + Fuse is available in any recent kernel. No need to prepare a kernel module + if you are already running Debian Etch kernel or newer. + . + This package contains the library headers for developing programs using + libntfs-3g75. + +Package: libntfs-3g75 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: ntfs-3g filesystem in userspace (FUSE) library + The ntfs-3g driver is an open source, GPL licensed, third generation Linux + NTFS driver which was implemented by the Linux-NTFS project. It provides + full read-write access to NTFS, excluding access to encrypted files, writing + compressed files, changing file ownership, access right. + . + Technically it's based on and a major improvement to the third generation + Linux NTFS driver, ntfsmount. The improvements includes functionality, + quality and performance enhancements. + . + ntfs-3g is based on FUSE (userspace filesystem framework for Linux), thus + you will have to prepare fuse kernel module to be able to use it. + . + Fuse is available in any recent kernel. No need to prepare a kernel module + if you are already running Debian Etch kernel or newer. + . + This package contains the shared library. + +Package: ntfs-3g-udeb +Section: debian-installer +Architecture: any +XC-Package-Type: udeb +Depends: fuse-utils-udeb, ${shlibs:Depends} +Description: read-write NTFS driver for FUSE + +Package: libntfs-3g75-udeb +Section: debian-installer +Architecture: any +XC-Package-Type: udeb +Depends: ${shlibs:Depends} +Description: ntfs-3g filesystem in userspace (FUSE) library --- ntfs-3g-2010.3.6.orig/debian/copyright +++ ntfs-3g-2010.3.6/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Adam Cécile (Le_Vert) on +Tue, 3 Oct 2006 01:17:00 +0200. + +It was downloaded from http://www.ntfs-3g.org/ + +Upstream Author: Szabolcs Szakacsits + +Copyright: (C) 2000-2006 ntfs-3g Development Team + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is Copyright (C) 2006-2009 Adam Cécile (Le_Vert) + and is licensed under the GPL, see above. --- ntfs-3g-2010.3.6.orig/debian/README.Debian +++ ntfs-3g-2010.3.6/debian/README.Debian @@ -0,0 +1,29 @@ +ntfs-3g for Debian +================== + +Quickstart guide for ntfs-3g +---------------------------- + +I assume NTFS partition is '/dev/hda1' and its mountpoint '/mnt/windows'. + +1. Load fuse kernel module and add them to /etc/modules : + modprobe fuse && echo "fuse" >> /etc/modules + + Please notice that with recent kernel (Etch and above), you can skip this + step, everything will be done automatically. + +2. Mount a NTFS partition : + ntfs-3g /dev/hda1 /mnt/windows + +3. If you want to give full access for all users, ignore permission related + driver messages, and make national characters visible then use (drop or + replace the below fr_FR.utf8 with the appropriate setting, and also the + device and mount points, if needed) : + + ntfs-3g /dev/hda1 /mnt/windows -o silent,umask=0,locale=fr_FR.utf8 + +4. To mount the patition at startup, edit /etc/fstab and add : + + /dev/hda1 /mnt/windows ntfs-3g silent,umask=0,locale=fr_FR.utf8 0 0 + + -- Adam Cécile (Le_Vert) , Tue, 3 Oct 2006 01:17:00 +0200 --- ntfs-3g-2010.3.6.orig/debian/ntfs-3g.postinst +++ ntfs-3g-2010.3.6/debian/ntfs-3g.postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +if type update-initramfs >/dev/null 2>&1; then + update-initramfs -u +fi + +#DEBHELPER# --- ntfs-3g-2010.3.6.orig/debian/libntfs-3g75-udeb.install +++ ntfs-3g-2010.3.6/debian/libntfs-3g75-udeb.install @@ -0,0 +1 @@ +lib/lib*.so.* --- ntfs-3g-2010.3.6.orig/debian/changelog +++ ntfs-3g-2010.3.6/debian/changelog @@ -0,0 +1,523 @@ +ntfs-3g (1:2010.3.6-1ubuntu1) lucid; urgency=low + + * Resynchronise with Debian (LP: #513197). Remaining changes: + - Install to /bin and /lib rather than /usr/bin and /usr/lib. + - Create libntfs3g75-udeb and ntfs-3g-udeb packages. + - Build with external FUSE and pre-depend on fuse-utils. + - Copy ntfs-3g into the initramfs. If ntfs-3g is used to mount the root + filesystem (either directly or via a loopback mount), load the fuse + module beforehand, and save ntfs-3g's PID (indirectly) in + /var/run/sendsigs.omit. + - Add a symlink for the mount.ntfs manpage. + - Ensure ntfs-3g flushes dirty write data back to device. Add ntfs-3g + mount option "syncio" which opens the underlying filesystem used by + fuse with O_SYNC to ensure dirty write data is written back to ntfs + immediately. This allows us to remove the vm.dirty sysctl hacks from + wubi. + - Fix "no_detatch" -> "no_detach" typo in HAL fdi file. + * Fix from upstream in 2010.3.6: Make non-resident TXF_DATA attribute of + root directory resident so Vista and later won’t complain about RAW + partition (LP: #514223). + + -- Colin Watson Thu, 25 Mar 2010 12:24:31 +0000 + +ntfs-3g (1:2010.3.6-1) unstable; urgency=low + + * Ack previous NMU, thanks Michael. + * New upstream release (Closes: #573462). + * Update library package name from libntfs-3g73 to libntfs-3g75. + * Update changes/ChangeLog for latest upstream release. + * Bump Standards-Version to 3.8.4. + + -- Adam Cécile (Le_Vert) Mon, 15 Mar 2010 16:48:43 +0100 + +ntfs-3g (1:2010.1.16-0.1) unstable; urgency=low + + * Non-maintainer upload with Adam's consent. + * New upstream release. (Closes: #560685) + * Fix watch file. + * Update library package name from libntfs-3g54 to libntfs-3g73. + * Update changes/ChangeLog for latest upstream release. + * Bump Standards-Version to 3.8.3. No further changes. + * debian/ntfs-3g.links: Create a symlink /sbin/mount.ntfs pointing to + /sbin/mount.ntfs-3g. This way ntfs-3g is used as default driver for + ntfs file systems. (Closes: #554599) + + -- Michael Biebl Mon, 25 Jan 2010 23:31:20 +0100 + +ntfs-3g (1:2009.4.4-1ubuntu5) lucid; urgency=low + + * debian/ntfs-3g.initramfs-bottom: + - also guard as we do for the local-premount script, those pidofs + costs a hundredth of a second each y'know + + -- Scott James Remnant Fri, 18 Dec 2009 02:29:46 +0000 + +ntfs-3g (1:2009.4.4-1ubuntu4) karmic; urgency=low + + * Make syncio mount option imply sync. (Why are these separate, anyway?) + + -- Colin Watson Fri, 09 Oct 2009 12:10:45 +0100 + +ntfs-3g (1:2009.4.4-1ubuntu3) karmic; urgency=low + + * debian/ntfs-3g.install: Install HAL fdi file again, since KDE still + needs it (LP: #395079). + * debian/25-ntfs-3g-policy.fdi: Fix "no_detatch" -> "no_detach" typo. + + -- Colin Watson Mon, 05 Oct 2009 13:25:21 +0100 + +ntfs-3g (1:2009.4.4-1ubuntu2) karmic; urgency=low + + * Restore Colin King's change from 1:1.2506-1ubuntu2, apparently lost in a + merge: + - Ensure ntfs-3g flushed dirty write data back to device + Added ntfs-3g mount option "syncio" which opens the underlying + filesystem used by fuse with O_SYNC to ensure dirty write data is + written back to ntfs immediately. This allows us to remove the + vm.dirty sysctl hacks from wubi. + + -- Colin Watson Wed, 30 Sep 2009 17:44:31 +0100 + +ntfs-3g (1:2009.4.4-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable (LP: #349569), remaining changes: + - Install to /bin and /lib rather than /usr/bin and /usr/lib. + - Create libntfs3g54-udeb and ntfs-3g-udeb packages. + - Build with external FUSE and pre-depend on fuse-utils. + - debian/control: ntfs-3g depends on initramfs-tools. It calls + update-initramfs from the postinst, which can potentially lead to an + unbootable system. ("udevadm trigger is not premitted while udev + is unconfigured".) + - Copy ntfs-3g into the initramfs. If ntfs-3g is used to mount the root + filesystem (either directly or via a loopback mount), load the fuse + module beforehand, and save ntfs-3g's PID (indirectly) in + /var/run/sendsigs.omit. + - debian/rules: + + Don't install HAL fdi file. Mounting is done via devkit-disks now. + - debian/ntfs-3g.links: + + Create /sbin/mount.ntfs symlink. + + Add a symlink for the mount.ntfs manpage. + + -- Chris Coulson Sat, 06 Jun 2009 20:07:20 +0100 + +ntfs-3g (1:2009.4.4-1) unstable; urgency=low + + * New upstream release (Closes: #523987). + * As usual, bump library package name and update upstream changelog. + * Bump Standards-Version. + + -- Adam Cécile (Le_Vert) Wed, 29 Apr 2009 10:19:28 +0200 + +ntfs-3g (1:2009.2.1-1) unstable; urgency=low + + * New upstream release (Closes: #508028, #512716). + * Ack Michael Biebl's NMU. + * Update the HAL policy file from latest Ubuntu packages. + * As usual, bump library package name and update upstream changelog. + * Add missing ${misc:Depends} to all binary packages. + + -- Adam Cécile (Le_Vert) Fri, 13 Mar 2009 21:57:11 +0100 + +ntfs-3g (1:2009.2.1-0ubuntu2) jaunty; urgency=low + + * debian/control: add initramfs-tools to Depends for ntfs-3g. It + calls update-initramfs from the postinst, which can potentially + lead to an unbootable system. ("udevadm trigger is not premitted + while udev is unconfigured".) + + -- Kees Cook Thu, 09 Apr 2009 11:39:08 -0700 + +ntfs-3g (1:2009.2.1-0ubuntu1) jaunty; urgency=low + + * New upstream version: + - The 'recover' and 'norecover' mount options were introduced. + The former option will casue the driver to recover and repair a + corrupted or inconsistent NTFS volume if it's possible. The + default behaviour is 'recover' (fixes LP: #175503). + - The user extended attribute namespace is supported by default. + - A volume having unclean journal file is recovered and mounted by + default. The 'norecover' mount option can disable this. + * Updated due to SO version bump: + - debian/control, debian/rules, libntfs-3g49.docs, + libntfs-3g49.install, libntfs-3g49-udeb.install, + libntfs-3g-dev.links, ntfs-3g.links + * debian/changes/Changelog: + - Updated to document new upstream changes. + * debian/25-ntfs-3g-policy.fdi: + - Updated to expose new 'recover' and 'norecover' options via HAL. + + -- Chris Coulson Sun, 15 Feb 2009 20:15:24 +0000 + +ntfs-3g (1:2009.1.1-0ubuntu1) jaunty; urgency=low + + * New upstream version (LP: #320031): + - Built-in, transparent UTF-8 conversion support. + - The 'locale=' mount option is not used anymore for filename + characterset conversion. Filenames are always converted to UTF-8. + - Support for unlimited file ane directory creation. + * Updated files due to SO version bump: + - debian/control, debian/rules, libntfs-3g48.docs, + libntfs-3g48.install, libntfs-3g48-udeb.install, + libntfs-3g-dev.links, ntfs-3g.links + * debian/25-ntfs-3g-policy.fdi: + - Renamed, as policies now have to be applied after + 20-storage-methods.fdi. + - Updated for objects where "volume.fstype=ntfs": + - Make ntfs-3g the default driver and make the old ntfs + driver an alternative. + - This is because HAL will no longer mount a volume with a + filesystem driver that is different to what is specified in + "volume.fstype", unless it is explicitly defined in + "volume.fstype.alternatives". By default, gnome-mount + attempts to mount ntfs volumes with the ntfs-3g driver. + This change makes this work properly again, and makes + it possible for users to choose the old ntfs driver too. + (fixes LP: #300443) + * debian/changes/Changelog: + - Updated to document new upstream changes. + + -- Chris Coulson Thu, 22 Jan 2009 20:31:21 +0000 + +ntfs-3g (1:1.2918-1) experimental; urgency=low + + * New upstream release. + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Tue, 23 Sep 2008 10:41:47 +0200 + +ntfs-3g (1:1.2712-1) experimental; urgency=low + + * Upload to experimental because of lenny freeze. + * New upstream release. + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Wed, 13 Aug 2008 23:49:43 +0200 + +ntfs-3g (1:1.2531-1.1ubuntu2) jaunty; urgency=low + + * Fix a couple of stray mentions of libntfs-3g28 in debian/rules to read + libntfs-3g31 instead. + + -- Colin Watson Sat, 22 Nov 2008 23:01:39 +0000 + +ntfs-3g (1:1.2531-1.1ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes (LP: #298141): + - Add udeb shlibs entries for libntfs-3g31-udeb. + - Create libntfs3g31-udeb and ntfs-3g-udeb. + - Copy ntfs-3g into the initramfs. If ntfs-3g is used to mount the root + filesystem (either directly or via a loopback mount), load the fuse + module beforehand, and save ntfs-3g's PID (indirectly) in + /var/run/sendsigs.omit. + - Move ntfs-3g to /bin. + - Move libntfs-3g.so.* to /lib. Adjust libntfs-3g.so symlink to match. + - Add /sbin/mount.ntfs symlink to /bin/ntfs-3g. + - Add a symlink for the mount.ntfs manual page too. + - Pass basenames rather than full paths to pidof; create + /dev/.initramfs/varrun if necessary. + - Always add ntfs and ntfs-3g to sendsigs.omit. + - Build against the external fuse libraries and add dependency on + fuse-utils. + - Ensure ntfs-3g flushed dirty write data back to device + added ntfs-3f mount option "syncio" which opens the underlying + filesystem used by fuse with O_SYNC to ensure dirty write data is + written back to ntfs immediately. This allows us to remove the + vm.dirty sysctl hacks from wubi. + + -- Chris Coulson Fri, 14 Nov 2008 18:18:03 +0000 + +ntfs-3g (1:1.2531-1.1) unstable; urgency=low + + * Non-maintainer upload. + * The hal standard configuration no longer allows the 'locale=' mount option + for NTFS, as the Linux kernel NTFS driver does not support this option. + As a workaround we install our own fdi file 20-ntfs-3g-policy.fdi to + /usr/share/hal/fdi/policy/10osvendor which will add this mount option back + and make hal use ntfs-3g as default fs driver. + + -- Michael Biebl Sat, 25 Oct 2008 14:28:01 +0200 + +ntfs-3g (1:1.2531-1) unstable; urgency=low + + * New upstream release. + * Bump library package name to match current soname. + * Bump Standards-Version to 3.8.0. + + -- Adam Cécile (Le_Vert) Mon, 23 Jun 2008 22:18:49 +0200 + +ntfs-3g (1:1.2506-1ubuntu2) intrepid; urgency=low + + * Ensure ntfs-3g flushed dirty write data back to device + added ntfs-3f mount option "syncio" which opens the underlying + filesystem used by fuse with O_SYNC to ensure dirty write data is + written back to ntfs immediately. This allows us to remove the + vm.dirty sysctl hacks from wubi. (LP: #204133) + + -- Colin King Wed, 09 Jul 2008 14:34:56 +0100 + +ntfs-3g (1:1.2506-1ubuntu1) intrepid; urgency=low + + * Resynchronise with Debian. Remaining changes: + - Add udeb shlibs entries for libntfs-3g28-udeb. + - Bump debhelper build-dependency to 5.0.22 for dh_makeshlibs + --add-udeb. + - Create libntfs3g28-udeb and ntfs-3g-udeb. + - Copy ntfs-3g into the initramfs. If ntfs-3g is used to mount the root + filesystem (either directly or via a loopback mount), load the fuse + module beforehand, and save ntfs-3g's PID (indirectly) in + /var/run/sendsigs.omit. + - Move ntfs-3g to /bin. + - Move libntfs-3g.so.* to /lib. Adjust libntfs-3g.so symlink to match. + - Add /sbin/mount.ntfs symlink to /bin/ntfs-3g. + - Add a symlink for the mount.ntfs manual page too. + - Pass basenames rather than full paths to pidof; create + /dev/.initramfs/varrun if necessary (LP #150831). + - Always add ntfs and ntfs-3g to sendsigs.omit (LP #181669). + - Build against the external fuse libraries and add dependency on + fuse-utils. + + -- Martin Pitt Mon, 02 Jun 2008 15:55:57 +0200 + +ntfs-3g (1:1.2506-1) unstable; urgency=HIGH + + * Urgency set to HIGH because it fixes a critical issue. + * New upstream release (Closes: #479774). + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Thu, 08 May 2008 22:00:30 +0200 + +ntfs-3g (1:1.2310-1) unstable; urgency=low + + * New upstream release. + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Fri, 14 Mar 2008 22:06:45 +0100 + +ntfs-3g (1:1.2216-1) unstable; urgency=low + + * New upstream release (Closes: #466161). + * Drop /sbin/mount.ntfs-3g symlink, fixed upstream. + * Bump library package name to match current soname. + * Install pkgconfig file in devel package. + + -- Adam Cécile (Le_Vert) Fri, 22 Feb 2008 20:26:48 +0100 + +ntfs-3g (1:1.2129-2) unstable; urgency=low + + * Include mount.ntfs-3g again and create a symlink in /sbin + (Closes: #464964). + + -- Adam Cécile (Le_Vert) Thu, 07 Feb 2008 22:09:18 +0100 + +ntfs-3g (1:1.2129-1) unstable; urgency=low + + * New upstream release (Closes: #463976). + * Drop libfuse-dev build dependency and fuse-utils runtime dependency, + ntfs-3g now includes its own "lite" fuse library. + * Bump Standards-Version to 3.7.3. + * Bump library package name to match current soname. + * Run chrpath against the new ntfs-3g.probe binary. + + -- Adam Cécile (Le_Vert) Wed, 06 Feb 2008 20:29:19 +0100 + +ntfs-3g (1:1.1120-1) unstable; urgency=low + + * New upstream release. + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Fri, 23 Nov 2007 15:10:10 +0100 + +ntfs-3g (1:1.1104-1) unstable; urgency=low + + * New upstream release, sorry for the delay :-) + * Bump library package name to match current soname. + * Move 'Homepage' to the new dpkg field. + * Fix NEWS.Debian syntax. + + -- Adam Cécile (Le_Vert) Tue, 13 Nov 2007 11:55:58 +0100 + +ntfs-3g (1:1.1004-1) unstable; urgency=low + + * New upstream release. + * Add upstream ChangeLog (from website). + + -- Adam Cécile (Le_Vert) Sat, 13 Oct 2007 02:38:45 +0200 + +ntfs-3g (1:1.913-2) unstable; urgency=HIGH + + * Security set to HIGH because it fixes a critical issue. + * Do not set ntfs-3g binary setuid with group fuse. + This could allows local users with fuse group membership to read from and + write to arbitrary block devices, possibly involving a file descriptor + leak. (CVE-2007-5159) (Closes: #445315). + * Update README.Debian and long description (Closes: #443418). + + -- Adam Cécile (Le_Vert) Thu, 04 Oct 2007 22:20:11 +0200 + +ntfs-3g (1:1.913-1) unstable; urgency=low + + * New upstream release. + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Thu, 13 Sep 2007 11:31:59 +0200 + +ntfs-3g (1:1.826-1) unstable; urgency=low + + * New upstream release. + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Tue, 28 Aug 2007 09:17:34 +0200 + +ntfs-3g (1:1.810-1) unstable; urgency=low + + * New upstream release (Closes: #434128). + * Bump libfuse-dev build depends to >= 2.7 (Needed to really fix #434128). + * Bump library package name to match current soname. + + -- Adam Cécile (Le_Vert) Fri, 10 Aug 2007 17:00:02 +0200 + +ntfs-3g (1:1.710-2) unstable; urgency=low + + * Update long description, ntfs-3g works fine on any architecture (Closes: #436435). + * ntfs-3g binary is now 4754, according to debian policy (Closes: #436658). + + -- Adam Cécile (Le_Vert) Wed, 08 Aug 2007 19:22:08 +0200 + +ntfs-3g (1:1.710-1) unstable; urgency=low + + * New upstream release: + - Bump library package name to libntfs-3g5 to match soname. + * Use [ ! -f Makefile ] || $(MAKE) distclean instead of -$(MAKE) distclean (fix lintian warning). + * Break loops with exit 1 in debian/rules if an error occurs. + + -- Adam Cécile (Le_Vert) Tue, 10 Jul 2007 09:15:12 +0200 + +ntfs-3g (1:1.616-1) unstable; urgency=low + + * New upstream release: + - Fix debian/rules to install softwares in /usr, + - Bump library package name to libntfs-3g4 to match soname. + + -- Adam Cécile (Le_Vert) Sun, 17 Jun 2007 14:17:17 +0200 + +ntfs-3g (1:1.516-1) unstable; urgency=HIGH + + * Security set to HIGH due to critical security fix. + * New upstream release. + * Bump libntfs-3g package name (libntfs-3g2). + + -- Adam Cécile (Le_Vert) Wed, 16 May 2007 08:55:47 +0200 + +ntfs-3g (1:1.417-1) unstable; urgency=low + + * New upstream release. + + -- Adam Cécile (Le_Vert) Mon, 16 Apr 2007 10:54:41 +0200 + +ntfs-3g (1:1.416-1) unstable; urgency=low + + * New upstream release. + * Drop versionned shlibs, libntfs-3g is now versionned. + * Bump libntfs-3g package name (libntfs-3g1). + + -- Adam Cécile (Le_Vert) Sun, 15 Apr 2007 23:12:46 +0200 + +ntfs-3g (1:1.328-2) unstable; urgency=low + + * Uploading to unstable. + * Add missing epoch to versionned shlibs (Closes: #413264). + + -- Adam Cécile (Le_Vert) Sun, 08 Apr 2007 23:43:10 +0200 + +ntfs-3g (1:1.328-1) experimental; urgency=low + + * New upstream release. + - Improve large file performance in close to full and/or highly fragmented disk scenarios. + * Drop debconf dependency, not used anymore (Closes: #415688). + * Drop "000-Remove_ldconfig_call" patch, replaced by "--disable-ldconfig" configure switch. + + -- Adam Cécile (Le_Vert) Wed, 28 Mar 2007 08:44:30 +0200 + +ntfs-3g (1:1.0-2) experimental; urgency=low + + * Remove 'beta statement' in debian/control (Closes: #413182). + * Create a versionned shlibs file for libntfs-3g (Closes: #413264). + * Build against libfuse-dev (>= 2.6.3-1) which includes a verionned shlibs file (Closes: #412385). + + -- Adam Cécile (Le_Vert) Sun, 4 Mar 2007 00:02:16 +0100 + +ntfs-3g (1:1.0-1) experimental; urgency=low + + * New upstream release (First stable release). + * Remove debconf warning. + + -- Adam Cécile (Le_Vert) Wed, 21 Feb 2007 09:04:37 +0100 + +ntfs-3g (1:0.0.0+20070207-1) experimental; urgency=low + + * New upstream release (RC1 !). + + -- Adam Cécile (Le_Vert) Wed, 7 Feb 2007 09:44:48 +0100 + +ntfs-3g (1:0.0.0+20070118-1) experimental; urgency=low + + * New upstream release (Closes: #404240). + * Update libfuse-dev build dependency version from 2.5.0 to 2.6.0. + * Update 000-Remove_ldconfig_call patch. + * Merge swedish debconf translation (Closes: #407863). + + -- Adam Cécile (Le_Vert) Thu, 1 Feb 2007 14:47:01 +0100 + +ntfs-3g (1:0.0.0+20061031-6) unstable; urgency=low + + * Add Russian debconf translation, thanks to Yuri Kozlov (Closes: #405247). + + -- Adam Cécile (Le_Vert) Wed, 3 Jan 2007 09:41:29 +0100 + +ntfs-3g (1:0.0.0+20061031-5) unstable; urgency=low + + * Add Czech debconf translation, thanks to Jakub Kasparec (Closes: #402988). + + -- Adam Cécile (Le_Vert) Fri, 15 Dec 2006 19:56:05 +0100 + +ntfs-3g (1:0.0.0+20061031-4) unstable; urgency=low + + * Update debian/watch. + + -- Adam Cécile (Le_Vert) Fri, 24 Nov 2006 00:33:43 +0100 + +ntfs-3g (1:0.0.0+20061031-3) unstable; urgency=low + + * Add German debconf translation, thanks to Alwin Meschede (Closes: #399247). + + -- Adam Cécile (Le_Vert) Sun, 19 Nov 2006 03:13:59 +0100 + +ntfs-3g (1:0.0.0+20061031-2) unstable; urgency=low + + * Install ntfs-3g suid root with group fuse (Closes: #396681). + * Move fuse-utils from Depends to Pre-Depends. + + -- Adam Cécile (Le_Vert) Sat, 4 Nov 2006 17:10:43 +0100 + +ntfs-3g (1:0.0.0+20061031-1) unstable; urgency=low + + * New upstream release. + * Add an epoch because of the new software versionning. + * Change homepage url. + * Remove 001-Log_reason_removal patch, merged in upstream. + + -- Adam Cécile (Le_Vert) Tue, 31 Oct 2006 21:33:11 +0100 + +ntfs-3g (0.0.0+20070920-2) unstable; urgency=low + + * Fix FTBS on aplha (Closes: #395901). + Thanks to Szakacsits Szabolcs . + + -- Adam Cécile (Le_Vert) Sun, 29 Oct 2006 18:42:19 +0100 + +ntfs-3g (0.0.0+20070920-1) unstable; urgency=low + + * Initial release (Closes: #390778). + + -- Adam Cécile (Le_Vert) Tue, 3 Oct 2006 01:17:00 +0200 --- ntfs-3g-2010.3.6.orig/debian/rules +++ ntfs-3g-2010.3.6/debian/rules @@ -0,0 +1,95 @@ +#!/usr/bin/make -f + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +# We'll symlink /usr/share/doc/ to the libntfs-3g75 one +# So we need a list of available packages +PKG_LIST = libntfs-3g-dev ntfs-3g + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --exec-prefix=/ \ + --mandir=\$${prefix}/share/man \ + --disable-ldconfig \ + --with-fuse=external \ + CFLAGS="$(CFLAGS)" \ + LDFLAGS="-Wl,-z,defs" + +build: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp config.log config.sub config.guess + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + mkdir -p $(CURDIR)/debian/tmp/sbin + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + $(RM) $(CURDIR)/debian/tmp/lib/lib*.so + for i in $(CURDIR)/debian/tmp/lib/lib*.so.*.*.*; do \ + base=$${i##*/}; \ + ln -s /lib/$${base} $(CURDIR)/debian/tmp/lib/$${base%.*.*.*}; \ + done + # Install initramfs hooks and scripts + install -D -m0755 debian/ntfs-3g.initramfs-hook \ + debian/tmp/usr/share/initramfs-tools/hooks/ntfs_3g + install -D -m0755 debian/ntfs-3g.initramfs-premount \ + debian/tmp/usr/share/initramfs-tools/scripts/local-premount/ntfs_3g + install -D -m0755 debian/ntfs-3g.initramfs-bottom \ + debian/tmp/usr/share/initramfs-tools/scripts/local-bottom/ntfs_3g + # Remove RPATH from binary + #chrpath --delete debian/tmp/bin/ntfs-3g + #chrpath --delete debian/tmp/bin/ntfs-3g.probe + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs debian/changes/ChangeLog + dh_installdocs + dh_installdebconf + dh_install --sourcedir=$(CURDIR)/debian/tmp + # Remove old doc sets before running dh_link + for PKG in $(PKG_LIST); do \ + rm -r debian/$$PKG/usr/share/doc/ || exit 1; \ + done + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs --add-udeb=libntfs-3g75-udeb + dh_installdeb + dh_shlibdeps -Llibntfs-3g75 -ldebian/libntfs-3g75/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- ntfs-3g-2010.3.6.orig/debian/ntfs-3g.initramfs-bottom +++ ntfs-3g-2010.3.6/debian/ntfs-3g.initramfs-bottom @@ -0,0 +1,16 @@ +#! /bin/sh + +case $1 in +prereqs) + exit 0 + ;; +esac + +if [ "$ROOTFSTYPE" = ntfs ] || [ "$ROOTFSTYPE" = ntfs-3g ] || \ + [ "$LOOPFSTYPE" = ntfs ] || [ "$LOOPFSTYPE" = ntfs-3g ]; then + mkdir -p /dev/.initramfs/varrun + pidof mount.ntfs >> /dev/.initramfs/varrun/sendsigs.omit + pidof mount.ntfs-3g >> /dev/.initramfs/varrun/sendsigs.omit +fi + +exit 0 --- ntfs-3g-2010.3.6.orig/debian/25-ntfs-3g-policy.fdi +++ ntfs-3g-2010.3.6/debian/25-ntfs-3g-policy.fdi @@ -0,0 +1,43 @@ + + + + + + volume.fstype + volume.mount.valid_options + volume.unmount.valid_options + ntfs-3g + ro + atime + noatime + relatime + fake_rw + no_def_opts + default_permissions + umask= + fmask= + dmask= + uid= + gid= + show_sys_files + silent + force + remove_hiberfile + locale= + streams_interface= + debug + no_detach + sync + dirsync + nodiratime + noexec + quiet + remount + exec + recover + norecover + lazy + ntfs-3g + + + --- ntfs-3g-2010.3.6.orig/debian/ntfs-3g-udeb.links +++ ntfs-3g-2010.3.6/debian/ntfs-3g-udeb.links @@ -0,0 +1 @@ +/sbin/mount.ntfs-3g /sbin/mount.ntfs --- ntfs-3g-2010.3.6.orig/debian/libntfs-3g-dev.links +++ ntfs-3g-2010.3.6/debian/libntfs-3g-dev.links @@ -0,0 +1 @@ +/usr/share/doc/libntfs-3g75 /usr/share/doc/libntfs-3g-dev --- ntfs-3g-2010.3.6.orig/debian/compat +++ ntfs-3g-2010.3.6/debian/compat @@ -0,0 +1 @@ +5 --- ntfs-3g-2010.3.6.orig/debian/libntfs-3g-dev.install +++ ntfs-3g-2010.3.6/debian/libntfs-3g-dev.install @@ -0,0 +1,3 @@ +usr/include/* +lib/pkgconfig usr/lib +lib/lib*.so usr/lib --- ntfs-3g-2010.3.6.orig/debian/changes/ChangeLog +++ ntfs-3g-2010.3.6/debian/changes/ChangeLog @@ -0,0 +1,563 @@ +STABLE Version 2010.3.6 (March 7, 2010) + New: Support Object Identifiers which are used by Windows for shortcuts + and caused CHKDSK warnings when the target was deleted. + New: Nanosecond resolution file timestamps support. + New: Selective file timestamp modification by utimensat(2). + New: Make non-resident TXF_DATA attribute of root directory resident so + Vista and later won’t complain about RAW partition. + New: Caching inodes. + New: More efficient UTF8/UTF16 translations. + Fixed setting archive bit on file and alternated data stream creation. + Fixed setting reparse tags in parent directories. + Fixed enabling permissions when no UserMapping file is found. + Fixed an error return code in the main mount function. + Fixed setting timestamp via extended attributes to be consistent between + Windows and Linux view. + Fixed option processing when uid, gid, fmask or dmask are present. + +TEST Version 2010.2.6-RC (February 7, 2010) + New: Support Object Identifiers which are used by Windows for shortcuts and + caused CHKDSK warnings when the target was deleted. + New: Nanosecond resolution file timestamps support. + New: Selective file timestamp modification by utimensat(2). + New: Make non-resident TXF_DATA attribute of root directory resident so + Vista and later won’t complain about RAW partition. + New: Caching inodes. + New: More efficient UTF8/UTF16 translations. + Fix: Setting timestamp via extended attributes was not consistent between + Windows and Linux view. + +STABLE Version 2010.1.16 (January 16, 2010) + + Fix: Vista, Windows Server 2008 and Windows 7 couldn’t access a volume, + file or directory if it had a non-resident TXF_DATA attribute despite being + allowed by the NTFS $AttrDef attribute specification file. Solution is also + available from Microsoft, please see KB974729. Upgrade is recommended! + Fix: NTFS-3G may crashed if a junction point referred to a non-ASCII filename. + Fix: Compilation errors on Mac OS X, OpenSolaris and openSUSE. + +STABLE Version 2009.11.14 (November 15, 2009) + + New: Full file ownership and permissions support. The ownership and + permissions of files are interoperable with Windows and conforms to the POSIX + rules. + New: POSIX ACL support. The ACLs are an extension to ownership and + permissions as defined in POSIX. + New: Optional Windows-type inheritance of ACLs. + New: Full extended attributes support for all namespaces: user, system, + security and trusted. + New: Junction points support. The junction points and symbolic links created + by Windows are seen as symbolic links. + New: Access is possible to NTFS internal data like Windows style archive bit + and file attributes. They are mapped to extended attributes for easier access. + New: Compression write support: sequential writing to compressed files is + supported. + New: Support copying and restoring encrypted files without decrypting them. + New: Support getting and setting high-resolution file timestamps. + New: Support to get, set and remove DOS filenames. + New: Tools for managing ownership, permissions and ACLs: ntfs-3g.secaudit + checks the integrity of ownership, permissions and ACL, ntfs-3g.usermap gives + help to configure ownership. + New: Implemented setchgtime() on Mac OS X. + Fix: Improved Windows junction and symlink handling. + Fix: Improved ACL handling. + Fix: Unicode normalization on Mac OS X. + Fix: Implemented true fsync() on Mac OS X + Change: Performance optimizations. Frequently used data are cached to improve + speed. Space allocation for fragmented and sparse files has been improved. + +TEST Version 2009.10.5-RC (October 10, 2009) + + New: Full file ownership and permissions support. The ownership and + permissions of files are interoperable with Windows and conforms to the POSIX + rules. + New: POSIX ACL support. The ACLs are an extension to ownership and + permissions as defined in POSIX. + New: Optional Windows-type inheritance of ACLs. + New: Full extended attributes support for all namespaces: user, system, + security and trusted. + New: Junction points support. The junction points and symbolic links created + by Windows are seen as symbolic links. + New: Access is possible to NTFS internal data like Windows style archive bit + and file attributes. They are mapped to extended attributes for easier access. + New: Compression write support: sequential writing to compressed files is + supported. + New: Support copying and restoring encrypted files without decrypting them. + New: Support getting and setting high-resolution file timestamps. + New: Support to get, set and remove DOS filenames. + New: Tools for managing ownership, permissions and ACLs: secaudit checks the + integrity of ownership, permissions and ACL, usermap gives help to configure + ownership. + Change: Performance optimizations. Frequently used data are cached to improve + speed. Space allocation for fragmented and sparse files has been improved. + +STABLE Version 2009.4.4 (April 2, 2009) + Fix: Mount and system boot could hang if Linux kernel audit was enabled. + Fix: Volume could be potentially corrupted or the driver crashed after a + partial write or hardware error. + Fix: The driver could crash handling highly fragmented files. + +STABLE Version 2009.3.8 (March 26, 2009) + Fix: Some defragmenters reported NTFS-3G created directories unmovable. + Fix: The Windows NTFS file system checker, CHKDSK, may reported "free space + marked as allocated in the master file table (MFT) bitmap". + Fix: The driver may returned "No space left on device" error when there was + still free space on the NTFS volume. + Fix: A file may got corrupted when the STANDARD INFORMATION attribute was + moved to an extent MFT record. Only the already fixed Advanced NTFS-3G + Driver had this problem, not the Stable NTFS-3G Driver. + Change: 10-50% faster file and directory creation, removal, copy, + unpackaging performance. + Change: 500-1000% faster mount time. This is mostly noticable on multi-TB + volumes and embedded devices. Please note, a generally 10-20 times faster + performing NTFS-3G driver is available for embedded devices separately. + Change: Improved multi-cluster allocation, non-aligned file write + performance. + Change: Improved volume consistency and recovery if the storage device was + unsafely detached or powered down. + Change: Less disk space usage. + New: The version/-V command line option has been added. + +STABLE Version 2009.2.1 (February 12, 2009) -- Release Notes + New: The 'recover' and 'norecover' mount options were introduced. The former + option will casue the driver to recover and repair a corrupted or + inconsistent NTFS volume if it's possible. The default behaviour is + 'recover'. + Fix: The driver may crashed when it tried to read a highly fragmented file + or directory which was either corrupted or it was unreadable due to a + hardware error. Upgrade is recommended. + Fix: The driver incorrectly returned 'Permission denied' error message if a + requested extended attribute namespace wasn't supported. + Fix: The lack of file backup timestamp support confused some applications on + OS X. + Change: The user extended attribute namespace is supported by default on + Linux. + Change: A volume having unclean journal file is recovered and mounted by + default. The 'norecover' mount option can be used to disable this behavior. + +STABLE Version 2009.1.1 (January 22, 2009) -- Release Notes + New: Built-in, transparent UTF-8 conversion support. This solves all the + problems, described here, and even more with hidden and inaccessible + filenames having national characters. + New: Support getting/setting the file creation timestamp on OS X. + Fix: An extended attribute got corrupted if the new attribute size was + smaller than the original size. + Fix: Memory leaked if an extended attribute or alternate data stream + couldn't be opened. + Fix: Report an error if a filename can not be listed during reading a + directory. + Change: The 'locale=' mount option is not used anymore for filename + characterset conversion. Instead filenames are always converted to UTF-8. + +TEST Version 1.5222-RC (December 22, 2008) -- Release Notes + New: Built-in, transparent UTF-8 conversion support. + Fix: Report an error if a filename can not be listed during reading a + directory. + Change: The 'locale=' mount option is not used anymore for filename + characterset conversion. Instead filenames are always converted to UTF-8. + +STABLE Version 1.5130 (November 30, 2008) -- Release Notes + Fix: Reading a data storage with permanent or temporary physical damage, + or a partial read(2) system call could result ignoring the low level + hardware error and returning invalid data. Upgrade is recommended. + +STABLE Version 1.5012 (October 12, 2008) -- Release Notes + Version 1.2926-RC is released unchanged as stable. The NTFS-3G driver is + able for unlimited file and directory creation and removal as the result of + 13 years continuous development with the help of hundreds of contributors + over these years. Congratulations And Thank You To Everybody Who Made It + Happen! + +TEST Version 1.2926-RC (September 19, 2008) -- Release Notes + New: Support unlimited file and directory creation. Successfully tested the + creation of 54 million (54,000,000) files in a single directory, besides the + other test cases. + +STABLE Version 1.2918 (September 18, 2008) -- Release Notes + Fix: A corrupted directory index entry could hang the driver instead of + returning "I/O error". + +STABLE Version 1.2812 (August 15, 2008) -- Release Notes + Fix: The allocation size of an attribute may got corrupted if the attribute + size change failed. + Fix: An MFT record could leak on big-endian CPUs if adding a new attribute + failed. + Fix: The system log was flooded if a transparently compressed or encypted + file was tried to be updated repeatedly. + New: Solaris support. + New: Libtool-2 support. + Change: No external dependency on librt anymore when internal FUSE is used + (default on Linux). + Change: The default compiler is gcc. + Change: Internal FUSE further shrank by 10%. + +STABLE Version 1.2712 (July 12, 2008) -- Release Notes + Fix: A corrupted size directory or a directory over tens of million files + may hang the driver. If NTFS-3G is compiled with an external FUSE library + (non-default on Linux) then FUSE CVS is needed until FUSE 2.8.0 is released. + Fix: Removing alternate data streams and extended attributes leaked memory. + Fix: Mount could fail with some mount(8) utilities (e.g. busybox one) if the + /etc/mtab file didn't exist or was on a read-only file system. This fix + should solve most of the "/bin/mount: invalid option -i" mount problems. + If NTFS-3G is compiled with an external FUSE library (non-default on Linux) + then FUSE CVS is needed until FUSE 2.8.0 is released. + Fix: The driver always returned "I/O errors" if the standard file + descriptors were closed during mount, e.g. via some usage of udev, hotplug, + etc. + Fix: Building the driver failed if the --prefix=/ configure option was used. + Fix: Driver compilation may failed with 'PATH_MAX undeclared' error mesage + in some (cross)-compilation environments. + +STABLE Version 1.2531 (May 29, 2008) -- Release Notes + Fix: Mount failed with "Invalid argument" error message if the mountpoint + was a symlink. If NTFS-3G is compiled with an external FUSE library + (non-default on Linux) then FUSE CVS is needed until FUSE 2.8.0 is released. + Fix: A corrupted directory could hang the driver. + Fix: Mount could hang if the block allocation map was corrupted. + Fix: The driver could hang or misbehave when compressed, sparse or encrypted + file attribute flags were corrupted. + Fix: The driver could crash when both an MFT attribute offset and the + allocated bytes were corrupted. + Fix: Building the driver failed if the --exec-prefix configure option was + used without --sbindir=/sbin. + Fix: Parallel 'make install' may failed. + New: Support building the driver in a separate directory. + New: Added --enable-mount-helper configure option which installs + /sbin/mount.ntfs-3g, so mount via mount(8) and /etc/fstab can work on Linux. + The default is enabled on Linux and disabled on all other operating systems. + +STABLE Version 1.2506 (May 6, 2008) -- Release Notes + Fix: In certain, rare circumstances, any area of the NTFS volume, except the + NTFS boot sector, could get corrupted. The chance for this to happen is + higher for close to full disk utilization and using one of the more + uncommon, less than 4096 byte cluster sizes. The cluster size is logged + under the /var/logs directory usually in the 'messages' or 'daemon.log' log + file, as the blksize mount parameter. All stable releases have this issue + since version 1.328. + Upgrade is strongly recommended from all NTFS-3G releases. + +STABLE Version 1.2412 (April 12, 2008) -- Release Notes + Fix: The total file system depth was limited to 4095 characters by FUSE and + trying to access files and directories deeper gave "No such file or + directory" error. If NTFS-3G is compiled with an external FUSE library + (non-default), then FUSE CVS is needed until FUSE 2.8.0 is released. + Fix: The symlink(2) system call failed or the size was truncated at modulo + 256 if the old path was over 255 bytes. + Fix: Unprivileged mount may have been denied because supplementary groups + were dropped too early as a security measure. + Fix: Unprivileged mount may have been denied if the /etc/fuse.conf file + wasn't properly configured. This was redundant and the /etc/fuse.conf file + is not required anymore. + Fix: Updating hard link attributes was delayed by one second which resulted + softwares seeing their file sizes and timestamps incorrectly during this + time interval. + Fix: The 'noatime' mount option additionally and unconditionally was passed + to FUSE. + +STABLE Version 1.2310 (March 10, 2008) -- Release Notes + Fix: the driver crashed when one tried to open a non-existent file which had + at least twice as long file name as the one allowed by the NTFS + specification. + Fix: Windows CHKDSK may reported minor inconsistencies because the data and + allocation size of some special purpose resident unnamed $DATA attribute in + the index and inode FILE_NAME attributes could be incorrect. + Fix: unprivileged mount failed if user had rights for everything except the + FUSE device file. + Fix: the 'dev' and 'suid' mount options didn't work. + Change: rmdir(2) returns ENOTEMPTY instead of EEXIST because the GNOME glib + library and the Nautilus file browser can't handle the also standard EEXIST + value which resulted an error message when for instance one tried to remove + a directory containing files. + Change: the 'dev' and 'suid' mount options are the default from now on for + root mounts, similarly as other file systems behave. These options are + always denied for setuid-root and unprivileged mounts. + +STABLE Version 1.2216 (February 16, 2008) -- Release Notes + Fix: file and directory removal, rename and move may have been denied with + an "Operation not supported" error message. + Fix: setuid-root ntfs-3g had a local root exploit and other security + problems. + From now on unprivileged mounts of block devices are possible only with + using the integrated FUSE library (default) which has no known security + problem. + Fix: unprivileged unmount didn't always work. + Fix: create mount.ntfs-3g symlink always in /sbin where mount(8) needs it. + New: added 'remove_hiberfile' mount option to be able to read/write mount + hibernated volumes for recovery and troubleshooting purposes. + Change: keep shrinking driver size. + +STABLE Version 1.2129 (January 29, 2008) -- Release Notes + Version 1.2125-RC is released unchanged as stable. + +Version 1.2125-RC (January 24, 2008) -- Release Notes + Fix: the 1.2121-RC test release didn't compile on 64-bit architectures. + +Version 1.2121-RC (January 21, 2008) -- Release Notes + New: added ntfs-3g.probe utility which probes a volume for read-only or + read-write mountability. + New: to facilitate the use of the NTFS-3G driver in scripts, an exit code is + returned to give an indication of the mountability status of the volume. + Zero value means success, and all other ones mean an error. The unique error + codes are documented in the ntfs-3g.probe manual page. + New: built-in FUSE support by using a stripped down, integrated FUSE + library. Linux uses this by default which means NTFS-3G doesn't require the + installation of the FUSE package, only FUSE kernel support. + New: the --with-fuse=external configure option makes NTFS-3G to be compiled + with an external FUSE library. For non-Linux operating systems this is the + default and the only compilation option. + New: README file is installed as documentation. + New: the --enable-ldscript configure option uses ldscript instead of .so + symlink. + New: added libntfs-3g.pc.in pkg-config and libntfs-3g.script.so.in ldconfig + files. + Change: rewritten, backwards compatible build system. + Change: use 'make install-strip' instead of 'make strip'. + Fix: the SIGTERM signal may caused deadlock which could block for instance + the shutdown process. If NTFS-3G is used with an external FUSE library, + which is not the default, then FUSE 2.7.2 package is required. + +STABLE Version 1.1120 (November 20, 2007) -- Release Notes + Fix: successful hard link removal may reported "Input/Output error". + Fix: listing the content of a single directory having over 600,000 files + and subdirectories may returned "Input/Output error" or truncated directory + listing. + Fix: atime mount option didn't work. + Fix: POSIX file time updates (file access and modification times, inode + change time). Please note, though NTFS-3G updates the times correctly now, + FUSE may keep caching old, invalid time attributes for a short time after + rename(2), creat(2), and some file operations which involve hard links. FUSE + has fixed already the first two cases and they may be included in the Linux + kernel 2.6.24 release. + New: relatime support was added and made the default atime update method. + +STABLE Version 1.1104 (November 4, 2007) -- Release Notes + Fix: reads over the end of a file could return "invalid argument" error + using some recent kernels. This problem may have caused Thunderbird to + hang. + Fix: some faulty versions of the gcc compiler have crashed during + compilation. + Fix: the utimes(2) system call may incorrectly updated the last status + change filestamp. + Change: the ntfs.streams.list extended attribute enumerates Alternate + Data Streams (ADS) '\0' separated. + +STABLE Version 1.1030 (October 29, 2007) -- Release Notes + Fix: big-endian problems exposed by the NTFS-3G Test Suite. + Fix: free space calculation may was wrong for >1 TB volumes. + Fix: some faulty Thunderbird versions caused system log flooding. + Fix: uClibc and uClinux improvements. + Fix: logging improvements. + Fix: many other minor fixes. + +STABLE Version 1.1004 (October 4, 2007) -- Release Notes + fix: unwritten sparse file regions could get corrupted if the end of a write + wasn't aligned to cluster boundary. Sparse files are very rarely used, most + typically by bittorent clients. + fix: creation of read-only files failed. + change: free inode calculation was CPU intensive during write activity. This + could reduce write performance when millions of files are used if a file + manager or desktop applet regularly polled for disk space usage. Now the + statfs() system call is constant time. + change: file creation performance is improved by 40-80%. + change: smart directory traversal is 20-200% faster for disk based and + 300-600% faster for memory cache based traversals. + +STABLE Version 1.913 (September 13, 2007) -- Release Notes + fix: hibernation check was too rigid and mount was refused in read/write + mode unnecessarily in some cases. + change: free disk space calculation was highly CPU intensive during write + activity. This could reduce write performance severely, especially for huge + volumes if a file manager or desktop applet regularly polled for disk space + usage. Now the calculation is constant time, around only 10 microseconds on + a typical desktop, and it's completely independent of the volume size. + all performance improvements included unchanged from the 1.910-RC test + release. Please see those details below. + +Version 1.910-RC (September 10, 2007) -- Release Notes + change: significantly improved the performance of writing many files, + typically by 50-1000% (copying files, unpacking, untarring packages, + compilation, directory synchronization, ...). + change: improved the performance of writing multi-GB size files, + particularly after the creation of many thousands of other files. Previous + disk space defragmentation is highly advised for the best possible speed. + File level defragmentation is not enough. + change: improved concurrent write performance. + +STABLE Version 1.826 (August 26, 2007) -- Release Notes + fix: utime() also updated the timestamp of the parent directory but it + shouldn't have (rsync, backup tool problems). + fix: ignore the "volume dirty" bit because its real meaning is "check the + volume". The fact of the real dirtiness is stored in the NTFS logfile which + is already checked for. + fix: compilation failed with glibc 2.7 + new: the --disable-library 'configure' option can be used not to install but + link libntfs-3g into the ntfs-3g binary. This decreases the binary size by + about 10-15% and increases performance by about 2-5%. + +STABLE Version 1.810 (August 10, 2007) -- Release Notes + fix: file rename may updated the modification time of some files and + directories which caused some backup tools, like rsync, not to preserve + always this timestamp + fix: unmount (fusermount -u) was denied for an unprivileged user who was + allowed to mount a block device. FUSE 2.7.0+ user space package is required + for the full fix. + fix: the driver could hang if there wasn't enough memory during reading a + large directory + fix: reading a directory may reported success when there was an error + fix: metadata update error was ignored in some very rare cases during + writing a file + fix: permissions checking was turned on if umask, fmask and dmask was set to + the default 000 value + change: manual update, added Windows filename compatibility section + change: lots of logging improvements + +STABLE Version 1.710 (July 10, 2007) -- Release Notes + fix: move, rename and hard link could return "input/output error" + fix: very rare, recoverable directory corruption + fix: portability improvements + change: more troubleshooting hints if a volume can't be mounted + change: logging improvements + +STABLE Version 1.616 (June 17, 2007) -- Release Notes + Version 1.612-RC is released as stable + +Version 1.612-RC (June 12, 2007) Release Notes + new: install executables to the root file system otherwise mount could fail + during boot + fix: any kind of file size change failure returned "Operation not + permitted" + fix: file close failure was not always reported + fix: unmount failure was not always reported + fix: file creation always gave "input/output error" if the $MFT Bitmap + wasn't up-to-date + fix: converting very long file names to Unicode may failed + fix: syslog messages didn't show the low level error detail + fix: compilation improvements on OS X and NetBSD + +STABLE Version 1.516 (May 16, 2007) -- Release Notes + fix: Linux security exploit if ntfs-3g was setuid and the FUSE kernel driver + wasn't loaded yet during mount + +STABLE Version 1.417 (April 16, 2007) -- Release Notes + fix: mount failed if the -v (verbose) command line option was passed by + mount(8) + +STABLE Version 1.416 (April 16, 2007) -- Release Notes + fix: parsing of the first mount option could fail in the 1.411-RC test release + +Version 1.411-RC (April 11, 2007) -- Release Notes + new: read-write mount is supported using the "force" mount option if the + logfile is unclean + new: libntfs-3g is versioned + fix: default ownership of files weren't always set to the mounting user + fix: mount was denied if the NTFS Master File Table copy had non-standard + size + fix: catch and deny all junction/reparse point write operations + fix: multiply -o options weren't allowed (FreeBSD's mount(8) requires this) + fix: don't try to run Linux specific code on non-Linux OSes + +STABLE Version 1.328 (March 28, 2007) -- Release Notes + change: document and release version update to stable status + +Version 1.320-RC (March 20, 2007) -- Release Notes + fix: fakeraid/softraid detection was incorrect + change: major performance improvement for writing large files (new block + allocator) + change: manual update, added access handling, security section + new: use the 'nonempty' FUSE mount option by default, so the driver behaves + as the in-kernel file systems + new: --disable-ldconfig configure option + +STABLE Version 1.0 (February 21, 2007) -- Release Notes + change: document and release version update to stable status + +Version 0.20070207-RC1: -- Release Notes + new: the driver is in release candidate status + new: warn if the deficient FUSE 2.6.2 kernel module is used + fix: a bug in chkdsk could result the removal of highly fragmented, valid + files + fix: Mac OS X portability improvements + change: full file permission checking if any of the uid, gid, umask, fmask, + or dmask mount option is used + +Version 0.20070118-BETA: -- Release Notes + new: top request: setuid root support, the driver can run unprivileged + fix: the 'user' and 'users' fstab mount options didn't work (requires setuid + root ntfs-3g) + fix: time of last file modification and status change weren't updated + +Version 0.20070116-BETA: -- Release Notes + new: top request: support old FUSE kernel modules + fix: ActiveSync didn't work via Samba 3.0 + +Version 0.20070102-BETA: -- Release Notes + fix: writing large files could be very slow + fix: writing several files at the same time could be very slow + fix: writing at several places into a file at the same time could be very + slow + fix: invalid argument error when writing randomly into sparse files + +Version 0.20061218-BETA: -- Release Notes + fix: heavy memory usage with sparse files (p2p, bittorrent client problems) + fix: inode number wasn't filled in the dirent structures (CVS, getcwd, + gnulib problems) + fix: 2-8% speed increase due to using pread/pwrite instead of lseek+ + read/write + fix: fuse 2.6.x kernel module detection wasn't reliable + +Version 0.20061212-BETA: -- Release Notes + fix: directories were inaccessible on Windows if the cluster size was + bigger than 4kB + fix: static linking failed with FUSE 2.6.0 + fix: 'make install' failed if ldconfig wasn't in the $PATH + change: more verbose error reporting, explanations, hints for solutions + +Version 0.20061115-BETA: -- Release Notes + fix: unmount was unsafe for removable devices + fix: the code wasn't endian safe + fix: mount arguments were omitted on the 2nd fuse mount attempt + new: FUSE 2.6.0 is required to ensure maximum reliability + new: bmap() implemented: safe swap file support, LILO bootability + change: the file system type is 'fuseblk' instead of 'fuse' for block + devices + +Version 0.20061031-BETA: -- Release Notes + fix: unmount was asynchronous; full fix requires FUSE 2.6.0 as well + fix: mount was denied if $MFTMirr was too small + fix: option parsing was incorrect if there was no space between name + & argument + change: new software versioning + +2006.09.20 -- Release Notes + fix: file creation at disk-full may lead to i/o errors + fix: statistic of inodes and free inodes was incorrect (df -i) + fix: the 'umask' option wasn't always parsed as an octal number + fix: "too long filename" handling wasn't POSIX compliant + fix: mount was denied if $MFTMirr had unused garbage at the file end + +2006.09.10 -- Release Notes + fix: rename was always denied if the target file or directory existed + fix: renaming like 'foo' -> 'FOO' was denied in the WIN32 namespace + fix: fuse kernel module is automatically loaded, no need for config + fix: verbose mount error messages with hints for solutions + fix: compilation failed with gcc 2.96 + change: top request: full read-write access to everybody by default + change: file lookups are always case-sensitive + +2006.08.22 -- Release Notes + fix: case-insensitive directory rename to itself may failed + fix: some regular files weren't accessible on Linux + fix: files created on Linux may not had enough permissions on Windows + +2006.08.11 -- Release Notes + fix: directory couldn't be renamed if it had both WIN32 and DOS name + fix: collision with ntfsprogs header files + +2006.08.03 -- Release Notes + fix: improved large file write performance + fix: better consistency if NTFS wasn't cleanly unmounted + fix: write(2) may created holes + fix: show mounted device names instead of /dev/fuse + +2006.07.14 -- Release Notes + first ntfs-3g BETA release --- ntfs-3g-2010.3.6.orig/libntfs-3g/volume.c +++ ntfs-3g-2010.3.6/libntfs-3g/volume.c @@ -493,7 +493,11 @@ NVolSetReadOnly(vol); /* ...->open needs bracketing to compile with glibc 2.7 */ - if ((dev->d_ops->open)(dev, NVolReadOnly(vol) ? O_RDONLY: O_RDWR)) { + if ((dev->d_ops->open)(dev, +#if defined (MS_SYNCHRONOUS) && defined(O_SYNC) + (flags & MS_SYNCHRONOUS ? O_SYNC : 0) | +#endif + (NVolReadOnly(vol) ? O_RDONLY: O_RDWR) )) { ntfs_log_perror("Error opening '%s'", dev->d_name); goto error_exit; } --- ntfs-3g-2010.3.6.orig/src/ntfs-3g.c +++ ntfs-3g-2010.3.6/src/ntfs-3g.c @@ -180,6 +180,7 @@ #ifdef HAVE_SETXATTR /* extended attributes interface required */ BOOL efs_raw; #endif /* HAVE_SETXATTR */ + BOOL syncio; struct fuse_chan *fc; BOOL inherit; unsigned int secure_flags; @@ -223,7 +224,7 @@ "Usage: %s [-o option[,...]] \n" "\n" "Options: ro (read-only mount), remove_hiberfile, uid=, gid=,\n" -" umask=, fmask=, dmask=, streams_interface=.\n" +" umask=, fmask=, dmask=, streams_interface=, syncio.\n" " Please see the details in the manual (type: man ntfs-3g).\n" "\n" "Example: ntfs-3g /dev/sda1 /mnt/windows\n" @@ -3565,6 +3566,8 @@ flags |= MS_RECOVER; if (ctx->hiberfile) flags |= MS_IGNORE_HIBERFILE; + if (ctx->syncio) + flags |= MS_SYNCHRONOUS; ctx->vol = ntfs_mount(device, flags); if (!ctx->vol) { @@ -3847,6 +3850,11 @@ goto err_exit; ctx->efs_raw = TRUE; #endif /* HAVE_SETXATTR */ + } else if (!strcmp(opt, "syncio")) { + ntfs_log_info("Mounting with synchronous I/O\n"); + ctx->syncio = TRUE; + if (strappend(&ret, "sync,")) + goto err_exit; } else { /* Probably FUSE option. */ if (strappend(&ret, opt)) goto err_exit;