Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Best filesystem compatibility for OSX/Linux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
sangremac
n00b
n00b


Joined: 12 Sep 2004
Posts: 7

PostPosted: Sat Dec 04, 2004 10:26 pm    Post subject: Best filesystem compatibility for OSX/Linux Reply with quote

Hi, I have done a bunch of searches, but am not sure what the best filesystems to use on my system are.

I want to dual book OS X and Gentoo on my PowerBookG4. If I want to have all partitions read/write accessible in both OS's, what should I choose?

Thanks!
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Sat Dec 04, 2004 10:43 pm    Post subject: Reply with quote

You can easily mount your hfsplus partition from linux, just build it in the kernel:
File systems> Miscellaneous filesystems> Apple Extended HFS file system support

OSX has ext3 support, but I've never had any experience mounting a drive under OSX.
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Sat Dec 04, 2004 11:45 pm    Post subject: Reply with quote

You can only read hfsplus partition under linux (write is hight unstable). Under macosx you can read/write ext2/ext3 partition with a special driver you found searching for "ext2 macosx" (i think) in sourceforge.net.

In my opinion you should create a fat32 partition for sharing files betwenn osx and linux. I have one of 1GB.
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Sun Dec 05, 2004 12:05 am    Post subject: Reply with quote

jedsen wrote:

OSX has ext3 support, but I've never had any experience mounting a drive under OSX.


I have some but not much experience with it. When I was rebooting in Linux, it was behaving like if partition was being mount for a very large number of times (or days?) without being checked... and fsck was getting started.


Also, to answer the question, if you intend to use Mac-on-Linux (Mol) or the Mac-on-Mac (Mom), this last one under development. It runs the other OS in user-mode. You can setup a network between both and use NFS. You can also use scp if you want to copy files (rather than share files).

iTux
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Sun Dec 05, 2004 3:32 am    Post subject: Reply with quote

silian87 wrote:
You can only read hfsplus partition under linux (write is hight unstable). Under macosx you can read/write ext2/ext3 partition with a special driver you found searching for "ext2 macosx" (i think) in sourceforge.net.


Under newer kernels (all 2.6.4+, I think), hfsplus implementation is fully stable by kernel standards (read and write). I use it with success very often, on my OSX partition, and with my ipod. On older kernel versions I used the experimental code with succes on my ipod for a while.

OSX (at least 10.3) comes with extended filesystem tools (see "mount-ext3", I think).
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Sun Dec 05, 2004 11:31 am    Post subject: Reply with quote

Quote:
nder newer kernels (all 2.6.4+, I think), hfsplus implementation is fully stable by kernel standards (read and write).


WOW! I didn't see it before! Now I try it! :D
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
sangremac
n00b
n00b


Joined: 12 Sep 2004
Posts: 7

PostPosted: Sun Dec 05, 2004 6:41 pm    Post subject: Reply with quote

[quote="jedsen"]
silian87 wrote:
Under newer kernels (all 2.6.4+, I think), hfsplus implementation is fully stable by kernel standards (read and write). I use it with success very often, on my OSX partition, and with my ipod. On older kernel versions I used the experimental code with succes on my ipod for a while.

OSX (at least 10.3) comes with extended filesystem tools (see "mount-ext3", I think).


So, would you suggest i make, for example:

20gb hfs+ for osx, 1gb ext3 /
500Mb /swap
4gb ext3 /usr
7gb ext3 /home

Then I'll set up some storage partitions. Would you recommend hfs+ or ext3 for that?

(A series of 20gb hfs+ /storage or 20gb ext3 /storage partitions.)
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Sun Dec 05, 2004 9:24 pm    Post subject: Reply with quote

I've always thought there was no need to create separate partitions for the base directories under ppc... but that really doesn't make much sense now that I think about it. I mean, you should only really worry about it with a multi-user system.

Anyway, I'd make the shared partitions hfsplus, but that's just me.
Back to top
View user's profile Send private message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Mon Dec 06, 2004 11:51 pm    Post subject: Reply with quote

sangremac wrote:

So, would you suggest i make, for example:

20gb hfs+ for osx, 1gb ext3 /
500Mb /swap
4gb ext3 /usr
7gb ext3 /home


Everything compiles under /var. Plus /opt for pre-compiled packages. Do you intend to have them on your 1GB / ?

I split it like this on my system:
4GB / (installed software)
4GB /var (compilation/tmp space)
4GB /usr/portage (portage tree + source tarballs + packages)
8GB /home

Best scheme for Gentoo or other if you don't know usage is:
/
/home
swap
that's it.

iTux
Back to top
View user's profile Send private message
sangremac
n00b
n00b


Joined: 12 Sep 2004
Posts: 7

PostPosted: Tue Dec 07, 2004 2:44 am    Post subject: Reply with quote

Thanks! This has all been very useful!
Back to top
View user's profile Send private message
atom
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2002
Posts: 122
Location: Columbus, Ohio, USA

PostPosted: Thu Dec 09, 2004 8:27 pm    Post subject: Reply with quote

the question is, can you install linux on hfsplus? :)
_________________
ubuntu.
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Thu Dec 09, 2004 10:08 pm    Post subject: Reply with quote

Quote:
the question is, can you install linux on hfsplus?

mmm, now that read/write is implemented .... hfs+ has permission, so, I think it is possibile... (but don't know if yaboot will boot this kind of partition...
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Fri Dec 10, 2004 4:02 pm    Post subject: Reply with quote

Heya,

I've been using a shared ext3 partition for both Linux and OS-X. This was working fine most of the time, but during the last months things turned a little unstable. Booting OS-X too ages, and it all hung when the shared ext3 partition got mounted using ext2fsx from sourceforge.net. So I haven't been sharing at all, and thought about changing to hfsplus for the shared partition :)

Problem, I don't know if it's worthy doing.

Other problem, I don't know how to re-format the partition for hsfplus.

Cheers,
Jens :)
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Sat Dec 11, 2004 3:27 am    Post subject: Reply with quote

atom wrote:
the question is, can you install linux on hfsplus? :)


Good question! Want to try that.

I was wrong about OSX having ext3 support, you need the tools (here: http://sourceforge.net/projects/ext2fsx/ I think).
Back to top
View user's profile Send private message
sangremac
n00b
n00b


Joined: 12 Sep 2004
Posts: 7

PostPosted: Sat Dec 11, 2004 4:20 am    Post subject: Reply with quote

I know I can use the osx instll cd to repartition my drive the first time, but...

What is the best too to make linux partitions?

Is that destructive to all partitions (os x included) or just ones that are being resized?

And, does that tool create HFS+ partitions as well, or do those need to bee created by the OSX utility?
Back to top
View user's profile Send private message
DiskBreaker
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 224

PostPosted: Sat Dec 11, 2004 4:33 am    Post subject: Reply with quote

atom wrote:
the question is, can you install linux on hfsplus? :)

Rather unlikely since HFS+ filenames are case-insensitive (only case-preserving). Plus there would be no real advantage in doing so and I'm sure Reiser4 or XFS are much faster than HFS+.
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Sat Dec 11, 2004 6:17 am    Post subject: Reply with quote

Quote:
I know I can use the osx instll cd to repartition my drive the first time, but...

What is the best too to make linux partitions?

Is that destructive to all partitions (os x included) or just ones that are being resized?

And, does that tool create HFS+ partitions as well, or do those need to bee created by the OSX utility?


You can create hfsplus partition with macosx utility and mac-fdisk. In macosx utility the resize is destructive. With parted, in linux, you can sesize all your partitions without problem, including hfsplus.
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Sat Dec 11, 2004 7:33 am    Post subject: Reply with quote

DiskBreaker wrote:
atom wrote:
the question is, can you install linux on hfsplus? :)

Rather unlikely since HFS+ filenames are case-insensitive (only case-preserving). Plus there would be no real advantage in doing so and I'm sure Reiser4 or XFS are much faster than HFS+.


I think I read somewhere that it is possible to do a case sensitive HFS+.

iTux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum