How far is ext2 support in ReactOS?

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Aeneas
Posts: 505
Joined: Sat Oct 10, 2009 10:09 pm

Re: How far is ext2 support in ReactOS?

Post by Aeneas »

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.
elhoir
Test Team
Posts: 404
Joined: Thu Sep 13, 2007 7:01 pm
Location: Madrid, Spain
Contact:

Re: How far is ext2 support in ReactOS?

Post by elhoir »

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

Its absolutely a MUST for a proper security implementation! :)
Haos
Test Team
Posts: 2954
Joined: Thu Mar 22, 2007 5:42 am
Contact:

Re: How far is ext2 support in ReactOS?

Post by Haos »

Journaling you mean?
fred02
Posts: 551
Joined: Thu Nov 22, 2007 5:54 pm

Re: How far is ext2 support in ReactOS?

Post by fred02 »

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.
mrugiero
Posts: 482
Joined: Sun Feb 14, 2010 9:12 am

Re: How far is ext2 support in ReactOS?

Post by mrugiero »

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.
BrentNewland
Posts: 176
Joined: Wed Oct 05, 2011 7:32 am

Re: How far is ext2 support in ReactOS?

Post by BrentNewland »

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.
User avatar
EmuandCo
Developer
Posts: 4723
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: How far is ext2 support in ReactOS?

Post by EmuandCo »

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.
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.

If my post/reply offends or insults you, be sure that you know what sarcasm is...
vicmarcal
Test Team
Posts: 2733
Joined: Mon Jul 07, 2008 12:35 pm

Re: How far is ext2 support in ReactOS?

Post by vicmarcal »

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 :)
mrugiero
Posts: 482
Joined: Sun Feb 14, 2010 9:12 am

Re: How far is ext2 support in ReactOS?

Post by mrugiero »

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.
aicommander
Developer
Posts: 107
Joined: Mon Jan 22, 2007 10:23 pm

Re: How far is ext2 support in ReactOS?

Post by aicommander »

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.
BrentNewland
Posts: 176
Joined: Wed Oct 05, 2011 7:32 am

Re: How far is ext2 support in ReactOS?

Post by BrentNewland »

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
User avatar
Black_Fox
Posts: 1584
Joined: Fri Feb 15, 2008 9:44 pm
Location: Czechia

Re: How far is ext2 support in ReactOS?

Post by Black_Fox »

aicommander wrote:OK as it stands now: (...)
That's some great news, thanks for the info!
Rosh
Posts: 97
Joined: Thu May 03, 2018 12:44 am

Re: How far is ext2 support in ReactOS?

Post by Rosh »

aicommander wrote: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.
So when Victor Perevertkin finish BtrFS filesystem integration in ReactOS, ext2 will be implemented? :idea:
ROCKNROLLKID
Posts: 307
Joined: Mon Oct 17, 2016 3:19 am
Contact:

Re: How far is ext2 support in ReactOS?

Post by ROCKNROLLKID »

Rosh wrote:
aicommander wrote: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.
So when Victor Perevertkin finish BtrFS filesystem integration in ReactOS, ext2 will be implemented? :idea:
You realize that post is from 2012 right. And to answer your question, his application is for btrfs booting and fixing some issues in CC so btrfs can boot. The bugs fixes in CC could also help with ext2 booting, but I doubt he will work on ext2, unless he decided to continue his work after GSOC.

In my opinion he should just work on the winbtrfs driver to fix bugs, improve performance, and oplocks still need to be implemented in btrfs. I don't see much of a reason why we would need ext2 when we have winbtrfs.
User avatar
EmuandCo
Developer
Posts: 4723
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: How far is ext2 support in ReactOS?

Post by EmuandCo »

Rosh.... start to learn the dos and don'ts in a forum and do that fast. This time I ONLY lock the thread necromancy...
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.

If my post/reply offends or insults you, be sure that you know what sarcasm is...
Locked

Who is online

Users browsing this forum: DotBot [Crawler] and 41 guests