Re: [PATCH] bug fix for ntfs

2012-04-25 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 25.04.2012 08:11, Thomas Frauendorfer wrote: > On Wed, Apr 25, 2012 at 5:01 AM, Bean wrote: >> Thanks for the info, I don't have any 4K drive to test. You can check >> if ntfs fs driver is working properly since I don't remember if I have >> made the 1024 MFT assumption elsewhere. > I don't kno

Re: [PATCH] bug fix for ntfs

2012-04-24 Thread Thomas Frauendorfer
On Wed, Apr 25, 2012 at 5:01 AM, Bean wrote: > Thanks for the info, I don't have any 4K drive to test. You can check > if ntfs fs driver is working properly since I don't remember if I have > made the 1024 MFT assumption elsewhere. I don't know yet when I will have the time to test it because the

Re: [PATCH] bug fix for ntfs

2012-04-24 Thread Bean
Hi, On Tue, Apr 24, 2012 at 11:36 PM, Thomas Frauendorfer wrote: > When I formated a disk with 4K sectors in Windows it used a complete > sector for each MFT record. The block size is not relevant for the MFT > record size, but the sector size of the disk is. Thanks for the info, I don't have an

Re: [PATCH] bug fix for ntfs

2012-04-24 Thread Thomas Frauendorfer
On Mon, Apr 23, 2012 at 6:03 PM, Bean wrote: > Hi, > > 2, Previous version doesn't return blocklist information for small > files embed in MFT, this patch fixes it. For example, create a > 512-byte file test in ntfs and try this command: > > grub-fstest /ntfs.img blocklist /tes

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Jeffrey Sheinberg
On Tue, Apr 24, 2012 at 12:54:03AM +0800, Bean wrote: > Actually there is no problem. Windows 7 stores boot files in one > partition and system files in another, so you won't find Windows > directory in the boot partition. I constantly forget about it. One cannot assume that the Windows 7 bootmg

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Bean
Hi, 2012/4/24 Bean : > BTW, I think i understand how this flag works. If the file is > installed by Windows and not writable, it has a TrustedInstaller > security descriptor and namespace is set  to 0, for example > C:\Windows\notepad.exe. If the file is modified, there is no > TrustedInstaller de

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Bean
Hi, 2012/4/24 Vladimir 'φ-coder/phcoder' Serbinenko : > On 23.04.2012 18:03, Bean wrote: >> Hi, >> >> 2012/4/23 Vladimir 'φ-coder/phcoder' Serbinenko : >>> Have you tried with ntfs-3g? >>> Also if the problem is with only one directory, it's better if it stays >>> the way it is. The only quirk ass

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 23.04.2012 18:03, Bean wrote: > Hi, > > 2012/4/23 Vladimir 'φ-coder/phcoder' Serbinenko : >> Have you tried with ntfs-3g? >> Also if the problem is with only one directory, it's better if it stays >> the way it is. The only quirk associated with false assumption about >> case-sensitivity is the

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Bean
Hi, 2012/4/24 Bean : > Hi, > > 2012/4/23 Vladimir 'φ-coder/phcoder' Serbinenko : >> Have you tried with ntfs-3g? >> Also if the problem is with only one directory, it's better if it stays >> the way it is. The only quirk associated with false assumption about >> case-sensitivity is the need to ref

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Bean
Hi, 2012/4/23 Vladimir 'φ-coder/phcoder' Serbinenko : > Have you tried with ntfs-3g? > Also if the problem is with only one directory, it's better if it stays > the way it is. The only quirk associated with false assumption about > case-sensitivity is the need to reference the name in correct case

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 23.04.2012 17:26, Bean wrote: > Hi, > > 2012/4/23 Vladimir 'φ-coder/phcoder' Serbinenko : >> On 23.04.2012 16:41, Bean wrote: >>> Hi all, >>> >>> This patch fix three issues: >>> >>> 1, In ntfsdoc, it says namespace = 0 means POSIX and it's case >>> sensitive. However, i found out this is not su

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Bean
Hi, 2012/4/23 Vladimir 'φ-coder/phcoder' Serbinenko : > On 23.04.2012 16:41, Bean wrote: >> Hi all, >> >> This patch fix three issues: >> >> 1, In ntfsdoc, it says namespace = 0 means POSIX and it's case >> sensitive. However, i found out this is not sure in Windows 7 as some >> system directory u

Re: [PATCH] bug fix for ntfs

2012-04-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 23.04.2012 16:41, Bean wrote: > Hi all, > > This patch fix three issues: > > 1, In ntfsdoc, it says namespace = 0 means POSIX and it's case > sensitive. However, i found out this is not sure in Windows 7 as some > system directory use this value as well. Now i ignore this flag and > treat all fi

[PATCH] bug fix for ntfs

2012-04-23 Thread Bean
Hi all, This patch fix three issues: 1, In ntfsdoc, it says namespace = 0 means POSIX and it's case sensitive. However, i found out this is not sure in Windows 7 as some system directory use this value as well. Now i ignore this flag and treat all files in ntfs as case insensitive. 2, Previous v