Welcome, Guest. Please login or register.

Author Topic: PFS3 is soon to become free and opensource  (Read 30153 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« on: April 18, 2010, 01:30:48 PM »
Quote from: delshay;554180
if and when it gets release it needs to go PPC....PFS4.

Not really. The filesystem is I/O bound anyway, so there is little benefit from porting it to PPC.

I've used PFS3 as my main filesystem on MorphOS for 10 years now.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #1 on: May 29, 2010, 01:39:32 PM »
Quote from: Gulliver;561886
I also asked him for the sourcecode. I am not a coder, and I havent got the skills to tinker with it, but I thought it would be great for further improvements, bugfixes, updates

I see a great danger here. Different factions creating their own, incompatible versions.

Quote
the possibility of being ported to other Amigoid OSes, so that it could even run natively on them.

So finally the other OSes could join the MorphOS club: MorphOS has been able to use PFS3 since the beginning.

Considering how bad SFS is this would be great indeed.

PS. Personally I doubt that getting ported to native code would benefit the performance: Filesystems are greatly bound by the I/O for their performance not filesystem code execution speed.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #2 on: May 29, 2010, 02:02:24 PM »
Quote from: itix;561893
Aint PFS3 written in 68k asm or am I mistaken?

I've done some manual patching to fix some issues and the disassembly looks C to me. I bet there are some asm optimizations here and there though.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #3 on: November 27, 2010, 03:25:46 PM »
Quote from: TheGoose;594713
Those facts have always kept me away from SFS and the like. If the new ROMs project will work with traditional AOS 3.x it would be very cool to have this built-in.

Why? Can you detail how having the FS in ROM is any different?
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #4 on: November 27, 2010, 04:02:04 PM »
Quote from: TheGoose;594723
FS on the hard drive just seems volatile to me. Simply, harddrives are corruptible. When it starts to go bad the whole thing just becomes a black hole. Well, I know I have been through that, power cut offs, harddrive is messed up.

How are the hard drives not corruptible with the FS in the ROM? I find this fear irrational. It makes no difference whether the FS is in the ROM or the drive.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #5 on: November 27, 2010, 04:06:07 PM »
Quote from: Karlos;594732
I think what he means is that if your filesystem is on disk and that part of the disk happens to go bad, it may complicate rescuing whatever else is on the disk.
Well, IMHO it doesn't. You need a separate rescue tool regardless. That's not related to the FS being located in ROM in any way.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #6 on: November 27, 2010, 04:07:46 PM »
Quote from: TheGoose;594723
Well, I know I have been through that, power cut offs, harddrive is messed up.
You're using some bad file systems then (such as FFS). Modern file systems don't get corrupted even if you pull the plug.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #7 on: November 27, 2010, 07:28:35 PM »
Quote from: TheGoose;594742
at

I didn't say that did I? They are always corruptible. It's more a question of what would be worse? A HD with a corruption that affected the FS (stored on the disk). If that happens how do you go about fixing it or just recovering anything off of it, with no FS available?
Since the FS rarely can fix itself it's totally irrelevant whether the FS is on ROM or HDD. You need to use an external tool to fix the FS.

If your RDB gets corrupted, you have the same issue regardless if the FS is in RDB or ROM: You lose the partitioning information.

Quote
And maybe you can answer this, how often is a FS stored on disk accessed as the machine does regular CRUD operations?
Never.
Quote
Or is it moved into memory?
Yes. The filesystem is regular executable stored to LSEG blocks. It's loaded by the device and added to the filesystem.resource (the dostype is mapped to the specific filesystem seglist). From the OS point of view it makes no difference at all whether the FS is in the ROM or loaded from the RDB.

Quote
what is/are the disadvantages of a FS on disk. You can't think of any?
I can't.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #8 on: November 27, 2010, 10:34:43 PM »
Quote from: TheGoose;594808
does a PFS formatted floppy hold anymore than 880K?

No
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #9 on: November 27, 2010, 10:39:19 PM »
Quote from: nicholas;594837
Here's an hypothetical question for you Piru.

If PFS was released under a BSD/MIT/APL like licence and assuming it's all written in C, what would be the odds that we'd see it in a future release of MorphOS?

I'd be 100% certain. I'd port it myself.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #10 on: April 20, 2011, 09:47:46 AM »
Quote from: freqmax;632544
Also the paper documentation for PFS4 could serve as a base to code a new filesystem from scratch.

Huh what?
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #11 on: April 20, 2011, 11:29:47 AM »
Quote from: freqmax;632565
PFS4 doesn't exist as code. Only a collection of papers and ideas.
I've never even heard about PFS4. Can you point to any reference to these papers and/or ideas?

If you have any ideas post them here: http://sourceforge.net/tracker/?group_id=532591&atid=2163218
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: PFS3 is soon to become free and opensource
« Reply #12 on: April 20, 2011, 02:12:43 PM »
That'd mean a complete rewrite of the current code base. I don't think this falls into PFS3 scope.

Also, something "existing on paper" doesn't necessarily mean there's anything on physical paper, mind you. It could be just some thought processes and perhaps a text file with notes of the desired features.