Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Shared Users/home --> OS X and Gentoo-PPC?
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
b70nd13
n00b
n00b


Joined: 20 Apr 2004
Posts: 5
Location: Chi-Town

PostPosted: Tue Apr 20, 2004 8:20 pm    Post subject: Shared Users/home --> OS X and Gentoo-PPC? Reply with quote

Greetings, y'all,

I'm a pre-natal Gentoo noob (haven't installed yet), but a hand (if not an old one) with Linux, having successfully built and run two LFS boxes, a couple of Debian installs, and one old RH.

My main question before loading Gentoo onto my iBook G3 900 mHz is whether it is (a) possible and (b) advisable to create a separate partition that would mounted as /home under Gentoo and /Users under OS X.

I have a lot of movies, mpegs, documents, disk images, etc. that I would prefer to have available in a logically consistent place regardless of the OS I'm running (especially since I'll (hopefully) be starting an MS in CS program soon and would like to develop cross-platform). So it occurred to me that the way to do that would be to create a single filesystem for my user account(s) that both operating systems, being *nix-based, would share. No duplicating .bashrc, no excess screwing with paths, etc.

I know that

(A) OS X lets you use a separate partition for Users
(B) Linux " " " " " " " home
(C) OS X can read/write ext2 fs's with an external utility (and maybe ext3)
(D) Linux " " " HFS+ "

So the remaining questions in my mind, more specifically, are

(1) What are the potential dangers of trying to set this up?
(2) Which fs is better/more stable to serve for the shared partition
(3) Are there any dangers/inconveniences/inelegances associated with having most of aLinux system using reiserfs but ext2/3/HFS/+ for /home?
(3.5) Should I bother with reiserfs or just go flat out ext3?
(4) Has anyone else tried this and would they provide their testimonials?

and, much more specifically

(i) I've been reading distrubing news about HFS+ support under kernel 2.6.3... How stable is it?
(ii) If it's currently broken, how soon can we expect it to be fixed/stabilized?

I realize that is this an awfully long post, but the more research I've done, the more elaborate and numerous the questions have become. Thanks so much in advance to everyone for their input.

Yrs,
b70nd13
Back to top
View user's profile Send private message
pianosaurus
l33t
l33t


Joined: 19 Apr 2004
Posts: 943
Location: Bash$

PostPosted: Tue Apr 20, 2004 9:02 pm    Post subject: Reply with quote

Well. There's a lot of data in those folders created by apps. It is NOT safe to let the same program on two different OSs work on the same datafolder. Believe me, I've tried (if only with Opera, who desided to delete all my mail). If it kan happen with Opera, I guess it could happen to other software to.

But if you have things sorted in folders inside Users/home, you could mount both folders separately, and use symlinks for those folders, leaving the "dangerous" datafolders intact. In most cases, it shouldn't be a problem anyways, but you never know.
_________________
PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post
Back to top
View user's profile Send private message
b70nd13
n00b
n00b


Joined: 20 Apr 2004
Posts: 5
Location: Chi-Town

PostPosted: Wed Apr 21, 2004 2:05 am    Post subject: Reply with quote

Quote:
There's a lot of data in those folders created by apps. It is NOT safe to let the same program on two different OSs work on the same datafolder. Believe me, I've tried (if only with Opera, who desided to delete all my mail). If it kan happen with Opera, I guess it could happen to other software


I wonder why the program wouldn't just work with data that was already there... but looking at the . files in ~ under OS X doesn't show up a whole lot files that would be shared with Gentoo, especially since OS X stores the user specific stuff mostly under ~/Library/... And I doubt I'll be duplicating a very many apps from one to the other; in fact, UT is the only one I can think of that I could and would want to run under OS X and Gentoo.

Still, I hope someone can give me some feedback on the fs questions.

b70nd13
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Fri Apr 23, 2004 7:18 pm    Post subject: Reply with quote

my ibook dual-boots with gentoo & panther.

I can mount my osx partition in gentoo. typically I only mount it read-only. I just now tried mounting it rw and created a new file. seemed to work ok. but I'm done minimal testing with that. I'm using development-sources-2.6.3-r2 (Which is the 2.6.3-benh2 kernel)

in gentoo I use reiserfs for everything (except /boot which is ext2). when I'm in OS X, my linux stuff is out of reach. I just make sure I copy anything I want over first before booting in OS X (either through mac on linux or over to my desktop machine)

most of the rc files which I would share between the two OSes are not identical. my .zshrc has a few tweaks, so does my .zshenv, my .gvimrc, etc.

I've also used the ext2 driver for os x. it worked great. but I don't think you could put your home directory on ext2, not sure though.

I ended up allocating most of my disk to os x, keeping only 3.5 gb for linux. then I keep most of the 'data' (pics, movies, music, etc) in my home dir in OS X. I can easily access them readonly in linux.

mac on linux is handy too, but most of the time I can get by just mounting the filesystem.

also, I have one folder which i keep small data files in (notes, documents, etc.). that is only a few tens of megabytes, so I just rsync it to my desktop machines and back so I have a clone everywhere.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Mon Apr 26, 2004 10:18 pm    Post subject: Reply with quote

Dude, you are playing with fire. Reiserfs is buggy under PPC, always has been. I've been burned _many_ times by it and returned to ext3 for its stability over reiserfs's performance. If I were you, I'd use RFS only for /usr/portage/, as that directory is 'disposable'. Meaning if it gets hosed, reformat that partition and emerge sync.

I would not share a home dir between the two oses. It seems simpler but in reality you could simply mount your OSX home and bind it to a dir in ~/, eg: ~/OSXhome/ and access all your files that way.

Having said all that I know you will not heed these words :) and just be sure to back up things you cannot do without to CDR. After all we learn by doing and more specifically we learn from our mistakes. Good luck. I give you 6 months tops before a total reformat is necessary.
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Mon Apr 26, 2004 10:27 pm    Post subject: Reply with quote

I have run into bugs with reiserfs before, but that was with a pre-2.4.22 kernel. A lot of ppc-specific bugs were taken care of in the 2.4.22 kernel. I've had zero problems since then.
_________________
http://www.desertsol.com/~kevin/ppc
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