PFS3 source code released - native MorphOS port will follow
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Michiel Pelt has released the PFS3 filesystem source code on aminet. This means there will be a MorphOS native version at some stage (I'll likely be working on this myself at least).

    The current 68k PFS3 works already in MorphOS (but it's a bit awkward to use with Apple HW for instance where there is no RDB). License permitting the native MorphOS port will be incorporated in the future MorphOS boot images allowing easier usage with Apple gear as well.

    News post by mr Pelt: http://www.amiga.org/forums/showthread.php?t=57328

    [ Edited by Piru 10.04.2011 - 21:13 ]
  • »10.04.11 - 17:51
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    pampers
    Posts: 1061 from 2009/2/26
    From: Tczew, Poland
    What are adventages over SFS or even IceFS?
    MorphOS 3.x
  • »10.04.11 - 18:01
    Profile Visit Website
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    PFS3 is faster than SFS. I haven't been able to check IceFS but my understanding is that IceFS performance is close to SFS.

    SFS slows down considerably over time, while PFS3 doesn't. I have no experience with IceFS here, but I'd think it doesn't slow down over time like SFS.

    PFS3 doesn't do large files and has a partition size limit of 107GiB. IceFS has clear edge there.

    [ Edited by Piru 10.04.2011 - 21:10 ]
  • »10.04.11 - 18:09
    Profile
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4977 from 2009/1/28
    From: Delaware, USA
    So PFS3 has a partition limit that is smaller than SFS.
    What's the limit on file size?. I haven't run into the limit under SFS even with DVD rips.
    "Never attribute to malice what can more readily explained by incompetence"
  • »10.04.11 - 18:21
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Leif
    Posts: 111 from 2006/5/31
    From: Sweden
    Quote:


    PFS3 is faster than SFS. I haven't been able to check IceFS but my understanding is that IceFS performance is close to SFS.



    Yep, pretty much.

    Quote:


    SFS slows down considerably over time, while PFS3 doesn't. I have no experience with IceFS here, but I'd think it doesn't slow down over time like SFS.



    Yep, IceFS has 128K metapools, filedata preallocation and TLSF allocator
    which all helps. No experience with PFS3, I've just heard its a very fast FS.
  • »10.04.11 - 18:22
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    pampers
    Posts: 1061 from 2009/2/26
    From: Tczew, Poland
    So what about trying to get this two filesystems to work together? I mean take all the best from two of them and make one good filesystem? I know that IceFS is a commercial product but meaby Team and author will find some kind of agreement?
    MorphOS 3.x
  • »10.04.11 - 20:46
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Leif
    Posts: 111 from 2006/5/31
    From: Sweden
    Quote:


    So what about trying to get this two filesystems to work together? I mean take all the best from two of them and make one good filesystem? I know that IceFS is a commercial product but meaby Team and author will find some kind of agreement?



    Hey, why not throw in also some bits from Ext4 and NTFS and atleast
    5 more filesystems and we could end up with a real super FS !? :)
  • »10.04.11 - 21:07
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    amigadave
    Posts: 2795 from 2006/3/21
    From: Northern Calif...
    Although I have already purchased the IceFS, this is good news that a native MorphOS PFS3 will be available as part of the the MorphOS2.x boot.img in the future. Thanks for that info Piru.
    MorphOS - The best Next Gen Amiga choice.
  • »11.04.11 - 05:38
    Profile
  • Butterfly
    Butterfly
    SixK
    Posts: 72 from 2004/11/16
    /docs/pfs2.h missing for pfsDoctor! :)
    It will not be an easy job to port all this...

    SixK
  • »11.04.11 - 19:45
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Dreamcast270mhz
    Posts: 152 from 2009/12/9
    From: Virginia,USA
    I just think it would be easier to port ZFS as it is a stable system which, AFAIK is open source and would relieve many issues we have with current systems
    My Macs:
    Powerbook G4 ALU 1.5GHZ 15" 1.5GB OSX.5.8
    Powermac G4 MDD 1.5GHZ OSX.5.8 MOS2.7

    Want a part for a Mac? Let me know, I'll see what I can do.

    Amithlon is amazing, questions and help I can provide.
  • »11.04.11 - 23:36
    Profile
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Quote:

    I just think it would be easier to port ZFS

    That is one of the stupidest comments I've heard. Ever.

    Porting ZFS would be pain in the behind. ZFS requires ton of various infrastructure around it.

    I'm not saying that ZFS would be a bad idea, but it certainly would not be easier to port.

    [ Edited by Piru 12.04.2011 - 10:28 ]
  • »12.04.11 - 04:32
    Profile
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Quick update:

    Due to renovation in my flat I don't have access to any MorphOS box. This didn't stop me from working on PFS3 though. It took a while to get the cross compiler setup working on AMD64 but we were finally successful.

    I've replaced all the assembler code with C and fixed the code enough to make it build with GCC. The code builds and links ok, but is largely untested. There are still some issues that need to be fixed though: For instance there actually is some static data that needs to be removed in order to be able to place the filesystem inside the boot.img. The porting process has gone rather smoothly so far.

    Obviously there's still PFSDoctor and other tools that need to be ported as well.

    [ Edited by Piru 15.04.2011 - 18:18 ]
  • »15.04.11 - 15:17
    Profile
  • Butterfly
    Butterfly
    SixK
    Posts: 72 from 2004/11/16
    If you need beta tester,
    I may have space remaining on my Mac Mini to create a PFS3 partition...

    SixK
  • »15.04.11 - 15:24
    Profile Visit Website
  • ZB
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    ZB
    Posts: 115 from 2008/9/29
    Nice status update Piru.

    This is a great effort... thanks !
    ---
    Morphing the Phoenix...
  • »15.04.11 - 15:58
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    takemehomegrandma
    Posts: 2720 from 2003/2/24
    @Piru
    Quote:

    There are still some issues that need to be fixed though: For instance there actually is some static data that needs to be removed in order to be able to place the filesystem inside the boot.img.


    Hmm, inside the boot.img; Is this something you guys are targeting to a MorphOS 2.8 release already, or will it come in 2.9?
    MorphOS is Amiga done right! :-)
    MorphOS NG will be AROS done right! :-)
  • »15.04.11 - 18:42
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Jupp3
    Posts: 1193 from 2003/2/24
    From: Helsinki, Finland
    Piru,
    Quote:

    Obviously there's still PFSDoctor and other tools that need to be ported as well.

    Although I guess meanwhile, a damaged PFS3 partition with MorphOS native PFS3 could still be fixed with the 68k version tools?
  • »15.04.11 - 19:15
    Profile Visit Website
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Thank you for the beta test offer, but I should be back with my peg2/mac mini/PowerBook in a week or so.

    Meanwhile the new code will remain mostly untested, and while it will likely end up in the SVN soon I would seriously caution anyone from trying it yet. NOTE: The changes do nothing to the SAS/C 68k build of course.

    As a precaution I'm leaving the MorphOS Makefile uncommitted for now. That should stop all but the most dedicated testers I think ;-)
  • »15.04.11 - 19:19
    Profile
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Quote:

    Hmm, inside the boot.img; Is this something you guys are targeting to a MorphOS 2.8 release already, or will it come in 2.9?

    Honestly I'm not sure yet. I'd guess it depends on if the source can be brought to PFS 5.3 level (I think it's very close already, except for PFSdoctor) and the remaining bugs fixed (I get the "Beta warning requester #1" with the 68k PFS3 5.3 while the bug is supposedly fixed!). Also, I'd very much like to see the PFS3 softlink support improved (it doesn't work very well with ixemul and relative softlinks, making GG environment on PFS3 partition slightly painful to use).

    Of course there also is the current 100GiB partition limit which kind of sucks as well. There are some ideas on how to raise this limit, but I think all those result in incompatible filesystem... As you can see there are a lot of things to consider.
  • »15.04.11 - 19:26
    Profile
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Quote:

    Although I guess meanwhile, a damaged PFS3 partition with MorphOS native PFS3 could still be fixed with the 68k version tools?

    Yes, as long as the FS remains binary compatible. For instance raising the partition size limit would require new repair tool (I think).

    However, the 68k PFSDoctor is somewhat buggy & picky about the environment it is run on: Basically I run it by booting without the startup-sequence (and without invzeropage!) and then launching the app. The GUI is quite horrible GadToolsBox mess and works only so-so. Perhaps a MUI GUI could be created for it. ;-)

    [ Edited by Piru 15.04.2011 - 22:32 ]
  • »15.04.11 - 19:31
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 278 from 2003/3/4
    :-)

    PFS3 is my fav Amiga FS on Amiga and on MorphOS.
  • »15.04.11 - 19:57
    Profile
  • Moderator
    Miky060
    Posts: 694 from 2003/2/24
    From: ITALY
    It's great to hear that one day PFS3 will be on MorphOS. I used this FS on all my old Amiga classic computers and I remember it was was fantastic!
    Thanks for your effort Piru.

    PegasosII "Elite" Machine --> PowerMac MDD "popular" Machine --> MacMini 1.5 "still more popular" Machine
  • »16.04.11 - 08:00
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Dreamcast270mhz
    Posts: 152 from 2009/12/9
    From: Virginia,USA
    @Piru

    Forgive my ignorance of earlier comment, I know every little about porting or writing code but I just was thinking, to bring PFS3 up to speed will take some effort.
    My Macs:
    Powerbook G4 ALU 1.5GHZ 15" 1.5GB OSX.5.8
    Powermac G4 MDD 1.5GHZ OSX.5.8 MOS2.7

    Want a part for a Mac? Let me know, I'll see what I can do.

    Amithlon is amazing, questions and help I can provide.
  • »16.04.11 - 19:43
    Profile
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Update:

    I just finished porting the tools, including PFSDoctor (but it should be added that a lot of work remains to be done: testing, bug fixing, perhaps adding a MUI GUI to PFSDoctor etc). This leaves FloppyPFS basically. I'm not sure there's much use for it.

    [ Edited by Piru 17.04.2011 - 02:28 ]
  • »16.04.11 - 23:27
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    Piru

    Wow that was fast! :)
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »17.04.11 - 00:48
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    zhulien
    Posts: 118 from 2004/8/21
    does that mean someone can add an infinite drive space mode? where i can keep putting files there and as the drive get's full when it runs out of space, the oldest files (based on last access date/time) automatically get deleted? this will help a lot for temporary stores such as holding bays, download folders (where you may not care about the oldest stuff)... means no more storage headaches for this type of environment...
  • »11.05.11 - 04:38
    Profile