Back to Website

How far is ext2 support in ReactOS?

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Re: How far is ext2 support in ReactOS?

Postby Aeneas » Wed Feb 29, 2012 11:30 pm

Well... For certain NON-technical reasons you might consider to go for ext2. ;) Thing is, while you are attempting full binary compatibility, it is not too bad to keep at arms length regarding some MS design choices. I very well understand why you like NTFS. But in some ways, being a bit different from Windows might just "not be a bad thing"...

Besides, who knows how long MS is going to stick with NTFS "as we know it". It may still bear the name NTFS and have not too much in common with the NTFS under Windows 2000 or XP... It might be just wasted efforts on your part. Steve Jobs was actually right when he said that he tries not to run where the ball is, but where the ball will be.
Aeneas
 
Posts: 460
Joined: Sat Oct 10, 2009 10:09 pm

Re: How far is ext2 support in ReactOS?

Postby elhoir » Wed Feb 29, 2012 11:33 pm

Ext2 has access rights, FAT doesnt! dont miss this! ;)

Its absolutely a MUST for a proper security implementation! :)
elhoir
Test Team
 
Posts: 375
Joined: Thu Sep 13, 2007 7:01 pm
Location: Madrid, Spain

Re: How far is ext2 support in ReactOS?

Postby Haos » Thu Mar 01, 2012 12:59 am

Journaling you mean?
Haos
Test Team
 
Posts: 2954
Joined: Thu Mar 22, 2007 5:42 am

Re: How far is ext2 support in ReactOS?

Postby fred02 » Thu Mar 01, 2012 2:49 am

elhoir wrote:Ext2 has access rights, FAT doesnt! dont miss this! ;)
Also symbolic and hard links and extended attributes and a generally better data organisation and reliability.
fred02
 
Posts: 551
Joined: Thu Nov 22, 2007 5:54 pm

Re: How far is ext2 support in ReactOS?

Postby mrugiero » Thu Mar 01, 2012 3:11 am

I think the correct choice is to don't make a choice at all.
There exists ext2 drivers for windows, and IIRC they're open source. It's far more easy to integrate it than to develop the NTFS driver, which means it could be a good step to bring this support while trying to get NTFS into a working state. Another advantage in having an ext2 driver is the interoperability when you have a dual boot. With a Windows-Linux dual boot, you have no choice but to keep your NTFS partition as storage if you use ext4 for Linux (well, I'm actually not sure, the last time I checked it was a year ago, I think), since you can read NTFS from Linux but not the other way around.
There is also the public specs (I'm not actually sure if they are specs, but you have at least source code which I hope is correctly commented), which I'm not sure how complete are in the case of NTFS.

Main advantage, IMO, is as a faster way to drop FAT. But NTFS keeps being a must.
mrugiero
 
Posts: 482
Joined: Sun Feb 14, 2010 9:12 am

Re: How far is ext2 support in ReactOS?

Postby BrentNewland » Thu Mar 01, 2012 7:46 pm

mrugiero wrote:I think the correct choice is to don't make a choice at all.
There exists ext2 drivers for windows, and IIRC they're open source. It's far more easy to integrate it than to develop the NTFS driver, which means it could be a good step to bring this support while trying to get NTFS into a working state. Another advantage in having an ext2 driver is the interoperability when you have a dual boot. With a Windows-Linux dual boot, you have no choice but to keep your NTFS partition as storage if you use ext4 for Linux (well, I'm actually not sure, the last time I checked it was a year ago, I think), since you can read NTFS from Linux but not the other way around.
There is also the public specs (I'm not actually sure if they are specs, but you have at least source code which I hope is correctly commented), which I'm not sure how complete are in the case of NTFS.

Main advantage, IMO, is as a faster way to drop FAT. But NTFS keeps being a must.



From what I understand the issue for those kinds of drivers is that they're user drivers and not kernel drivers (the kernel needs to access the file system from the very start, which probably means a lot of stuff a driver might normally have available isn't accessible). But, I am not a C programmer so I might be completely wrong.
BrentNewland
 
Posts: 175
Joined: Wed Oct 05, 2011 7:32 am

Re: How far is ext2 support in ReactOS?

Postby EmuandCo » Thu Mar 01, 2012 7:57 pm

Windows drivers never are User mode.
Dokan is a FUSE wannabe, but uses a way different approach to access files and i not IFS compatible, nor bootup compatible.
Image
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.
EmuandCo
Developer
 
Posts: 4038
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld

Re: How far is ext2 support in ReactOS?

Postby vicmarcal » Thu Mar 01, 2012 9:11 pm

EmuandCo wrote:Windows drivers never are User mode.
Dokan is a FUSE wannabe, but uses a way different approach to access files and i not IFS compatible, nor bootup compatible.


Dokan+Fuse4Win+NTFS-3G
That is :)
Image
vicmarcal
Test Team
 
Posts: 2732
Joined: Mon Jul 07, 2008 12:35 pm

Re: How far is ext2 support in ReactOS?

Postby mrugiero » Fri Mar 02, 2012 12:40 am

EmuandCo wrote:Windows drivers never are User mode.
Dokan is a FUSE wannabe, but uses a way different approach to access files and i not IFS compatible, nor bootup compatible.

Really? There is a hot discussion in Phoronix about taking Linux drivers to userspace, and there is a crowd who stands most Windows drivers are user mode.
Anyway, I think you probably know a lot more about Windows than a few trolls in a Linux forum.

BrentNewland wrote:From what I understand the issue for those kinds of drivers is that they're user drivers and not kernel drivers (the kernel needs to access the file system from the very start, which probably means a lot of stuff a driver might normally have available isn't accessible). But, I am not a C programmer so I might be completely wrong.

Hmmm, I recall of one driver which were kernel mode IIRC. I don't know if it was open source, though.
The ones which are known to be user mode are the Linux et al NTFS drivers. I was talking about ext2 drivers for Windows.

EDIT: This was the most promising one, but it doesn't seem to be open source, just freeware.
Here is another kernel mode ext2 driver, but this is far older than the previous one.

EDIT: After all, this seems to be the best choice.
mrugiero
 
Posts: 482
Joined: Sun Feb 14, 2010 9:12 am

Re: How far is ext2 support in ReactOS?

Postby aicommander » Fri Mar 02, 2012 3:53 am

OK as it stands now:

- Usetup (1st stage setup) can create a format an ext2 volume
- FreeLoader (unlike NTLDR) CAN boot ReactOS from ext2
- The current issue is that it seems our ext2 driver has bit-rotted but Art has a new one which he can import which supposedly works
- However, the ext2 driver depends on NewCC which we're still working the bugs out of (random hangs, crashes)

Once NewCC is enabled, we should support ext2 (installing, booting, mounting, formatting, etc) assuming the new ext2 driver is imported by then.
aicommander
Developer
 
Posts: 107
Joined: Mon Jan 22, 2007 10:23 pm

Re: How far is ext2 support in ReactOS?

Postby BrentNewland » Fri Mar 02, 2012 4:43 am

I hope you don't mind but I added your post to the Wiki http://www.reactos.org/wiki/File_Systems


I'm not a C developer or involved with ReactOS in that page or I would update the section on the Version Status Page myself http://www.reactos.org/wiki/Version_Status
BrentNewland
 
Posts: 175
Joined: Wed Oct 05, 2011 7:32 am

Re: How far is ext2 support in ReactOS?

Postby Black_Fox » Fri Mar 02, 2012 10:43 am

aicommander wrote:OK as it stands now: (...)

That's some great news, thanks for the info!
Black_Fox
 
Posts: 1584
Joined: Fri Feb 15, 2008 9:44 pm
Location: Czechia

Previous

Return to General Discussion and Feedback

Who is online

Users browsing this forum: No registered users and 11 guests