Using the Real ntfs.sys Driver Under Linux 548
caseih writes "A very neat hack uses the real ntfs.sys driver (obtained from your own windows XP partition and used via a wine-like layer (borrowed from ReactOS) to mount an ntfs partion with full read/write access. While not an ideal solution and certainly not free as in speech, this is an ideal stop-gap measure for many people trying out linux. I think that we'll probably see this in Knoppix pretty soon."
First? (Score:5, Insightful)
Surely that would be ReactOS, where he got a lot of the code from.
But still, so it begind. First NDIS drivers now FS drivers. Next up it will be a GDI wrapper for X so you can use Windows binary drivers with your graphics card.
All of this is a complete waste of time though. When did Open Source simply become a way to avoid paying for Windows?
Re:OK... good (Score:2, Insightful)
You hit it... (Score:5, Insightful)
Fsckin' Great... (Score:2, Insightful)
BTW How did people get around this issue before Read/Write access to NTFS? Did they have a FAT32 partition or something that both of the OS installations shared? I never took too much time to look into it because it wasn't too much of a problem for me.
--D3X
NeoX3.com: Free of Clothes and Free of Charge [neox3.com]
I wonder... (Score:4, Insightful)
From what i've read about WinFS, a *nix 'version' would be quite nice.
To all the "can't go in Knoppix" posters (Score:5, Insightful)
It would be perfectly legal for Knoppix to *know* that you might have an NTFS.SYS around on your computer, look around to see whether this is the case, and if it is, use your own copy NTFS.SYS.
Of course, Knoppix will never itself be packaged with the NTFS.SYS. But if you have an NTFS partition, you have a damn good chance of having an NT around as well, with the driver right in there.
I can only hope that MS doesn't insert some nastiness into the NTFS.SYS that would prevent it from running inside the framework described in TFA.
HTH
Re:What is this good for? (Score:5, Insightful)
In any case, your friend probably has a bunch of files on his Windows partition (likely NTFS formatted) that he wants to see if he can edit/view in Linux. If he can do what he wants, then switching to Linux becomes an option. So, with this, his NTFS partition is available and everything just works(TM). After all, your friend doesn't even know what NTFS is, but he does know when he can't get at his files.
In short, this makes transitions to Linux much smoother. People shouldn't have to keep a copy of a file on both partitions just so its available in both environmets. It becomes a pain to figure out which document is the most recent, etc. etc. And, BTW, I'm talking about the average user who doesn't have a network drive.
Re:I'm not sure if we'll see it in knoppix (Score:5, Insightful)
I was thinking exactly the same, but there might be a way around that. Knoppix just have to contain the wrapper code, the actual
Re:Knoppix (Score:5, Insightful)
Re:I'm not sure if we'll see it in knoppix (Score:5, Insightful)
See this in Knoppix real soon... (Score:0, Insightful)
That driver is a closed binary and is subject to the DMCA act as well as Federal and State copyright laws.
You put that binary on a CD guy and your asking for it, and besides, it isn't in keeping with GNU distro's recognition of existing copyright law.
GNU license fully recognizes copyright and IP laws in most countries, no matter how draconian they are. (i.e. specifically the US)
-Hack
Re:Linux File System? (Score:3, Insightful)
Linux has support for dozens of other operating systems' filesystems such as FAT32 and NTFS from Windows, JFS from IBMs OS/2 and AIX, XFS from SGIs Irix, as well as several developed specifically for Linux - such as ext2, ext3, and reiserfs.
Of all the filesystems available for Linux, XFS is probably the most advanced of any mainstream operating system in the world, with far more in the way of features and reliability as NTFS.
Ewan
Re:Not 'free as in speech', but rather (Score:3, Insightful)
Writing ext/reiser drivers for windows would fulfil a different niche, (linux user switching to windows perhaps?). This is intended for windows users, who already have ntfs filesystems, switching to linux.
Re:I'm not sure if we'll see it in knoppix (Score:2, Insightful)
Re:NTFS, not good. (Score:1, Insightful)
Re:What about users/permissions? (Score:2, Insightful)
Re:Linux File System? (Score:3, Insightful)
Umm, no. Linux can read/write FAT32 filesystems, but typically it is installed on ext2 or ext3 filesystems. Or XFS, or Reiser, or JFS, or.... Basically, anything which supports Unix-like permissions. Does anyone still use the old Minix filesystem?
In theory I guess you could install it on FAT32, but it would be horribly insecure and very kludgey since FAT32 won't support permissions, symlinks, device nodes, sparse files, and probably some other necessities that I'm forgetting right now.
the tricky part (Score:4, Insightful)
Comment removed (Score:5, Insightful)
Re:What about users/permissions? (Score:3, Insightful)
That horse has been out of the barn for years. Once I have physical access to a computer, I can boot from an NTFSDOS floppy or CDROM and ignore all NTFS security.
This doesn't make things less secure. It may remind people that without physical security, there is no data security.
Re:The simple fact of the matter is... (Score:3, Insightful)
That should be sending me a flag that this is just a troll or flamebait, but I'm biting anyway. I don't have the money to buy an extra machine so I can run Linux and my wife can run Windows. And I'm not such a zealot as to make her use Linux for tasks that she finds easier in Windows. There is no Photoshop for Linux, and the only legal ways to run Photoshop in Linux end up meaning I have to have a copy of Windows. (VMWare + Windows, Bochs + Windows, Wine + Windows DLLs). So if I'm already paying for Windows, then I may as well dualboot it and avoid the performance hit of VMWare/Bochs/Wine.
Re:What about users/permissions? (Score:2, Insightful)
Re:How about the other way around (Score:4, Insightful)
bah. i hate these. non-x86 users suffer. (Score:5, Insightful)
it satisfys much of the normal x86 crowd which means development of the real driver suffers.
Re:OK... good (Score:4, Insightful)
Re:OK... good (Score:5, Insightful)
I do appreciate the difficulties the kernel team have had with this, it is not their fault that they have to work with an undocumented closed-source file system.
The strange thing about all this is that very many different OSs which have existed over the years have had some capability to read and write "foreign" file systems, either built in or as a third-party driver. Certainly it is standard with Linux, *BSD, even the hated SCO, also MAC in most of its variants, Amiga, Atari, Solaris....... Even many 8-bit computers could read a variety of foreign file systems. The one name missing is M$, absolutely none of their stuff recognises any othe OS at all. (Please correct me if I am wrong!) It is as if Bill arrogantly imagines that there are only Windoze PCs in this universe. The fact is that there are many things that can't be done under Windoze, but are relatively easy under some other OS. Maybe the reverse is true also, but I can't think of an example. It is absolutely normal in this day and age, even without open source, to need to read and write foreign file systems. The one obstacle is the Chief Hacker of Redmond, he will neither interface to other people's file systems (despite having the documentation, and most drivers under BSD licence) nor will he let anyone else do it by denying proper access to his documentation.
One day, when the masses wake up to what they have been denied since Messy-DOS 1, he may realise that his monopolistic actions have in fact shot himself in both feet.
Re:OK... good (Score:3, Insightful)
Re:OK... good (Score:4, Insightful)
Mount the NFTS partition you want write access to using the OSS read-only version,
read the winnt/system32/ntfs.sys driver into memory or RAM-disk,
remount it using the method described in the article.
This way, Knoppix (or whichever distro implements this) wouldn't have to include the EULA-protected M$ driver. Its as legal as any other WINE-like use of existing, O/S-speicific DLLs and drivers.
Obviously, this wouldn't work for NTFS partitions that don't have an actual NT-based O/S installed on it, but if that's the case, why do you have that partition on your HD in the first place?!
Re:OK... good (Score:3, Insightful)
Re:OK... good (Score:2, Insightful)
games
The translator *is* the emulation (Score:2, Insightful)
All an emulator is, is a translator. It's simply a question of how much is translated. If you want to say, "WINE is a really efficient emulator, because it doesn't have to translate every single assembly instruction," you'd be right. But it is STILL an emulator, because it still emulates having the win32 api.
Do win32 executables run on *nix systems? No, *nix systems don't know how to interpret them. By virtue of the WINE emulator, however, the part that *nix doesn't know how to run is translated into something that it does know how to run, while the part that is consistent between win32 and *nix can simply be passed through.
If WINE were not an emulator, you wouldn't have to run the win32 exes in WINE, you could just run them in the shell.
All that said, does the fact that WINE is really an emulator make it bad? No, of course not, especially since it is an extremely efficient one. Of course it's not a pure hardware emulator, so many ideas of inefficiency associated with emulators don't apply. But when you get right down to it, it's allowing binaries designed for one system to run on another, and even if it's more efficient than running on the original platform, that still makes it an emulator.
-Dan
Re:I'm not sure if we'll see it in knoppix (Score:4, Insightful)
If you need NTFS-support you already have it on your harddrive, so no problems taking it right off the disk.
Re:Not really (Score:4, Insightful)
Then again, that kind of trick is always described as 'easy' as well, so I guess credit isn't being given. Though if it were so easy, you'd think Microsoft might be doing a bit more of it, no?
Re:OK... good (Score:2, Insightful)
More times than not...
Now, why might I need this?
Suppose I'm doing a project in Delphi and Kylix... I may want to scoot over to my NTFS drive to pick up some code I wrote last night to put into the Kylix version... and I don't want to reboot to do it.
I'm still SOL going the other way tho... (of course I have a server that I back both systems up to, and that is how I've "solved" the problem... this reduces the hardware need a bit)
Re:OK... good (Score:3, Insightful)
Ah, while there are certainly quite a few people out there who want to read and write multiple filesystems, I'd hardly call it "normal". "Normal" is something my grandma or a secretary does with their computer.
Re:OK... good (Score:2, Insightful)