Using the Real ntfs.sys Driver Under Linux
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."
OK, but I imagine having to load all that would take a toll on performance. How fast does it run, and more importantly, how can a free (read: non-encumbered) version of this be made?
Surely it is illegal to copy the ntfs.sys driver and distribute it in another operating system, seeing as how it is a part of Windows.
To read files from an existing NTFS partition, and be able to write files, I'd imagine.
Seems obvious to me. I don't think this is anything to do with one format being better than another, it's about inter-operability.
Project includes the first open source MS-Windows kernel API for Free operating systems
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?
A vulnerability has been found in the latest version of knoppix. The vulnerability exploits one of several bugs found in NTFS.SYS and allows any user with access to the drive to render the system useless(moreso than simply using NTFS.SYS already does).
I can count to 1023 on my hands. Ask me about #132.
Maybe it could use the existing ntfs vfs to get the ntfs.sys of the partition, and then load it.
right on the head. I'm still trying to make a real step into a Linux partition. I've been using Knoppix live and so far my bosses are mostly just confused. This might help me show them (and thus provide me a box to install on) how easy (and cheap!) this stuff really is.
I wonder how it's going to be done in Knoppix, without distributing a commercial DLL with the CD. Perhaps the following scheme could work:
Tricky. Depends on having the DLL somewhere on the disk.
-- Arik
That's just great, I don't think there is a more annoying thing when dual-booting than not to be able to share files between the goddamn installations. Hopefully with this, each OS won't feel like it's on a different part of the goddamn universe.
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
Is there any free-as-beer software for Windows that would let me access (rw) my ext2 and ext3 partitions from Windows?
The owls are not what they seem
ntfs.sys surely can handle that, but what about the database? Ownership, permissions, sharing, all that stuff Microsoft boasts to have much better than Linux (better gradation of permissions in operations). That's pretty essential and would require pretty big amount of Microsoft backend software.
45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
This is similar to the current situation with Quicktime, Real and WMV playback on Linux - there is a technical solution, but it is illegal. Unfortunately, it is doubtful that the companies developing these secret formats will ever port to Linux, and even less likely that they will make them open source.
With the advent of 'WinFS', and now NTFS on linux..how long until we see a 'NixFS'
From what i've read about WinFS, a *nix 'version' would be quite nice.
This would be very useful if you have an unbootable windows partition. I had problems with my logon file in XP once. I had replaced it to try something and ended up hosing my system. I had the file backed up but I couldn't use the Windows XP command line recovery because it couldn't logon and I couldn't copy it back over in Linux because of poor NTFS support. This would help people being able to fix the same or similar problems.
Aston Games
I don't care if it's not free as in speech. I've been waiting for a long time for some stable read/write support for my dual-booting system. If it's as stable at reading/writing as Windows, then this will be a great hack.
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
VKh
'free as in warez'? Hell, that's nothing new.
as a knoppix user, I hope to hell this stays WAY AWAY. Microsoft has published a good deal of api's for writing device drivers; it would be a better idea to develop OSS device drivers that allow read/write access to ext2/ext3/reiserfs filesystems instead.
Would be better legally, as well.
That sort of thing is exactly what this is good for. Let's say you give a Linux distro to a friend so he can try it out. This could be a Live CD or a distro that will make your system dual boot.
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.
-- Fighting mediocrity one bad post at a time.
"I think that we'll probably see this in Knoppix pretty soon."
Knoppix won't provide ntfs.sys because that is copyrighted by Microsoft. Now knoppix may allow loading the driver if you have nt/2000/xp on a hard-drive, but won't you need to load the linux ntfs driver first, if it's on an ntfs drive?
This may be a helpful idea for the short-term, but you're better off with more free-open-source-driver.
Yes, of course Linux uses FAT32. And that text mode screen you get when you press Ctrl-Alt-F1 is COMMAND.COM from MS-DOS 6.22.
Linux doesnt usually run on fat32... it's usually ext2 or ext3, depending on your kernel version and distribution. There are dozens of other filesystems out there too that each have their own purpose and advantages. I don't know of anyone silly enough to run Linux on fat32.
And if it isn't in a certain folder in the Windows base directory, Windows can't find it anyway. So it's just a matter of finding the base directory, and grabbing it from there.
so knoppix can probably find out where windows is installed by examining the bootloader for windows. i believe it points to the windows installation directory (which device, directory, etc.).
-- john
You're overlooking something. Actually, quite a bit....
ext3
Resier/Resier4
JFS
XFS
Ah, sorry then - I plead ignorance.
Go ahead and mod my original post down.
GL
You're overlooking the fact that GNU/Linux doesn't normally run on FAT32 (ext2 is the "normal" fs for linux). It was once possible, but I think that support is dead as of linux 2.6
I actually had to check your foes to make sure you weren't an obvious troll.
Belief is the currency of delusion.
It would not seem unreasonable for the ntfs driver to be copied to a USB key or other media to be used at boot time.
Optimally, like the other suggestions, this driver should be moved during config time, but I would be willing to load it my USB doohickey prior to booting Knoppix/Mandrake Live/whatevernix.
I have valid Windows NT/2000/XP licenses on my machine, or I wouldn't have the NTFS partition to begin with. Maybe that's not a guaranteed assumption, and IANAL, but I don't think it would put too many MS lawyers on alert if it were done that way.
Perhaps a copyright/license file stating "These files are to be used on computer systems with valid Windows NT/2000/XP licenses only." when they are copied to the USB Key.
Design for Use, not Construction!
I think it would be a good idea to get Linux to natively support NTFS partitions. That way, users of Windows would be able to boot either OS, and easily share data between the two. The way I see it, you could have a \Linux folder, containing everything execpt the /swap filesystem.
This would be very handy to me, since I use XP for Video / Photo Editing, Gaming, and Linux for everything else.
Am I crazy? Is this crazy talk? Why not give users the option to use Ext3, RiserFS, NTFS, etc all on the same page?
Press any key to continue, any other key to quit.
No, it doesn't. Linux supports a wide range of journalling file systems: ext3, JFS, ReiserFS, XFS, in addition to almost any filesystem known to man, INCLUDING native NTFS
Shouldn't Linux be on something "better" than FAT32
It is.
You got your facts wrong, that's all.
Linux uses ext2 and ext3 and reiserfs for native file systems. FAT32 is only if you wish to share files between Windows and Linux.
Linux uses one of: ext2, ext3, XFS, JFS or ReiserFS as it's root filesystem (All of which, apart from ext2 are roughly equivalent to NTFS features-wise). Linux has long supported read/write access on FAT32, but only read access to NTFS partitions. Linux can run on FAT32, but rarely does (UMSDOS installations are bloody rare)
"You've got an invalid haircut" -Warren Zevon - Life'll Kill Ya
Actually, I have another use for it. Back when I had a Win98 dual-boot box, I could run Quake III under Linux with a symlink for the PAK0.PK3 file pointing to my FAT32 partition. On my current XP/Linux box with an NTFS partition, it didn't work - I had to copy the file to my ext3 partition, wasting a scad of diskspace. I'm guessing that QIII opens the .PK3 files r/w and errors out if that fails.
Hey kids, there's only 5 days left 'til Yak Shaving Day!
Good ol Seth Nickell and Storage. WinFS-ish to be sure.
...Or am I overlooking something
Linux does NOT run on FAT32 as a native file system. It has options of EXT2, EXT3 (EXT2 + journaling), ReiserFS, XFS (from SGI), JFS (from IBM) and probably quite a few more. Yes, you could probably make it run from FAT32, if you tried.
EXT2 is similar to FAT32, whereas the others are similar in concept to NTFS -- journaling, ACLs, etc. Each has its own benefit.
Learning HOW to think is more important than learning WHAT to think.
Linux doesn't rely on FAT32, never has. What it has is the ability to read and write from a fat32 partition if the users wants to.
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
It doesn't have to be that complicated, Instruct the USER to copy ntfs.sys onto a floppy disk or onto the thumb drive that knoppix can use for user data storage, or have it grab ntfs.sys off the windowsXP install CD that would be inserted in the second Optical drive
Snowden and Manning are heroes.
I have to say I'm impressed with this NTFS hack, and it would be useful for me, but developing OSS ext2/ext3/reiserfs drivers for Windows would be equally useful. I use Explore2Fs and it's OK, but I'd rather have the support in Windows itself. This idea has never occurred to me, and it probably hasn't occurred to many others as well.
Read my keyboard review.
I see they have debs, is this on any archive we can stuff in our apt sources.list yet (official or otherwise)?
"Convictions are more dangerous enemies of truth than lies."
If a PC has a NTFS partition on it, it means it also has Windows installed on it, otherwise what is the point... The Knoppix CD has to find a way to load the driver already present using a read-only mount. For full dual-boot systems, the exact location could be saved so Linux can skip the first step, compare to Lilo "compiling" the location of the kernel.
10 ?"Hello World" life was simple then
Such boasts are obviously proved empty by full read write access from a boot disk. If you want to perpetuate Microsoft's insecure, performance lame and unportable database tables of files and users for permisions, you will have to buy into Microsoft's Next Generation rootkit, aka Longhorn, with a cripled bios motherboard and explosives on the hard disk. If you think this will provide anything but an inconvenience to the user and administrators, you have no memory of Microsoft's previous promisses of the same or are insane. Email and internet born exploits will continue to provide interested third parties any information placed on Microsoft run computers. Untill locked out by bios, Knoppix will continue to give unfettered access to Microsoft and other systems for reasonable repair and back up of completely unreasonable junk that's incapable of the same.
Friends don't help friends install M$ junk.
Does it matter one single tiny little bit? Jeez, we're talking about transfering files between to enviroments. What could you ever possibly need to do between those two enviroments that wouldn't work if you used a FAT32 partition to transfer the data?
If your windows directory was clobbered (e.g. by a virus) or corrupt (e.g. sector failre), you won't have access to this DLL.
Besides, Knoppix *already* includes NTFS support. It works just fine (A non-techie friend's computer became non-bootable. I used Knoppix to back up what he needed on system to CD, then replaced a few critical DLLs to get things to work again).
Linux still runs on FAT32 itself, though the Open Source community continuously claims to be more innovative, etc..
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.
Hey kids, there's only 5 days left 'til Yak Shaving Day!
Linux doesn't use FAT32. OK; Linux CAN use FAT32, or it can use ext2fs (usual on 2.2, very fast, no journaling), ext3fs (compatible with ext2fs, journaling, a tad slower, the default for RedHat), reiserfs (Very fast, journaling, default on lots of distros and probably the most popular), or XFS (SGI's file system) or JFS (IBM's file system). All the improvements you're looking for are there now.
In soviet russia stale jokes recycle you!
Friends don't help friends install M$ junk.
If the "Captive" (?) NTFS project needs the original MS driver it might also be illegal, and plain useless when there's no ms-windows around but only data to be rescued.
Anyways, if this project scratches someone's itches then who cares - go for it. At least one can always try pulling stuff like this under the open source skies. Try retrofitting ms-windows with non-ms-sanctioned FS support... now there's a challenge!
Should invading one's peaceful neighbours be opposed, or rewarded with trade deals?
Surely it is illegal to copy the ntfs.sys driver and distribute it in another operating system, seeing as how it is a part of Windows.
While some past issues in the lawsuit may be spurious at best, this one is da bomb. Without a doubt Sco can show that stealing things from other systems is there own special trade secret. Therefore, stealing the NTFS driver is directly stealing from Scos own IP.
"Your honor, you look confused"
Nobody is suggesting putting the binary on a CD. It is already on the users computer - so there is no need.
Read access from the NTFS partitions seems to be simpler than write access, and it's part of the kernel. I'm not sure if there are extended read functions in ntfs.sys, but you do need it to get the write functionality.
Is it even possible to boot Linux from FAT32? I guess you could load the kernel with Grub, and if init was a single file or E.g. busybox that would sort of work, but sooner or later the inability to create symlinks or properly set file permisions would surely cause problems.
/proc, devfs on /dev, then mount $FILESYSTEM_OF_CHOICE on /lib, /bin, /sbin, /etc, /usr, /var, /home, and so forth. Actually some of those might be safe to have on FAT32. I think it would be doable, but not advisable.
Typically nothing is in / but directories. You mount proc on
Hey kids, there's only 5 days left 'til Yak Shaving Day!
There are already kernel modules that allow you to read NTFS partitions, though I'm not sure if it's full-functioned (large filenames, etc). If you were just looking to copy off your important data, basic read access might be all one needs in most cases.
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.
Of course, and that's the point of a maintenance boot disk and the whole thread is a troll. A boot disk made so you can fix a system, regardless of the "permisions" on it. Having full read write access to NTFS makes that boot disk that much more useful because you can get at stupid XP boxes and write changes there. While this is usually futile, because of Microsoft's idiotic regisrty system, it's nice to have it. Implementing Microsoft's dumb permissions system would make repair impossible, because M$ forbids anyone but themselves from modifying and copying parts of their system.
>Email and internet born exploits will continue to provide interested third parties any information placed on Microsoft run computers.
Yeah, those run by clueless idiots.
Like the people who make Windows?. It's crap, Jon.
Friends don't help friends install M$ junk.
I am amazed that anyone reading articles on slashdot doesnt know the correct meaning of the word hack.
... call yourself a geek ?
...
I suggest that you read here
http://www.jargon.8hz.com/jargon_23.html#SEC30
shame on you
nick
Electronic Music Made Using Linux http://soundcloud.com/polyp
You can't secure an NT machine using FAT32, which makes it completely pointless. FAT32 doesn't support ACLs and has a tendency to become corrupted. Anyone using FAT32 partitions on a Windows machine is making a very bad decision. It was designed in the 80's, after all.
Life in Orange County
those of us on non-x86 platforms that want read/write NTFS access to external (firewire / usb2.0) drives will only suffer due to driver emulation layers like this.
it satisfys much of the normal x86 crowd which means development of the real driver suffers.
You could probably handle this with a simple bash script:
/dev/hda1 /mnt/windows /mnt/windows -iname ntfs.sys -exec ntfsload {} \;
/mnt/windows /dev/hda1 /mnt/windows
#!/bin/sh
modprobe ntfs
mount -t ntfs
find
umount
rmmod ntfs
mount -t winntfs
The ntfsload command and winntfs FS being, of course, fudged (because the site is dead), but something similar should work just fine?
The Cygwin *nix-emulation layer for Windows does a pretty decent job of mapping NT file permissions for *nix programs run under it. Of course, it would probably be pretty difficult to read out the users and groups from the SAM database when Windows is not running, but for many it would probably be quite acceptable to run a program under Windows once which exports a few files with the necessary information (mapping from security identifiers to user/group names etc). This information should rarely change, so that shouldn't be a big problem.
For all those people that complain that if you ask a question about Linux you just get elitist "RTFM loser" replies - there are 18 replies as I reply to this. 1 is a flame, but almost all the rest are quite honest reasonable answers - especially from those who bothered to check foes to see that it wasn't an obvious troll.
It seems you can get quite resonable answers easily enough.
Jedidiah.
Craft Beer Programming T-shirts
I got tired of only having read-only access to my old NTFS partition, so I ended up doing a hack of a workaround: Share the drive under my windows vmware instance, and then mount it as smbfs in read/write mode. Not elegant, but it works.
If you can't beat them, arrange to have them beaten. -George Carlin
I added NTFS readonly (which is safe) support in my kernel, and always add a small fat partition in my dual boot system, as a spool are between both, have been doing it for years, and am happy with it. But i still like that hack though, pretty neat work.
The lunatic is in my head
I'd think it would make reverse engineering easier not having to reboot all the time to test how it reacts to various situations.
Heck, running the real NTFS on a loopback would prolly be a wet dream to the people working on the free NTFS implementation.
Someone set us up the bomb, so shine we are!
The legal way of gettings ntfs.sys by the read-only LinuxNTFS driver into ramdisk is already being incorporated into Knoppix based distribution Kinneret.
You are correct linux does have support to READ a NTFS volume but that is where it ends. Write support has been listed as experimental. Also there is more to NTFS then just reading a file or writting it. There is the ACL, if the native linux drivert doesn't support changes to this then the driver would very much be needed in recovery from a messed up ACL. But you could do that from another NT machine. From my experience it is best to only access the drive from the OS it was meant to be access from.
The driver in this caase is needed to write to the drive in a safe manner. I have read many of the comments of the people that have used it and I ask my self why do they need to use it? Many others have stated it on here , that it is just easier to share out the drive and get to it from samba.
Life is marked by pain.
Do you mean the great "recovery" CD I got with my laptop? It will happily erase my partition number one and install an obsolete unpatched version of Windows XP Professional on it. Without any apps or any of my data.
I vastly prefer KNOPPIX to save my data whenever Microsoft Windows is unable to boot up....
Moritz
Not to say you're a pussy, but there IS an alternative... ;-)
Crossover Office. Runs the ACTUAL office suite and much more under linux.
Give that a shot...wuss!
Sig currently under construction. Mind the gap....
Copy more features from Windows. Nice tactic.
Actualy you can run Quake III without need to cp PAK0.PK3 to ext3 partition. You can have the file on the ntfs partition and run Quake3 with +set fs_basepath /path/to/ntfs/partition. It doesn't result in an error. (btw. /local/games/quake3/baseq3/ isn't as well writable by user only ~/.q3a directory is.
(sorry by the off topic i'm using slashdot for 1time =))
The NTFS file system has stayed stable since Win2k. Additionally, Longhorn probably will have a new FS (or maybe a DBMS on top of NTFS but I can't remember, it's all speculation anyway). A filesystem is harder to break compatibility with than other things. Let's not forget that XP and 2k can still install onto FAT32 partitions. I assure you that at the very least MS will include backwards compatibility for these FS's in their next OS. I can possibly see it not existing for the root partition, but it will remain.
Do not forget, breaking compatibility angers all of their customers. It's not just a transparent patch.
Photos.
That's right. They are Win32 emulators. That's why you can even run some Windows 1.0 executables (such as MS-DOS Executive) with minor tweaking.
"Sufferin' succotash."
Microsoft may not, though. So, a person provides a tool to grant safe access to a resource--which you own--remember, that's your data on that drive. And Microsoft has spent quite a bit of money deliberately breaking existing compatabilities. Clearly this state--incompatability--has value to them.
It's not inconceivable that Microsoft might expend some effort to see that such a tool is not available for the public to use.
It's kinda like the whole "fair use" issue. Fair use says functionally what you posted--what you do in your house is your business. And interested parties cannot use legal means to directly curtail your rights to fair use.
What they can do, however, is make it technically difficult for you to exercise these rights.
So, sure, you can read your NTFS partition in your own house. And you can do it from another OS.
Too bad we bought off/intimidated/harassed/took out and shot the only author of the tool that allows you to do this. 'Course someone else might create such a tool, and they're free to do so. Care to try?
Would these drivers, assuming you have an NT4 disk gathering dust, be a solution for non x86 users?
Not much help if you run Linux on ARM or 68k or something but there you go.
Oxford Dictionaries Online
Distributing software that allow people to access the filesystem without duplicating all the security functionality, could be interpreted as trafficking in a circumvention device.
"Believe me!" -- Donald Trump
the driver in 2.6 also has partial (safe) write support. if i remeber correctly you can overwrite existing files as long as the neew one is the same size. (but thats pretty much everuthing)
I think this is how NTFSDOS does it. Before you use it, you install their product on a working Windows machine (with NTFS) and generate boot floppies or CDs that then include the Microsoft-owned NTFS code.
Surely in that case it ought to be called Ginp?
It's not like ntfs.sys is readily distributable free of charge like the Win32 codec DLL's are, right? Or is it?
Just FYI; the codec DLLs aren't distributable free of charge either.
Coming soon - pyrogyra
There doesn't seem to be anything for the various incarnations of UFS either. A shame; I'd prefer UFS2+FFS+SU to NTFS any day, but Windows just doesn't seem to encourage alternate filesystems. Even AmigaOS had a couple of alternatives.
2K and XP do contain emulators for Messy-DOS and 9x. They also supposedly contain an emulator for Posix, but I have never been able to see the resemblance.
FAT32 can handle partitions > 30GB just fine. Windows XP just won't let you create them. IIRC the max partition size in FAT32 is 2TB.
-matt
Not to invalidate what you are saying, but there is another way to run Photoshop under Linux. Crossover Office allows some Windows programs to be run in Linux and it works quite well. It supports Photoshop, M$ Office XP and several other useful Windows programs. I assume it is faster than a Bochs setup also.
Nobody is suggesting putting the binary on a CD. It is already on the users computer - so there is no need.
Great! So we'll read the NTFS drive first, locate the NTFS driver on it, then... oh wait.
You can accomplish anything you set your mind to. The impossible just takes a little longer.
scroll up a lil bit and read the 4000 posts already answering this.
sometimes it mounts, sometimes it doesnt.
when it does, I try to ls and get 'stale NFS file handle'
or operation not permitted.
so I'll play a little with it and report back here
I havent read the article only a ton of comments mostly because I'm not a Linux guy so I dont understand half of thats on that page.
Anyways, I think i read some people asking how to access ntfs formatted removable media.
Couldnt this driver when first used cache the NTFS.sys file on to your linux file system and then when ever the wrapper is used it will search the cache location first and if not found then search all the drives.
I dont know if each drive has a moddified NTFS.sys on it, I'm not sure how that works. But if they are all the same, then I dont see the problem.
I'm assuming the problem is that NTFS.sys is only located on the booting partition and not on other things such as a ntfs formatted zip disk.
Grand-parent post doesn't hold MS to fault for the flaw itself, but for boasting about its supposedly 'more secure' FS. Which is, as you aptly demonstrate, mostly irrelevant to actual security.
-- B.
This sig does in fact not have the property it claims not to have.
NTFS read-only support under Linux has been around for a LONG time.
And what's to stop people from using the old driver? Tons of weird offshore sites will start hosting it. At the very least it'll be available over IRC and P2P. Additionally, it'll be available to everyone with access to a WinXP computer. I'd say that this is a non-issue.
Photos.
Uh, rfstool maybe?
rfstool
The ratio of people to cake is too big
Im currently using windows software raid, however Id be interested in using another system if it worked cross-platform. Clearly the ntfs support here is marginal at best. So is there a way I can access these files on both systems while still having software striping? thanks
Linux supports all kinda of file systems, many of them have been way better, for quite a while, than what you'll see in longhorn.
----
Go canucks, habs, and sens!
Everything on my home network is heavily firewalled, so there is no danger of intrusion. Anonymous FTP lets me browse my Linux box with Internet Explorer. It very convenient and easy to use. I can create, delete, rename, and copy with no problem. I haven't tried it yet (I don't run a gui on my Linux box) but using Mozilla from Linux to anonymous FTP on Windows should work exactly the same.
The extra layer, wherein an executable's calls are "translated" into *nix calls, is most certainly emulation. It allows an executable to run as if it were in one environment, even though it is not.
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
NT was able to mount HPFS (OS/2) volumes, though I think that was dropped in 2000 or XP??
So..
Cry a river to Microsoft. They wrote NTFS, tell them to port it.
How much do you want to pay for it?
Don't like it? Don't use NTFS! And laugh at all your friends whenever you catch them doing it.
It can't emulate win32 x86 on a non-x86 platform. To work on Mac, it would need a hardware emulation layer, to translate x86 assembly into Gx assembly.
-Dan
How can I create an 80gb FAT32 partition? I was hoping to use an 80gb FAT32 drive as universal storage for both my Windows and Linux installations.
You're right, I wouldn't steal a car. But if it were possible, I sure as hell would download one!
When will us Mac users get NTFS support?
I'm not sure if you realize it, but there is no easy solution for using an external hard drive over 32gb with multiple platforms.
As of this driver, it appears that NTFS is probably the best way to do this, as it now has Linux support.
Windows or MacOS don't support Ext3 natively, and the 3rd party drivers are slow. Fat32 has a 32gb limit. Mac HFS+ can't be read by Windows.
How easy could it be to write an NTFS driver for OS X?
-- If you try to fail and succeed, which have you done? - Uli's moose
So you're saying that x86 users, which are the vast majority of people who have a use for NTFS, should be deprived of something that works well just because it won't work for you? I'm all for cross-platform support, but your logic is quite selfish. If something works, use it.
The correct response is: YHBTHAND, not "Insightful".
-Malloc
___________________ I want to be free()!
No kidding. I read this as just being sarcastic towards Microsoft and it was funny to me. Trolling? I don't think so.
Does this mean that other drivers used for hardware (i.e. WinModems) might also be able to be emulated via this method?
Hmm... start business, constantly act in a cutthroat way, become a multi-billionaire, company starts to have trouble, sell out and go live on a yacht somewhere in the South Pacific. Yeah... one day Bill will wake up, look at his bank statement, and feel horrible that at what his monopolistic actions have wrought. THPPPTT!!
"...The mice will see you now..."
An NTFS driver/wrapper using ntfs.sys for Windows98 and DOS has been available for a long time... http://www.sysinternals.com/ntw2k/freeware/ntfswin 98.shtml
Why *is* it harder to read from an ntfs filesystem than to write to it?
The current ntfs kernel module is able to understand the formating of ntfs in order to read it, but shouldn't that same understanding allow them to code proper "write" access as well?
It's obviously true that it's more difficult, but why?
I have done the FAT32 partition thing to make tivo backups, only because linux wouldn't let me write to the NTFS C drive. It's a silly thing to make users do.
-dB
"It if was easy to do, we'd find someone cheaper than you to do it."
SysInternals used the same technique in NTFS for Windows98 a long time ago.
While I love the idea, I'm puzzled why it took this long for the Linux community to catch up...
gcc: no input sig
That's just great, I don't think there is a more annoying thing when dual-booting than not to be able to...
I dont think there's anything more annoying than dual-booting.... period.
yes NT was able to mount HPFS partitions although they hid the driver in the file pinbal.sys
Since the early NTFS fs was HPFS with a security layer I wonder if the pinbal.sys file could be used with this wrapper for HPFS access?
"A person is smart. People are dumb, panicky dangerous animals and you know it." - K
From what I understand, umsdos (support for unix semantics on dos filesystems) just hasn't been rewritten for the new kernel APIs yet, but will be in the future.
Thanks! :)
You're right, I wouldn't steal a car. But if it were possible, I sure as hell would download one!
If this friend moved over to Linux and removed Windows, then they will loose ntfs.sys and will no longer be able to access their NTFS partition.
In other words they'll always need Windows and will never be able to fully migrate.
ok I confess, there were only 352 comments answering the question before he posted.
This is funny, Serendipity is at it again. I just wrote an article on linmagau.org about the idea of introducing Samba and OSS into the Enterprise.
I suggested a Koppix-like CD and proposed a name: Sambix.
The article "What if the CIO doesn't know if they're running Linux?" is online now.
|>>?
taken from the Configure.help from linux 2.4.23:
CONFIG_UMSDOS_FS
Say Y here if you want to run Linux from within an existing DOS partition of your hard drive. The advantage of this is that you can get away without repartitioning your hard drive (which often implies backing everything up and restoring afterwards) and hence you're able to quickly try out Linux or show it to your friends; the disadvantage is that Linux becomes susceptible to DOS viruses and that UMSDOS is somewhat slower than ext2fs. Another use of UMSDOS is to write files with long unix filenames to MSDOS floppies; it also allows Unix-style soft-links and owner/permissions of files on MSDOS floppies. You will need a program called umssync in order to make use of UMSDOS; read
<file:Documentation/filesystems/umsdos.txt>.
From memory, there's still a distro around called 'PHAT linux' or something like that that will install to a fat32 partition and use loadlin+umsdos to work inside the filesystem.
Don't know if it's still active, could well be, not so useful now that people use ntfs even on 'home' systems.
ashridah
Correct me if I'm wrong, but doesn't Linux already have support for HPFS?
*checks kernel config*... yep. Full read and write, and the config doesn't say that it's dangerous or even experimental.
Wow what a great idea! It is a bit messy but totally effective. You should drop a line to the Knoppix guys with that idea.
If they made a movie of your life, would anybody buy a ticket?
I keep a copy of Knoppix STD 0.1b in the drawer, and occasionally I boot it up, mount local & networked win2k partitions, and resume work as normal--I've done this for months w/ no prob's. The vanilla Knoppix will only mount ntfs partitions as ro, and gripes as well. Now, STD 0.1b has been out for a long time, so I assume that there must be a significant difference between the win2k & xp flavors of ntfs, and that this new hack pertains to the latter flavor?
Linux as a server, yes.
Linux as a desktop, no.. dual booting is useful. I keep all my binaries & important media in linux. The only thing windows really does well is games. Having the ability to nuke the windows partition every few months and lose nothing feels good.
Yea, using samba is fine, but it seems windows only acts up when you're at a lanparty or something. All you wanna do is play games.. so you nuke it, recopy over a backed up fresh install.. you're playing again in minutes.
But, i do agree with you to a point. Linux is best after it's been up for 200+ days or so. Gives the feeling of true reliability.
http://soylentnews.org/~tibman
If the Windows 9x line are not operating systems, but they do run or emulate a Win32 subset, then what is running Win32?
DOS?
I suppose so.
There is ONE thing to understand about Wine: It is in part a LOADER.
It loads x86 code segments directly from the executable's disk image into memory, and after dynamically linking (patching) the exports and exports tables, the x86 code runs DIRECTLY. Not in an "emulated" way, but just like it does in Windows...
So in theory, we can look to the day when after enough open-sourcing of Wine and React-Os will have happened, that it'll lead to an even-more-optimized implementation of Win32!
Without the MS-added cruft!
It has been shown (more than once) that Microsoft adds "special checks" in its operating systems so that when applications from competing vendors run on them, they either crash or are disabled.
Without that crufty, old, useless, and downright EVIL code in there, imagine how much better a Windows on *nix could be...
And with something like WineLib,
http://www.winehq.com/site/winelib
Someday you'll run on other chips AND OSes...
So in effect, as Microsoft continues to try to close it's net around developers and users, they'll simply class themselves into extinction.
Hmmm.... Maybe I should have titled this
"Windows is Dead"
I don't know the meaning of the word 'don't' - J
Presumably, if one were going to completly switch to Linux, they would take their files with them over to the new system. Hence, no need for ntfs.sys. Copying files to a CD and then on to Linux (whatever fs) would be the easiest part of the transition.
-- Fighting mediocrity one bad post at a time.
Use FDISK. There's no artifical 32 GB restriction for FAT 32 there.
And 'of course' they are going to use an ntfs.sys which is on their licensed copy of Windows... Im sure they wouldnt dare get it off a warez site...
This is probably the dumbest thing I have ever heard. Linux uses WINE because Windows programs are the most prevalent and some people won't switch without them. SAMBA is needed for similar reasons. People need to share with Windows. Same deal with NTFS. This is not about taking anything from Windows. No one really wants to use Windows crap but it is a necessity if you want interoperation. MS doesn't seem to believe in open standards so this process is necessary.
I guess you just can't win in the Linux world. One person screams that Linux will never win out because there is not 100% interoperation between Windows and Linux. Then when interoperation is attempted someone screams about ripping Windows off. Get over it and make up your mind already.
Time makes more converts than reason
Its not dumb, its just not what you want to hear. As my title says, its using a screwdriver as a hammer. If you want to run something under Windows, run it in Windows instead of clunking it into an OS which it wasnt made for. Its amazing how several people I know run Linux, but all their software is running with WINE (and pretty poorly at that).
SAMBA is needed for similar reasons. People need to share with Windows.
As I said, SAMBA is needed because Linux isnt very good as a NOS. Netware doesnt need SAMBA, because it is a good NOS.
Same deal with NTFS. This is not about taking anything from Windows.
Really? It seems like it is at least taking the ntfs.sys- as I said, they cant get their second-tier operating system to work with Windows, so they have to keep borrowing parts of it for their own OS.
MS doesn't seem to believe in open standards so this process is necessary.
And why should MS use open standards ON THEIR OWN OPERATING SYSTEM? MS isnt telling the Linux community what they can and cant do on their OS, so why does the Linux community feel they should be able to tell MS's engineers what they should and shouldnt do? The big problem with free speach is that people tend to keep very deep seated, stupid opinions. Even the truth cannot convince them.
One person screams that Linux will never win out because there is not 100% interoperation between Windows and Linux. Then when interoperation is attempted someone screams about ripping Windows off.
Um, maybe thats because they ARE ripping Windows off? If they are such scarry good programmers, why do they need to use MS's ntfs.sys? Let them make their own driver! Basically, they are just admitting they cant do it, so they need to 'borrow' somebody else's work to get their task accomplished.
Thats kind of the problem with Open Source programmers- if they cant borrow somebody else's work, they are lost. Put them in a room with a computer and a programming reference book, and they cant do shit. Im by no means the world's best programmer, but put me in the same situation and I can put together something decent. Its just a different mentality- one needs to use the work of others, and the other is able to make their own solutions.
,i> Get over it and make up your mind already.
Given a similiar situation, I will say the same thing every time. If interop with Windows is so important, maybe they are using the wrong OS. I dont see Windows people crying that they cant run Mac or Linux software.
Manipulate the moderator system! Mod someone as "overrated" today.
So? So were graphical user interfaces. So was C++ (as opposed to C and Unix which were designed in the 60's). What determines whether something is a good or bad decision has everything to do with the features and pitfalls and nothing at all whatsoever to do with the date it was invented.
"Convictions are more dangerous enemies of truth than lies."
There are many people who will not use Windows for idealogical and/or security reasons but still need to interoperate with Windows machines. There are standards in technology for a reason. My computer should work with every other computer. Linux actively promotes this with open standards (just as it had been long before MS) but MS locks in their users. Since MS won't open up, then Linux has to do whatever it takes to open them up. THIS IS A GOOD THING. It is keeping the competition even. Anything to increase competition and bring down barriers in the software business is a good thing. What don't you get about that?
Time makes more converts than reason
--They must have only *recently* perfected write support for HPFS - I think 2.4.20 had "Experimental" write support. OS/2 has been dead for how many years now(?), and look how long it took for the kernel developers to fully stabilize the filesystem for Linux.
(This is NOT a troll/flamebait attempt. I stopped using Warp around '95 or '96, and switched to Linux ~1996-97.)
.
== WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
As anybody who actually has an informed opinion knows, there are essentially no more/less security issues with Windows than with any other OS; the fact that you (and many other people) make that claim is just indicitive of how 'informed' your opinion is.
As for ideological issues, that is really their own problem. Look at the subject line to see what Im talking about... But my point is that a technological issue should be solved by choosing what is best for the task, not some foolish, ill-concieved 'holy war' ideology.
There are standards in technology for a reason
Thats right, there are. And MS has consistant standards between all their products. If you had an informed opinion, you would know the issue isnt no standards, but that those standards werent reached with outside concensus. MS creates their own standards, and uses them in their products, but is not beholden to an outside group telling them what they can and cant do. This is actually a benefit for them, because it allows them to set their own pace (popular concensus takes a long time, look at DVD, DDR RAM, etc. for examples of problems with this). Also, these standards bodies tend to be highly contrarian to MS, so why be part of something which is just going to be used for politics rather than getting problems solved?
MS is just going the capitalistic route, and letting the market decide the technology. Since the market is choosing MS products, it seems they are making correct decisions somewhere...
Since MS won't open up, then Linux has to do whatever it takes to open them up.
It is not Linux's place (or even their goal, since this is just you ranting) to change how MS does things. MS has interoperability with other NOS's without having to resort to theft; it would be nice to see Linux follow in their footsteps. However, since Open Source is based upon flagrant usage of unoriginal materials (which sometimes includes outright theft), its just a different mentality.
THIS IS A GOOD THING. It is keeping the competition even
First off, Linux isnt 'in competition' with MS. Even Torvalds has said this; the fact that people are making this a holy war is just their own stupidity hijacking his operating system. Second, I dont see how outright theft of MS's driver is a good thing. As I keep repeating like a mantra, if they need Linux to work with NTFS, they need to write their own driver rather than stealing MS's.
What don't you get about that?
I guess your ethics regarding theft are more flexible than mine. I generally try and live my life according to principles.
Manipulate the moderator system! Mod someone as "overrated" today.
So there is a new story out on slashdot how the FAT partition is patented too. After reading the posts, here are some ideas: Frankly, FAT has been around for so long and I've seen so many things creating/reading/writing FAT filesystems for free, that basically MS lost their right to royalties. According to patent law you can't allow the unpoliced proliferation of a technology without collecting royalties, and then once everyone is hooked, start asking for fees. Or at least that's how the law should read. Also FAT is hardly an invention, it's such a poor knocked-together file system design that anyone skilled in the art would have taken from granted. Yeah back in 1980 it made sense to keep things simple because there wasn't enough speed/power back in those days, but still, FAT is hardly an invention.
Robert