Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
shared partition between gentoo and os x
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
mattmatteh
Guru
Guru


Joined: 10 Mar 2004
Posts: 449
Location: near chicago

PostPosted: Wed Mar 10, 2004 9:57 pm    Post subject: shared partition between gentoo and os x Reply with quote

I dual boot between gentoo and os x and wanted to access my data files on each os with read write. It could be gentoo, os x, or a third. I was going to use the ext2 plug in for os x but that didnt support journaling. Gentoo i think is still experimantal for write to hfs+. And if i use HFS+ for my data does gentoo need to do file system check? I wanted to mount my data as /home/me and /User/me.

matt
Back to top
View user's profile Send private message
ryanCD
n00b
n00b


Joined: 28 Aug 2003
Posts: 60

PostPosted: Thu Mar 11, 2004 12:52 am    Post subject: Reply with quote

You can just mount the HFS+ partition from linux without any problem. I don't use osX hardly at all, so I can't swear it never causes problems ever, just never has for me.

OsX has a journaled HFS option, and I don't know if that's supported. Otherwise though, you can mount the HFS+ partition (something like "mount -t hfsplus /dev/foo /bar" where foo is the drive and partition and bar is the mount point (you need hfs support as a module or built into the kernel)), read and write to it, and obviously osX can read and write stuff on a native partition. So my point, which I just forgot untill now, is that you can use a HFS partition for your shared data, and everyone can read and write to that.
_________________
The new scum
Back to top
View user's profile Send private message
mattmatteh
Guru
Guru


Joined: 10 Mar 2004
Posts: 449
Location: near chicago

PostPosted: Thu Mar 11, 2004 6:35 am    Post subject: Reply with quote

Thanks ryanCD

does any one else use hfs+ read write from linux? Is it stable?

Anyone have any problems reading and writing to ext3 from mac?

Can mac use the unix format to install on and can linux read it? I tried it but didnt work. Has anyone used the unix filesystem for both? I know there are different unix file systems depending on the dist. Is there a kernel option for mac unix filesystem or package?

matt
Back to top
View user's profile Send private message
pixie
Guru
Guru


Joined: 29 Dec 2002
Posts: 305

PostPosted: Thu Mar 11, 2004 7:44 am    Post subject: Reply with quote

The most stable way of sharing between the two would probably be fat32.
Back to top
View user's profile Send private message
malmjako
n00b
n00b


Joined: 24 Feb 2004
Posts: 27
Location: Göteborg, Sweden

PostPosted: Thu Mar 11, 2004 10:13 am    Post subject: Bad experience with using hfs+ Reply with quote

mattmatteh wrote:

does any one else use hfs+ read write from linux? Is it stable?


I have tried using hfs+ in Mandrake, but never in Gentoo. Possibly my experience is a bit outdated. I had no problem reading the partition in Linux, but when I booted up in Mac OS X (10.1), strange things happened. When clicking on files and folders in a Finder window, they just disappeared. I can't remember if they still showed up with an ls command in the Terminal. (It might have had something to do with symbolic links, but I can't remember...)

I decided to skip hfs+ for data exchange and now use plain hfs instead. But I don't think you could use hfs for your purpose, really, as hfs has some serious limitations. I hardly ever use it nowadays anyways.

Good luck!

/Jakob Malm
Back to top
View user's profile Send private message
the_accidental
n00b
n00b


Joined: 29 Dec 2003
Posts: 33

PostPosted: Thu Mar 11, 2004 1:46 pm    Post subject: Reply with quote

I can read fine from HFS+ under linux (2.6.3r3 IIRC) but when I try and write I get "unable to allocate memory" errors. Dunno what's up there...
Back to top
View user's profile Send private message
mattmatteh
Guru
Guru


Joined: 10 Mar 2004
Posts: 449
Location: near chicago

PostPosted: Thu Mar 11, 2004 5:45 pm    Post subject: Reply with quote

i thought about using fat32 but decided not to. my next thought was to use hfs for a separate partition and mount it as /home/me/data or /User/me/data to be read write from both systems. i suppose hfs+ is not safe to write to from linux. any one use the unix format?
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


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

PostPosted: Thu Mar 11, 2004 9:09 pm    Post subject: Reply with quote

personally I use ext3 to share. there is a driver for ext2 for OS X at versiontracker.com. it works great. most of the time I mount it readonly in os x then remount it read write only when i want to modify it. I have had no trouble, and i think i've used it for a month or so. it would probably be fine to mount it rw all the time but I'm paranoid.

the problem with hfs is the metadata sucks. no permissions or ownership.

I've never tried the linux hfs+ driver. i plan to eventually, but it hasn't been included in any of the kernels I've run yet.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
mattmatteh
Guru
Guru


Joined: 10 Mar 2004
Posts: 449
Location: near chicago

PostPosted: Fri Mar 12, 2004 6:56 pm    Post subject: Reply with quote

i am paranoid too. thats why i am asking. hfs might work as i am the only user and i would mount it for me to access any way.

thanks
Back to top
View user's profile Send private message
pip
n00b
n00b


Joined: 22 May 2003
Posts: 22

PostPosted: Sat Mar 13, 2004 7:09 am    Post subject: Reply with quote

i have used the HFS+ driver in 2.6.2-benh, and it seems to work quite well. Unfortunately, it observes the permissions from my OS X volume (UIDs and GIDs), and the accounts don't match up in my linux install. So, I can only gain full access by running apps as root. Unlike most other filesystem modules, hfsplus doesn't seem to have any options for uniformly mangling permissions and ownserhip. If those are ever fixed though, it should be great.
Back to top
View user's profile Send private message
mattmatteh
Guru
Guru


Joined: 10 Mar 2004
Posts: 449
Location: near chicago

PostPosted: Sun Mar 14, 2004 5:53 am    Post subject: Reply with quote

i have ppc-development-source 2.6.3. do i have 2.6.2-benh ? how do i check that i do, how do i get it?

how much do you read write to it from linux?

matt
Back to top
View user's profile Send private message
gnomeza
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2003
Posts: 97

PostPosted: Mon Mar 15, 2004 11:32 am    Post subject: shared partition OSX / Gentoo Reply with quote

Hi

I've currently got a shared ext3 partition and read/write works very nicely in OSX using the
driver at http://sourceforge.net/projects/ext2fsx/. I've been using it for the past two months with light usage in OSX and no problems so far.

Initially I created a case-sensitive HFS+ partition but the Linux HFS+ driver doesn't recognise case-sensitive HFS+ so I settled for normal HFS+. This worked fine for a while but occasionally creating a folder on the partition from Nautilus would fail leaving an inaccessible normal file (!). This was easy enough to fix using DiskUtility in MacOSX though.

I lost all data on the disk however when, after creating one of these inaccessible files, I tried messing around with the hfsplusutils commands (hpmkdir, hpcd, etc attempting to copy the inaccessible file around and create directories with the same name). Why is it that when this happens and 33GB becomes inaccessible, you'll ALWAYS forget to record exactly what you did?! :P Neither hpfsck nor DiskUtility nor DiskWarrior3 could recover the data.
But whatever, I had a backup.

Anyway, just my experiences...

ciao


http://l003026.zseriespenguins.ihost.com/~gnome/gentoo/
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