[haiku-development] Re: [GSoC] anyone working on those filesystem ideas?

  • From: Yubin Ruan <ablacktshirt@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 10 Mar 2017 22:09:56 +0800

On 03/10/2017 06:24 PM, Thomas Mueller wrote:

I don't want to distract you from your project, but it would be nice if 
Haiku could port UFS aka
FFS (BSD file system).

I read that ReactOS recently added read-only support for UFS.

As far as I can tell, Linux can read UFS but not write.
        
There isn't a single UFS. Each OS in the UNIX family implements its own 
extensions to the original one. This means write support isn't practical, 
and it is hard to get information about it.

This is why Linux did only limited read-only support.
        

Also of interest would be xfs, since xfs is listed on the --use-xattr page 
as one file system where
xattr works.
        
JFS should also be fit for this.
        
Adrien.

I hadn't realized UFS systems were incompatible with each other, thought it 
was a bug in DragonFlyBSD (maybe it is?).

I downloaded DragonFlyBSD USB installation image, bzip2 -d, and dd to USB 
stick.

I could not mount this from NetBSD or FreeBSD, and couldn't mount FreeBSD or 
NetBSD partitions when I booted the DragonFlyBSD USB stick.  Latest 
DragonFlyBSD USB image that I tried failed to go through the boot.

Maybe if I could cross-compile DragonFlyBSD from FreeBSD and install to a 
partition or USB stick newfs'ed from FreeBSD?  Just a thought that went 
through my mind, low probability of success: not really a topic for haiku* 
lists, so let's not pursue it here.

Tom


Thank you for your reply! I will try to see how far I can reach.

So first of all, I guess I have to prepare some codes/patches so that
the community trust me, right?

I have not read all the documents, but I want to ask a few questions first:

 1) Apparently Haiku use c++ primarily for programming. But the GCC
collection by default currently is still 2.x and that should be
something used a decade ago, let alone that g++-2.9 do not support
c++11. Is there any reason for not catching with a newer GCC?

 2) Haiku's system API is quite different from those of Linux and BSDs.
So, seriously, do those APIs strictly conformed the POSIX? If so, which
version of POSIX?

 3) Who is/are the core maintainer(s) of the filesystems. I read mails
several days ago in the mailing list in which some people suggest that
students should not publish their proposals in public on the mailing
list. So, I guess it would be better to send those to the maintainer(s)
for reviewing and comments.


Thanx,
yubin


Other related posts: