[ntfs-3g-devel] Security version NTFS-3G + NTFSPROGS 2022.10.3 Released

2022-10-31 Thread Jean-Pierre André
Greetings We are happy to announce a security release of NTFS-3G and ntfsprogs. This fixes vulnerability threats caused by maliciously tampered NTFS partitions This release code is available on : https://github.com/tuxera/ntfs-3g/releases/tag/2022.10.3 and the new release tarball can be

Re: [ntfs-3g-devel] Usage of ntfs3 with a file system created with mkntfs.

2022-05-28 Thread Jean-Pierre André
nd Cheers, Didier Le 27/05/2022 à 08:35, Jean-Pierre André a écrit : Greetings, We are happy to announce the security release 2022.5.17 of NTFS-3G and ntfsprogs which fixes the vulnerability threats caused by :     - maliciously tampered NTFS partitions     - improper use of op

Re: [ntfs-3g-devel] Usage of ntfs3 with a file system created with mkntfs.

2022-05-28 Thread Jean-Pierre André
nd Cheers, Didier Le 27/05/2022 à 08:35, Jean-Pierre André a écrit : Greetings, We are happy to announce the security release 2022.5.17 of NTFS-3G and ntfsprogs which fixes the vulnerability threats caused by :     - maliciously tampered NTFS partitions     - improper use of op

[ntfs-3g-devel] Security version NTFS-3G + NTFSPROGS 2021.8.22 Released

2022-05-27 Thread Jean-Pierre André
Greetings, We are happy to announce the security release 2022.5.17 of NTFS-3G and ntfsprogs which fixes the vulnerability threats caused by :     - maliciously tampered NTFS partitions     - improper use of options Also included are changes to the documentation. This new release can be

[ntfs-3g-devel] Stable NTFS-3G + NTFSPROGS 2021.8.22 Released

2021-08-30 Thread Jean-Pierre André
Greetings, Main topics:   - New stable release   - Security advisory   - Project moved to GitHub   - Performance notes The new stable release of NTFS-3G and ntfsprogs is available which includes important security fixes. The security advisory is available at

Re: [ntfs-3g-devel] [Bug] out-of-bound vulnerability in ntfs-3g

2021-06-01 Thread Jean-Pierre André
Hi Kyle, Thanks for your report. I am examining the issue, and will post a fix ASAP. Jean-Pierre Kyle ZENG wrote on 6/1/21 8:39 AM: Hi all, We found a potentially exploitable out-of-bound vulnerability in the latest version of ntfs-3g(ntfs-3g-2017.3.23AR.6). It can be triggered by

Re: [ntfs-3g-devel] Hard-Coded sbin Installation Directories

2021-03-19 Thread Jean-Pierre André
jeff...@aosc.io wrote on 3/19/21 7:03 AM: Greetings, While building NTFS-3G, I found that despite specifying --sbindir=/usr/bin, a good few executables are still installed in /usr/sbin. Grepping around the tree, it seems that in many Makefile.am, `/sbin' is specified as hard-coded paths. A

Re: [ntfs-3g-devel] Formatting behavior on HDDs and SSDs

2021-02-23 Thread Jean-Pierre André
Hi, Matthias Braun wrote on 2/23/21 1:23 PM: Hi and thanks a lot for ntfs-3g! Since Windows Vista, formatting on Windows overwrites all data on the volume with zeros when doing a full format (as opposed to a quick format):

Re: [ntfs-3g-devel] Kernel 5.10 breaks ntfs-3g fstrim

2021-02-11 Thread Jean-Pierre André
Hi Richard, [I quote your report here, as you wanted to do so, but faced some issue] Upstream bug: https://bugzilla.kernel.org/show_bug.cgi?id=211167 Fedora bug:https://bugzilla.redhat.com/show_bug.cgi?id=1926954 ArchLinux bug: https://bbs.archlinux.org/viewtopic.php?id=262243 fstrim of

Re: [ntfs-3g-devel] Support for WSL symlinks

2021-01-19 Thread Jean-Pierre André
Kevin Peng wrote on 1/19/21 8:57 AM: On Mon, Jan 18, 2021 at 6:45 PM Kevin Peng wrote: On Fri, Jan 15, 2021 at 7:57 AM Jean-Pierre André wrote: So I've tried creating some links and special files with the special_files=wsl mount option, and reading those in WSL. WSL was successfully able

Re: [ntfs-3g-devel] Support for WSL symlinks

2021-01-15 Thread Jean-Pierre André
Hi Kevin Kevin Peng wrote on 1/14/21 9:03 AM: I have uploaded to https://jp-andre.pagesperso-orange.fr/ntfs-3g_ntfsprogs-2017.3.23AB.6-2.tgz a test version of ntfs-3g with support for WSL-type symlinks. This variant is enabled by using the mount option : special_files=wsl Both the Interix

Re: [ntfs-3g-devel] Minimum "reasonable" size of an NTFS file system.

2021-01-14 Thread Jean-Pierre André
Didier Spaier wrote on 1/14/21 2:02 AM: Hi Jean-Pierre and All, I have asked a similar question, last post in the thread: https://sourceforge.net/p/ntfs-3g/mailman/message/37119780/ For now in the new 'auto' mode of the Slint installer I just advise users to shrink the last NTFS partition

Re: [ntfs-3g-devel] Support for WSL symlinks

2021-01-13 Thread Jean-Pierre André
Kevin Peng wrote on 1/13/21 5:00 PM: Hi Jean-Pierre, getfattr simply fails with EIO when I try to issue the commands you requested. I did run ntfsinfo on the symlinks though. I have included That is strange. Maybe you did not use the -h option of fgetattr ? It seems the ntfs-3g packaged by

Re: [ntfs-3g-devel] Support for WSL symlinks

2021-01-12 Thread Jean-Pierre André
Hi Kevin, Jean-Pierre André wrote on 1/9/21 9:29 PM: Hi, Kevin Peng wrote on 1/9/21 5:00 PM: Hello Jean-Pierre, I created the following symlinks in WSL in a test directory, along with a file named "foo" and a directory named "bar":    relative-symlink-to-file ->

Re: [ntfs-3g-devel] Files with EAs and Reparse

2021-01-12 Thread Jean-Pierre André
Douglas Paul wrote on 1/11/21 3:21 PM: Hello, I noticed in the documentation (and confirmed with some random pages of MS documentation) that reparse points are not supposed to be supported when there are extended attributes. Not exactly : what the documentation says is that reparse points and

Re: [ntfs-3g-devel] Bug report : ntfs-3g DOS/infinite loop

2021-01-11 Thread Jean-Pierre André
Akshay Ajayan wrote on 1/11/21 1:52 PM: Hi, I found the following bug while mounting a corrupt image using ntfs-3g. Bug info: Infinite loop in ntfs_volume_startup at volume.c:602 This bug occurs because of incorrect value of LCN of VCN 0 of the $MFT, image offset 0x30 in $Boot. Thank you

Re: [ntfs-3g-devel] Support for WSL symlinks

2021-01-09 Thread Jean-Pierre André
Hi, Kevin Peng wrote on 1/9/21 5:00 PM: Hello Jean-Pierre, I created the following symlinks in WSL in a test directory, along with a file named "foo" and a directory named "bar": relative-symlink-to-file -> foo relative-symlink-to-dir -> bar relative-symlink-to-nonexistent ->

Re: [ntfs-3g-devel] Support for WSL symlinks

2021-01-08 Thread Jean-Pierre André
Kevin Peng wrote on 1/8/21 5:42 AM: Hi, It seems that NTFS-3G is currently hardcoded to create only Interix symlinks. Today, however, Interix is obsolete, and people are using WSL instead, which has its own different kind of symlink. Is it anywhere on the roadmap to read and (optionally) create

Re: [ntfs-3g-devel] Why is UserMapping asymmetric?

2020-11-02 Thread Jean-Pierre André
Ulf Zibis wrote on 11/1/20 10:14 PM: Am 31.10.20 um 20:13 schrieb Ulf Zibis: Hi Jean-Pierre, some time ago you have written: Am 28.11.15 um 13:03 schrieb Jean-Pierre André: If the users are in the same group in Windows (this is the default on Windows 7 and earlier), they must also

Re: [ntfs-3g-devel] Why is UserMapping asymmetric?

2020-11-02 Thread Jean-Pierre André
Ulf Zibis wrote on 10/31/20 9:47 PM: Also with usermap there is a problem: gesche@T540p:~$ sudo ntfsusermap /dev/sda3 /dev/sda7 This tool will help you to build a mapping of Windows users to Linux users. Be prepared to give Linux user id (uid) and group id (gid) for owners of files which will

Re: [ntfs-3g-devel] ntfs-3g on Mac OS X 10.15.7

2020-10-29 Thread Jean-Pierre André
Rick Gutierrez wrote on 10/29/20 12:16 AM: Hi, I hope you can help me, but I have been having this problem a few months ago, I think that due to the last updates something damaged, but when I copy a file from the mac to external usb, it does not allow me to copy and it shows me this error:

Re: [ntfs-3g-devel] Best way to install a recent stable ntfs-3g on Ubuntu 20.04?

2020-10-17 Thread Jean-Pierre André
Hi, Chris Roehrig wrote on 10/17/20 2:46 AM: I'd like to upgrade all my Ubuntu 20.04 machines to have a stable ntfs-3g that includes this recent commit: https://sourceforge.net/p/ntfs-3g/ntfs-3g/ci/cd68a084fce98e78e1fc56c232e714da8263a4e0/ This patch is quite recent, and IFAICT it is not yet

Re: [ntfs-3g-devel] Request for Case Insensitive Case Preserving mode

2020-10-05 Thread Jean-Pierre André
Hi, Wil Walfin wrote on 10/5/20 10:56 AM: But case-insensitive-yet-preserving works for VFAT, with no problems at all. So I don't see why the issue of wildcards and kernel calls is an issue for NTFS when it is not an issue for VFAT or EXFAT. vfat is an in-kernel file system, so it serves a

Re: [ntfs-3g-devel] Request for Case Insensitive Case Preserving mode

2020-10-05 Thread Jean-Pierre André
wal...@users.sourceforge.net wrote on 10/5/20 5:19 AM: Dear Jean-Pierre, Currently, ntfs-3g works in case sensitive mode. lowntfs-3g is case insensitive but it makes all the filenames lowercase. Is there a way to make

Re: [ntfs-3g-devel] Discrepancy between the minimum size according to ntfsresize and Windows

2020-10-01 Thread Jean-Pierre André
Didier Spaier wrote on 10/1/20 1:46 PM: Hi, [...] Sorry, I have no information about how Windows 10 computes the minimum size. The location of the $LogFile may however give a clue. Just do :    ntfsinfo -fvi 2 /dev/xxx Here goes: Dumping Inode 2 (0x2) [...] Runlist:

Re: [ntfs-3g-devel] Discrepancy between the minimum size according to ntfsresize and Windows

2020-10-01 Thread Jean-Pierre André
Hi, Didier Spaier wrote on 10/1/20 1:31 AM: Hi, Le 30/09/2020 à 09:40, Jean-Pierre André a écrit : Hi, Didier Spaier wrote on 9/30/20 12:50 AM: Hello, I am the maintainer of the Slint distribution, cf. https://slint.fr I want to provide in our installer the ability to shrink a NTFS file

Re: [ntfs-3g-devel] Discrepancy between the minimum size according to ntfsresize and Windows

2020-09-30 Thread Jean-Pierre André
Hi, Didier Spaier wrote on 9/30/20 12:50 AM: Hello, I am the maintainer of the Slint distribution, cf. https://slint.fr I want to provide in our installer the ability to shrink a NTFS file system and associated partition to make room for Slint alongside Windows. But when I check the minimum

Re: [ntfs-3g-devel] ntfsinfo with verbose output

2020-09-10 Thread Jean-Pierre André
Hi, I am afraid this is bad news. The contents of your file is not sitting in this computer (at least not in this file system). This is a sparse file with none of the 2320694 bytes of the file. The contents lies in a remote cloud server. There are only a "ms-properties" record which probably

[ntfs-3g-devel] Fwd: Re: unsupported reparse point

2020-09-10 Thread Jean-Pierre André
Hi, Forwarded Message I have seen your page about Advanced NTFS-3G Features. Please, could you help me about unsupported reparse point 0x8015? There was backup data,which done under Windows, but now need to read under Linux. Now, many of files are unreadable. I.E. #

Re: [ntfs-3g-devel] Allow multiple users to see themselves as file owners

2020-09-05 Thread Jean-Pierre André
Irfan Latif wrote on 9/5/20 1:18 PM: Hi, With FUSE it's possible to let multiple users see themselves as file owners. I'm not a developer, so cannot be more specific. To quote an example there is /*bindfs */*--mirror=/user1:user2/* mount option (BINDFS manpage

Re: [ntfs-3g-devel] NTFS-3G confuses macOS finder (ENOATTR is not ENODATA)

2020-08-20 Thread Jean-Pierre André
Hi, Mingye Wang wrote on 8/19/20 5:10 PM: Hi, On Wed, Aug 19, 2020 at 9:06 PM Jean-Pierre André wrote: Linux uses the extended attribute paradigm for data which are not really extended attribute, in particular for security data (Posix ACLs, SELinux, ...), and ntfs-3g has added more

Re: [ntfs-3g-devel] NTFS-3G confuses macOS finder (ENOATTR is not ENODATA)

2020-08-19 Thread Jean-Pierre André
Hi, I would like to know more about the use of ENODATA vs ENOATTR on MacOS, as I have no MacOS at hand. Linux uses the extended attribute paradigm for data which are not really extended attribute, in particular for security data (Posix ACLs, SELinux, ...), and ntfs-3g has added more such

Re: [ntfs-3g-devel] CHKDSK errors from large directory of renamed files

2020-08-05 Thread Jean-Pierre André
itable filesystem I found that can preserve POSIX ownerships and permissions and is readable without any additional software on Mac/PC/Linux.Thank you for your dedicated work on ntfs-3g! On Tue Aug 4 2020, at 5:33 AM, Jean-Pierre André wrote: Hi, Chris Roehrig wrote on 8/4/20 2:46

Re: [ntfs-3g-devel] CHKDSK errors from large directory of renamed files

2020-08-04 Thread Jean-Pierre André
ds on your distribution). ./configure --bindir=/bin --sbindir=/sbin --libdir=/lib \    --mandir=/usr/share/man You can determine where libntfs-3g is installed by executing ldd $(which ntfs-3g) Jean-Pierre Thanks, -- Chris On Mon Aug 3 2020, at 12:16 AM, Jean-Pierre André wrote: Hi, P

Re: [ntfs-3g-devel] Minor onedrive plugin issues

2020-06-22 Thread Jean-Pierre André
Hi, Correct. Fixed now. Jean-Pierre Mingye Wang wrote: Hi, It seems that the onedrive plugin on jp-andre.pagesperso-orange.fr has two small issues that prevent it from functioning right out of the box. * The reparse number in the Makefile is wrong, so ntfs-3g would never find it. Run "sed

Re: [ntfs-3g-devel] NTFS signature is missing

2020-03-05 Thread Jean-Pierre André
Mingye Wang wrote: On Thu, Mar 5, 2020 at 8:04 PM Flaviu2 via ntfs-3g-devel wrote: Hello. I attach the hexdump file at this email (is a small file, hexdump.txt) Do you see the "error loading operating system" part of the dump? I believe you are reading the disk, not the NTFS

Re: [ntfs-3g-devel] ntfs-3g I/O errors on "unsupported reparse point"

2020-03-04 Thread Jean-Pierre André
Pascal wrote: hi Jean-Pierre, I was able to retrieve the second file. as indicated, I performed the tests without installation and they went perfectly ! Thank you for testing. the display of the folder containing the pseudo-files does not return any more I/O errors and the find command

Re: [ntfs-3g-devel] ntfs-3g I/O errors on "unsupported reparse point"

2020-03-03 Thread Jean-Pierre André
ew, wouldn't it be more relevant to announce them as such ? Pascal Le jeu. 27 févr. 2020 à 16:40, Jean-Pierre André mailto:jean-pierre.an...@wanadoo.fr>> a écrit : Pascal wrote: > I have a little question about these special files... >

Re: [ntfs-3g-devel] NTFS signature is missing

2020-03-02 Thread Jean-Pierre André
as ... How did you guard against Win10 having opened the partition exclusively in read-write mode ? It might also be useful you tell how you open the partition, and how you make sure you read actual data. Jean-Pierre Regards, Flaviu. On Thursday, February 27, 2020, 05:10:48 PM GMT+2, Jean-

Re: [ntfs-3g-devel] ntfs-3g I/O errors on "unsupported reparse point"

2020-02-27 Thread Jean-Pierre André
n yet, but, considering the results displayed, I'll be sure to look into it :-) thanks for everything and especially for ntfs-3g Le mar. 25 févr. 2020 à 13:46, Jean-Pierre André mailto:jean-pierre.andre-39zsbgiqgt5gwvitb5q...@public.gmane.org>>

Re: [ntfs-3g-devel] NTFS signature is missing

2020-02-27 Thread Jean-Pierre André
Flaviu2 via ntfs-3g-devel wrote: Hello. I have loaded NTFS-3G from here: https://github.com/vitalif/ntfs-3g into a VS2017 project, wanting to read NTFS USB stick drive. And when I debugging reading process, I saw that is not reading USB drive due to: *// bootsect.c* BOOL

Re: [ntfs-3g-devel] ntfs-3g I/O errors on "unsupported reparse point"

2020-02-25 Thread Jean-Pierre André
t 25 10 sept. 14:03 python3.exe -> 'unsupported reparse point' Pascal Le mar. 25 févr. 2020 à 10:55, Jean-Pierre André <mailto:jean-pierre.an...@wanadoo.fr>> a écrit : Pascal wrote: > hi everyone, > > as suggested by the package maintainer, I'm transferri

Re: [ntfs-3g-devel] ntfs-3g I/O errors on "unsupported reparse point"

2020-02-25 Thread Jean-Pierre André
Pascal wrote: hi everyone, as suggested by the package maintainer, I'm transferring to you an open ticket on Archlinux bug tracker : https://bugs.archlinux.org/task/63737 regards. The reparse point this ticket is referring to is a link for executing some cloud Windows application (this is

Re: [ntfs-3g-devel] ntfsfallocate

2020-02-06 Thread Jean-Pierre André
-destination I will try to get your patch working. -Pascal On 2/6/2020 2:43 AM, Jean-Pierre André wrote: There is indeed a bug in ntfsfallocate when there is initially no allocation at all. In your example a possible workaround is to allocate a sparse cluster after the touch ("truncate -s

Re: [ntfs-3g-devel] ntfsfallocate

2020-02-06 Thread Jean-Pierre André
There is indeed a bug in ntfsfallocate when there is initially no allocation at all. In your example a possible workaround is to allocate a sparse cluster after the touch ("truncate -s 4096 /12tb/test/6") Of course, in a real situation you would have to insert a test to avoid truncating valid

Re: [ntfs-3g-devel] Fwd: 'touch' dir on NTFS partition (open-source-ntfs-3g)

2019-11-19 Thread Jean-Pierre André
a: *Filippo Portera* mailto:fporte...@gmail.com>> Date: mar 19 nov 2019 alle ore 12:43 Subject: Re: [ntfs-3g-devel] 'touch' dir on NTFS partition (open-source-ntfs-3g) To: Jean-Pierre André <mailto:jean-pierre.an...@wanadoo.fr>> Sorry I made a mistake. On my PC 'touch' is

Re: [ntfs-3g-devel] MFT differences

2019-11-19 Thread Jean-Pierre André
The MFT can be put anywhere on the device, and mkntfs has chosen a layout different from the Windows formatter. You can see that the initial size is roughly the same, as 4448567-786432 = 3662135. Actually this is not essential, as the MFT is automatically extended when needed. Likewise, if you

Re: [ntfs-3g-devel] 'touch' dir on NTFS partition (open-source-ntfs-3g)

2019-11-19 Thread Jean-Pierre André
I see nothing wrong after a basic try : [linux@optiplex ntfs]$ mkdir temp [linux@optiplex ntfs]$ stat temp   File: ‘temp’   Size: 0     Blocks: 0  IO Block: 4096 directory Device: 806h/2054d    Inode: 4312    Links: 1 Access: (0755/drwxr-xr-x)  Uid: (  500/   linux)   Gid: ( 

Re: [ntfs-3g-devel] Error with fflush in ntfsclone

2019-09-25 Thread Jean-Pierre André
Jean-Pierre André wrote: Adalbert Hanßen wrote: I have heard about a command split. Would it work to pipe the output like this sudo ntfsclone --save-image --output - /dev/sda2| split -b 2G - W530_sda2_Windows-10-System_2019-09-24.ntfsclone *Would this be the right command

Re: [ntfs-3g-devel] Error with fflush in ntfsclone

2019-09-25 Thread Jean-Pierre André
Adalbert Hanßen Am 24.09.19 um 14:03 schrieb Jean-Pierre André: Adalbert Hanßen wrote: I want to replace my hard disk by a SSD and therefore I want to clone the Windows-10 partition of my double boot computer using ntfsclone. I tried to do so, basically using the command     sudo

Re: [ntfs-3g-devel] Error with fflush in ntfsclone

2019-09-24 Thread Jean-Pierre André
Adalbert Hanßen wrote: I want to replace my hard disk by a SSD and therefore I want to clone the Windows-10 partition of my double boot computer using ntfsclone. I tried to do so, basically using the command     sudo ntfsclone --save-image --output

Re: [ntfs-3g-devel] fsarchiver fails to make an image of a Windows-10 partition because ntfs-3g can't cope with some files

2019-09-18 Thread Jean-Pierre André
Adalbert Hanßen wrote: This bug report pertains to ntfs-3gis 2017.3.23 (apparently the most recent one) on Xubuntu 18.04.3 LTS. I want to make images of all partitions of my dual boot computer running withXubuntu or withWindows 10 (1803). I usefsarchiver0.8.4 (2018-02-19) Some more

Re: [ntfs-3g-devel] Workaround for xattr ntfs_dos_name for hard links.

2019-09-05 Thread Jean-Pierre André
Rich W wrote: Hi there, I'm currently evaluating fsarchiver. When using it to back up a Windows 10 system partition, there's a lot of errors within its output due to lgetxattr returning ELINK. This prevents the file from being included within the backup archive. AFAIK, fsarchiver is about

Re: [ntfs-3g-devel] deduplication plugin still working?

2019-08-01 Thread Jean-Pierre André
Jelle de Jong wrote: Thank you for replying. # strings $(which ntfs-3g) | grep ntfs-plugin /usr/lib/x86_64-linux-gnu/ntfs-3g/ntfs-plugin-%08lx.so # ldd /usr/lib/x86_64-linux-gnu/ntfs-3g/ntfs-plugin-8013.so linux-vdso.so.1 (0x7ffee53a) libc.so.6 =>

Re: [ntfs-3g-devel] deduplication plugin still working?

2019-08-01 Thread Jean-Pierre André
Jelle de Jong wrote: Hello everybody, I am trying to debug some issues I am having that the mount start showing a completely different filesystem (linux instead of windows ntfs) and I wanted to make sure the deduplication is still working. So it is not showing in the syslog that the

Re: [ntfs-3g-devel] Error when mounting partition with non-standart cluster size

2019-06-27 Thread Jean-Pierre André
the latest version backported. So, thanks for the investigation. I'm leaving the drive as it, so if you need more info, I can provide. Hope the fixup warnings disappear, but this could be complex to investigate. Jean-Pierre 27.06.2019, 11:13, "Jean-Pierre André" : Jea

Re: [ntfs-3g-devel] Error when mounting partition with non-standart cluster size

2019-06-27 Thread Jean-Pierre André
Jean-Pierre André wrote: Jean-Pierre André wrote: Иван Омельченко wrote: I see nothing wrong in the root index data you posted, and I have been able to list the root directory (with some hacking related to data I do not have, such as the MFTMirr). So I would like to dig into the MFT

Re: [ntfs-3g-devel] Error when mounting partition with non-standart cluster size

2019-06-26 Thread Jean-Pierre André
Jean-Pierre André wrote: Иван Омельченко wrote: Following the data you sent (not shown on the list because there were attachments), I may have found the cause : > > > > fs@fs-hpc:~$ sudo head -c 80 /dev/sdb1 | od -t x1 > > 000 eb 52 90 4e 54 46 53 20 20 20

Re: [ntfs-3g-devel] Error when mounting partition with non-standart cluster size

2019-06-26 Thread Jean-Pierre André
Иван Омельченко wrote: > Initially, I used the default Windows Explorer formatting menu. > So, this is for a working state (block size 16KiB): > > fs@fs-hpc:~$ sudo ntfsinfo -m /dev/sdb1 > Volume Information > Name of device: /dev/sdb1 [...] > Free Clusters: 5340244

Re: [ntfs-3g-devel] non interactive shell + ntfs-3g

2019-06-24 Thread Jean-Pierre André
Nussbaumer Raffael (ID S4D) wrote: Hi Jean-Pierre What is the difference of behavior you observe ? How do you start ntfs-3g ? I'm using shell_exec() php function to start a script in which ntfs-3g is used. On my old server (Ubuntu 16.04) which came with ntfs-3g version 2015.3.14, running

Re: [ntfs-3g-devel] non interactive shell + ntfs-3g

2019-06-24 Thread Jean-Pierre André
Nussbaumer Raffael (ID S4D) wrote: Hi I’m writing to this mailing list because I don’t know where to ask otherwise. I was wondering if since version 2015.3.14 there was a change that forces the shell to be interactive in which the ntfs-3g binary gets executed. There is no change

Re: [ntfs-3g-devel] Disabling cache in ntfs-3g

2019-06-22 Thread Jean-Pierre André
of documentation about ntfs-3g internals, if any. Googling for "ntfs documentation" leads to available information. Thanks again! Best, Akshay On Fri, Jun 21, 2019 at 12:57 AM Jean-Pierre André mailto:jean-pierre.an...@wanadoo.fr>> wrote: Akshay Ajayan wrote: > Hi,

Re: [ntfs-3g-devel] Disabling cache in ntfs-3g

2019-06-21 Thread Jean-Pierre André
Akshay Ajayan wrote: Hi, I don't know if this is the right place to ask this question, so if it is not I apologize for sending this mail. I tried to ask this question on the tuxera forum, but I guess the registration is closed now. For testing purposes, I wanted to know whether there is

Re: [ntfs-3g-devel] NTFS-3G created file system not readable on Windows from R/O media

2019-05-08 Thread Jean-Pierre André
Ralf Ertzinger wrote: Hi, On Wed, May 08, 2019 at 03:15:49PM +0200, Jean-Pierre André wrote: I'm working on a project where a media with some data has to be prepared on a Linux system to be read by a windows system. The media must not be written to by the windows system, so I'm using SD cards

Re: [ntfs-3g-devel] NTFS-3G created file system not readable on Windows from R/O media

2019-05-08 Thread Jean-Pierre André
Ralf Ertzinger wrote: Hi, apologies if this is not the right avenue of apporach, I've been unable to find out how to register on the forums to raise an issue there. Please point me in the right direction if a different venue is more appropriate for bug reports. Yes, the forum has had to be

Re: [ntfs-3g-devel] Build error on Android 9

2019-02-25 Thread Jean-Pierre André
Chih-Wei Huang wrote: Jean-Pierre André 於 2019年2月23日 週六 下午5:29寫道: However, I'm thinking a more proper fix. The standard prototype of ioctl() is int ioctl(int fd, unsigned long request, ...); But ntfs-3g defines ioctl method to be int (*ioctl)(struct ntfs_device *dev, int request, void *argp

Re: [ntfs-3g-devel] Build error on Android 9

2019-02-23 Thread Jean-Pierre André
Chih-Wei Huang wrote: Hi, I'm building ntfs-3g on Android 9. The clang compiler complained: external/ntfs-3g/libntfs-3g/ioctl.c:398:7: error: overflow converting case value to switch condition type (3222820985 to 18446744072637405305) [-Werror,-Wswitch] case FITRIM: ^

Re: [ntfs-3g-devel] Request: ntfsresize option to only reallocate data, not resize filesystem

2019-01-20 Thread Jean-Pierre André
james harvey wrote: My fstrim tests threw a bit of a wrench into my typical LVM setup. I often use quite large thin pool chunks, to get better performance. As most of my filesystems use btrfs, I am able to perform a btrfs balance. Internally btrfs manages 1GB chunks for data. A balance can

Re: [ntfs-3g-devel] Salvaging an NTFS partition on Win-7

2019-01-09 Thread Jean-Pierre André
JD wrote: On 01/09/2019 10:04 AM, Jean-Pierre André wrote: JD wrote: Hi, Running /usr/bin/ntfsck for partition 2 of a windows 7 drive, where windows is installed, I get about 10 or so $MFT's for which I/O failed - which, to me, indicates head crash damage in those locations

Re: [ntfs-3g-devel] Salvaging an NTFS partition on Win-7

2019-01-09 Thread Jean-Pierre André
JD wrote: Hi, Running /usr/bin/ntfsck for partition 2 of a windows 7 drive, where windows is installed, I get about 10 or so $MFT's for which I/O failed - which, to me, indicates head crash damage in those locations. If this is the ntfsck shipped with ntfs-3g, ignore it altogether. This is

Re: [ntfs-3g-devel] No free mft record

2019-01-09 Thread Jean-Pierre André
ror is an indication of excessive fragmentation, and chkdsk will probably not do much about it. What you need is a defragmenter. Jean-Pierre ‐‐‐ Original Message ‐‐‐ On Monday, 29. October 2018 13:54, Jean-Pierre André wrote: Hi, crazycodemonkey wrote: Thanks for the hint. I just downloaded http:/

Re: [ntfs-3g-devel] fstrim: With ntfs-3g, "the discard operation is not supported"

2019-01-09 Thread Jean-Pierre André
james harvey wrote: On Wed, Jan 9, 2019 at 4:24 AM Jean-Pierre André wrote: There are no recent changes in the trimming code, so you can keep the version from Tuxera used by arch, or the latest code from the repository on https://sourceforge.net/p/ntfs-3g/ntfs-3g/ci/edge/tree/ For a test build

Re: [ntfs-3g-devel] fstrim: With ntfs-3g, "the discard operation is not supported"

2019-01-09 Thread Jean-Pierre André
james harvey wrote: Replies to BOTH of your emails are below. Links to new output are at the very bottom. On Tue, Jan 8, 2019 at 4:04 AM Jean-Pierre André wrote: james harvey wrote: [...] Note : I personally do not have any ssd and I do not use lvm, so I will have to rely on you

Re: [ntfs-3g-devel] fstrim: With ntfs-3g, "the discard operation is not supported"

2019-01-08 Thread Jean-Pierre André
More on this : Jean-Pierre André wrote: james harvey wrote: [...] openat(AT_FDCWD, "/mnt/ntf", O_RDONLY) = 3 fstat(3, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 ioctl(3, FITRIM, {start=0, len=0x, minlen=0}) = -1 EOPNOTSUPP (Operation not supported) This su

Re: [ntfs-3g-devel] fstrim: With ntfs-3g, "the discard operation is not supported"

2019-01-08 Thread Jean-Pierre André
james harvey wrote: Running ntfs-3g 2017.3.23 on Arch Linux. fstrim (util-linux) 2.33. I see ntfs-3g gained discard support quite some time ago, but haven't been able to get it to work. [...] # umount /mnt # lvcreate --virtualsize 10G --thin lvm/thinpool --name ntfs # mkfs.ntfs

Re: [ntfs-3g-devel] No free mft record

2018-10-28 Thread Jean-Pierre André
crazycodemonkey via ntfs-3g-devel wrote: Hi guys, I have an ntfs partition which worked fine before. Now when I try to create a new file on that partition I get the error: "No free mft record for $MFT: No space left on device" When I delete one file from the partition, I'm able to create a

Re: [ntfs-3g-devel] Truncated file from volumes with data deduplication windows 2012

2018-08-20 Thread Jean-Pierre André
c395d7af50072f670592c1447c1cf31b disk/compression-disk.txt If you agree with that, I will push an updated plugin. Jean-Pierre Jean-Pierre André wrote: Hi Nikolay I have downloaded your data, and I will look into it as as soon as I can. I have a couple of initial requests : - If possible please keep

Re: [ntfs-3g-devel] Truncated file from volumes with data deduplication windows 2012

2018-08-20 Thread Jean-Pierre André
Hi Nikolay I have downloaded your data, and I will look into it as as soon as I can. I have a couple of initial requests : - If possible please keep this partition unchanged as a reference until the problem is solved, so that I can ask you do do some tests on the same data I have. - Can you

Re: [ntfs-3g-devel] Don't try to mount read-only devices as read-write

2018-08-05 Thread Jean-Pierre André
segfault wrote: Hi, mount.ntfs-3g fails with a permission denied error when trying to mount a read-only loop device without specifying the ro option. There are multiple bug reports about this: What is your definition of a "read-only loop device" ? You can try the attached patch, though this

Re: [ntfs-3g-devel] Unexpected sectors per cluster value (244)

2018-05-30 Thread Jean-Pierre André
Hi, Stefan de Konink wrote: After partitioning with GPT, and formatting the NTFS disk under Windows using 2K sectors per cluster size, I am unable to mount the partition using ntfs-3g. Unexpected sectors per cluster value (244). Failed to mount '/dev/sdb1': Invalid argument The device

Re: [ntfs-3g-devel] Feature request - ntfsundelete duplicate filename handling

2018-04-27 Thread Jean-Pierre André
Hi, Rob McCathie wrote: Hello NTFS-3G devs, Firstly thank you for all the work you do providing ntfs-3g. I have a simple feature request for ntfsundelete - if during recovery there is a file with the same name as another file already recovered earlier in the process, if there was an option to

Re: [ntfs-3g-devel] FILE_ATTRIBUTE_HIDDEN flag is set on the root NTFS folder

2018-04-14 Thread Jean-Pierre André
Roman Inflianskas wrote: I implemented the patch that hides NTFS hidden files (files with FILE_ATTRIBUTE_HIDDEN flag) in the Dolphin (KDE file manager). The problem is that FILE_ATTRIBUTE_HIDDEN flag is set on the root NTFS folder that means that the mountpoint won't show up, which is a strange

Re: [ntfs-3g-devel] Improving symbolic link interoperability with Windows

2018-04-13 Thread Jean-Pierre André
Hi, Zoltan Kelemen wrote: Hello, When symbolic links are created on an NTFS volume on a Linux system, they are currently mapped by NTFS-3G to so-called Interix-type files. If the volume is mounted on Windows, these links can only be natively resolved by installing the (deprecated) UAS

Re: [ntfs-3g-devel] unable to restore NTFS image

2018-01-29 Thread Jean-Pierre André
Lars Nordin wrote: Sorry if this is the wrong place to ask, but I'm not finding help elsewhere. I'm trying to restore a ntfsclone backup but getting an out of space error. |ntfsclone --restore-image --overwrite /dev/loop0p1 sda3.ntfs ntfsclone v2017.3.23 (libntfs-3g) Ntfsclone image version:

Re: [ntfs-3g-devel] Redo/Undo pair mismatch

2017-10-14 Thread Jean-Pierre André
Hi, Attached is an update to the patches, after having checked all my tests run successfully. Jean-Pierre Jean-Pierre André wrote: Hi, Your tests, leading to the file system getting filled up, produced situations not seen before. Could you please check the attached patches. They care

Re: [ntfs-3g-devel] Redo/Undo pair mismatch

2017-10-13 Thread Jean-Pierre André
Hi, Your tests, leading to the file system getting filled up, produced situations not seen before. Could you please check the attached patches. They care for two different issues : - replaying some redo actions which were not foreseen, - locating log blocks more recent than temporary ones. So

Re: [ntfs-3g-devel] Redo/Undo pair mismatch

2017-10-08 Thread Jean-Pierre André
Hi, Maayan Hanin wrote: Hello, On some occasions, I’ve got an NTFS journal containing ops which ntfsrecover ignores since the Redo/Undo pair doesn’t match what ntfsrecover expects in the distribute_redosfunction. First of all, please retry with the latest version, either from the repository

Re: [ntfs-3g-devel] ntfsrecover fails to recover due to "Bad first record at offset"

2017-06-19 Thread Jean-Pierre André
Hi, The fix is available at : http://jp-andre.pagesperso-orange.fr/redo-vcn.zip Jean-Pierre Jean-Pierre André wrote: Hi, Gil Barash via ntfs-3g-devel wrote: Hey, Downloading the latest did the trick. Thanks. I agree that the data replacement operations are easier, but the bigger problems

Re: [ntfs-3g-devel] ntfsrecover fails to recover due to "Bad first record at offset"

2017-06-16 Thread Jean-Pierre André
Hi, Update... Jean-Pierre André wrote: Gil Barash via ntfs-3g-devel wrote: Hey, I have two follow up issues: [...] --- 2 -- General question about redo process: In change_resident_expect (called by redo_update_root_vcn, for example) we chose not to apply the redo data if the current

Re: [ntfs-3g-devel] ntfsrecover fails to recover due to "Bad first record at offset"

2017-06-15 Thread Jean-Pierre André
Gil Barash via ntfs-3g-devel wrote: Hey, I have two follow up issues: --- 1 --- When trying to run the patched version on "ntfs_poweroff_fullLogs.partition.raw" (provided earlier) all I get is: Capacity 533724672 bytes (533 MB) sectors 1042431 (0xfe7ff), sector size 512 clusters 130303

Re: [ntfs-3g-devel] ntfsrecover fails to recover due to "Bad first record at offset"

2017-05-22 Thread Jean-Pierre André
be repaired. These are the only partitions which I have checked so far, so problems could still be experienced. The patch against the latest ntfs-3g (v 2017.3.23) is available at : http://jp-andre.pagesperso-orange.fr/logfile-2.0.patch.zip Jean-Pierre Jean-Pierre André wrote: > Gil Barash wrote: >&

Re: [ntfs-3g-devel] ntfsrecover fails to recover due to "Bad first record at offset"

2017-05-20 Thread Jean-Pierre André
Gil Barash wrote: > Hello Jean-Pierre, and thank you for the quick response. > > On Thu, May 11, 2017 at 7:38 PM, Jean-Pierre André > <jean-pierre.an...@wanadoo.fr> wrote: >> >> Gil Barash wrote: >>> Hello, >>> >>> I'm trying to use the ntf

Re: [ntfs-3g-devel] ntfsrecover fails to recover due to "Bad first record at offset"

2017-05-11 Thread Jean-Pierre André
Gil Barash wrote: > Hello, > > I'm trying to use the ntfsrecover tool to recover the partition. > I have a data disk (~500MB) on a Windows machine. I wrote to it some > files while powering off the machine (pulling the cable). The resulting > filesystem has some corrupt files - doing "ls" gives me

Re: [ntfs-3g-devel] ntfs-3g support for volumes with data deduplication windows 2012

2017-04-04 Thread Jean-Pierre André
}.ddp/Stream/ > > > # f66ede437b46789891bcddc2ab424cfe stream.data.full.dir.tar.gz > https://powermail.nu/nextcloud/index.php/s/JfGOU6O9isWLtMl > > I did not see another 0019.*.ccc > > Kind regards, > > Jelle de Jong > > On 04/04/17 13:00, Jean-Pierre André wrote: >> Jelle de Jo

Re: [ntfs-3g-devel] ntfs-3g support for volumes with data deduplication windows 2012

2017-04-04 Thread Jean-Pierre André
e (D8A64E6D...) is not present in 0019.00010002.ccc What comes to mind is that 0019.00010002.ccc was being updated and a newer one should be used. Is there another 0019.*.ccc in the same Stream directory ? Jean-Pierre > Kind regards, > > Jelle de Jong > > On 03/04/1

Re: [ntfs-3g-devel] ntfs-3g support for volumes with data deduplication windows 2012

2017-04-03 Thread Jean-Pierre André
Hi, Please try http://jp-andre.pagesperso-orange.fr/dedup123-beta.zip Regards Jean-Pierre Jean-Pierre André wrote: > Hi, > > I see what is happening here : this file "algemeen.txt" > is recorded the traditional way (like mine), not the > way most of your file

Re: [ntfs-3g-devel] ntfs-3g test cases

2017-03-27 Thread Jean-Pierre André
none wrote: > Le 2017-03-20 08:36, Jean-Pierre André a écrit : >> Hi, >> >> none wrote: >>> Hello, >>> >>> Does anyone has an idea on how to build a ntfs 3.1 filesystem less than >>> 150Kb large ? >> >> The 3.5" di

Re: [ntfs-3g-devel] ntfs-3g test cases

2017-03-20 Thread Jean-Pierre André
Hi, none wrote: > Hello, > > Does anyone has an idea on how to build a ntfs 3.1 filesystem less than > 150Kb large ? The 3.5" diskettes I was using thirty years ago had a capacity of 720kB... Earlier there were 5" diskettes with a capacity around 350kB. > The problem is mkntfs create a large

Re: [ntfs-3g-devel] ntfs-3g support for volumes with data deduplication windows 2012

2017-02-25 Thread Jean-Pierre André
[ Repeating, forgot to cc to the list ] Jean-Pierre André wrote: > Hi, > > There was a bug in the index location, which in bad conditions > could lead to an endless loop in the indexed search. So I have > fixed the bug, and protected against a corrupted index leading >

Re: [ntfs-3g-devel] 回复: why failed to mount n NTFS block devicebased on LVM and formated by VM(Win7-Guest, CentOS7-Host)?

2017-02-24 Thread Jean-Pierre André
Hi, I just meant that file access might not cross similar layers from Windows (guest) and from Linux (host). If you do not get an ntfs layout from Linux, you will surely not be able to mount. Maybe you reach a missing or not compatible virtualization layer. You might get better help from a qemu

  1   2   3   >