Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-24 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Eric A. Bonney wrote:
 Ken Hu wrote:
 Dear All:

 I am a linux and OSx user and I really need to know which filesystem
 really can work on both Linux and Mac OSx

 I've found an open source project which tries to make Mac able to read
 ext2 filesystem. I gave it a try but it just doesn't work.

 The purpose  I need this is for my usb external harddisk, I wish I can
 plug it to mac and linux box.

 Does anyone have any successful experience ?

 Ken


   
 I might be off here, but I thought that Samba would work.  Of course I
 am still trying to figure out how to get Samba to work with my WinXP Pro
 network in  my house also. :D

But samba is not a file system, is it?

vfat might be a filesystem accessible for both (I don't know about Mac).

Johannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGVV3aC1NzPRl9qEURArr1AJ43OjJrBMRe8O/2zVOvKc6fgBmeMgCff/IA
fSFqbNIkA5cHs0Pz+N/5o/4=
=pmcc
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-24 Thread Owen Heisler
On Wed, 2007-05-23 at 23:53 -0500, Ron Johnson wrote:
 On 05/23/07 20:40, Ken Hu wrote:
  Well , I think the filsystem my mac uses is HFS, but I can find no way
  to mount HFS on Linux.
  
  Of course my Mac can read cdrom or dvdrom, but what I need is to plug my
  usb external hard drive to my mac just as my original post said.
 
 The hfs  hfs+ drivers might not (probably aren't??)  built by
 default.  You'd have to roll your own kernel.  Not too difficult.

Installing hfsplus and hfsutils should do it...


signature.asc
Description: This is a digitally signed message part


Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-24 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/24/07 07:05, Owen Heisler wrote:
 On Wed, 2007-05-23 at 23:53 -0500, Ron Johnson wrote:
 On 05/23/07 20:40, Ken Hu wrote:
 Well , I think the filsystem my mac uses is HFS, but I can find no way
 to mount HFS on Linux.

 Of course my Mac can read cdrom or dvdrom, but what I need is to plug my
 usb external hard drive to my mac just as my original post said.
 The hfs  hfs+ drivers might not (probably aren't??)  built by
 default.  You'd have to roll your own kernel.  Not too difficult.
 
 Installing hfsplus and hfsutils should do it...

Those utilities haven't been updated since 1998.
http://www.mars.org/home/rob/proj/hfs/version.html

I'd go with the kernel drivers.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGVZAsS9HxQb37XmcRAtZZAJ0fuaQxnssITXfTes3lFKqG3xItJQCZAQP8
o4g+MUAOYgIfPTpLr8YqNss=
=cyV8
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-24 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/24/07 04:41, Johannes Wiedersich wrote:
 Eric A. Bonney wrote:
 Ken Hu wrote:
 Dear All:

 I am a linux and OSx user and I really need to know which filesystem
 really can work on both Linux and Mac OSx

 I've found an open source project which tries to make Mac able to read
 ext2 filesystem. I gave it a try but it just doesn't work.

 The purpose  I need this is for my usb external harddisk, I wish I can
 plug it to mac and linux box.

 Does anyone have any successful experience ?

 Ken


   
 I might be off here, but I thought that Samba would work.  Of course I
 am still trying to figure out how to get Samba to work with my WinXP Pro
 network in  my house also. :D
 
 But samba is not a file system, is it?
 
 vfat might be a filesystem accessible for both (I don't know about Mac).

Correct.  SMB is a file-  print-server network protocol.
http://us1.samba.org/samba/what_is_samba.html

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGVZFVS9HxQb37XmcRAt2pAKCJ/zIwkdeEOGWi2vBxd0pq1nmMPQCgk1hX
pzsQEz8zn/NV5gemEmAOxnw=
=03jz
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-24 Thread Kelly Harding

Linux should and does work fine with HFS+ as I used my iBook G4 the othe
rnight in target disk mode and mounted it on my athlon64 (using Mepis),
worked flawlessly.

Fat32 (vfat) works with Macs, NTFS won't.

OS X will get ZFS with v10.5, if they added XFS too it'd make life so much
easier!

Kelly


Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-24 Thread Marko Randjelovic
Ron Johnson wrote:
 On 05/23/07 20:40, Ken Hu wrote:
 ¼ Wed2007-05-23 ¼ 21:25 -0400Douglas Allan Tutty Ð0
 What filesystems can your Mac OSx read and write?
 Well , I think the filsystem my mac uses is HFS, but I can find no way
 to mount HFS on Linux.
 
 Of course my Mac can read cdrom or dvdrom, but what I need is to plug my
 usb external hard drive to my mac just as my original post said.
 
 The hfs  hfs+ drivers might not (probably aren't??)  built by
 default.  You'd have to roll your own kernel.  Not too difficult.
 

They are built as module in Etch kernel (2.6.18-4). So your root
partition cannot be hfs unless you recompile the kernel. Also, i am not
sure about boot partition, because i don't know if grub supports it. If
you need boot partition, i would try lilo.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-24 Thread Bob McGowan

Marko Randjelovic wrote:

Ron Johnson wrote:

On 05/23/07 20:40, Ken Hu wrote:

¼ Wed2007-05-23 ¼ 21:25 -0400Douglas Allan Tutty Ð0

What filesystems can your Mac OSx read and write?

Well , I think the filsystem my mac uses is HFS, but I can find no way
to mount HFS on Linux.
Of course my Mac can read cdrom or dvdrom, but what I need is to plug my
usb external hard drive to my mac just as my original post said.

The hfs  hfs+ drivers might not (probably aren't??)  built by
default.  You'd have to roll your own kernel.  Not too difficult.



They are built as module in Etch kernel (2.6.18-4). So your root
partition cannot be hfs unless you recompile the kernel. Also, i am not
sure about boot partition, because i don't know if grub supports it. If
you need boot partition, i would try lilo.




The OP was interested in support for an external USB hard disk, to be 
shared between a Mac and PC.  So, probably not to be used for booting.


The modules are hfs.ko and hfsplus.ko.  If you want them available all 
the time, you can add 'hfs' and 'hfsplus' on separate lines in the 
/etc/modules file.


Bob


smime.p7s
Description: S/MIME Cryptographic Signature


Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-24 Thread Andrei Popescu
On Thu, May 24, 2007 at 05:29:40PM +0200, Marko Randjelovic wrote:

  The hfs  hfs+ drivers might not (probably aren't??)  built by
  default.  You'd have to roll your own kernel.  Not too difficult.
  
 
 They are built as module in Etch kernel (2.6.18-4). So your root
 partition cannot be hfs unless you recompile the kernel. Also, i am not

ext3 is also a module so I guess it works if you include the module in 
the initrd.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-24 Thread Sjoerd Hiemstra
On Thu, 24 May 2007 09:15 +0800 Ken Hu wrote:
 I am a linux and OSx user and I really need to know which filesystem
 really can work on both Linux and Mac OSx

 The purpose I need this is for my usb external harddisk, I wish I can
 plug it to mac and linux box.

1.
Mac OSX uses the HFS+ filesystem.
You can use the Mac Disk Utility to partition the disk and put the HFS+
('HFS extended') filesystem on it.
In Linux, as root do

modprobe hfsplus

and the usb disk can be mounted like any other disk.
If it works then put the line

hfsplus

into /etc/modules, so you will never have to 'modprobe' again.
Usually, the device used is /dev/sda2, so I have this line
in /etc/fstab:

/dev/sda2   /media/hfsplus   auto   rw,user,noauto   0   0

2.
As you may have noticed when e-mailing a mac file or putting it on a
different filesystem, the so-called resource fork gets lost. This
affects Mac fonts in the first place; they become totally unusable.

To deal with this, you could install the 'hfsplus' package, which
allows you to transform the mac file into a MacBin file or a BinHex
file (the latter being the Mac equivalent of Base64), so no information
will be lost when transforming it back.
It will also transform Mac text files to Unix text files, including the
encoding (so special characters remain correct), and vice versa. But
'recode' can do this as well.

3.
Mac OSX will also work with the (older) HFS filesystem.
You can use the Mac Disk Utility to partition the disk and put the HFS
filesystem on it. In Linux, as root do 'modprobe hfs' or add the line
'hfs' (without the quotes) to /etc/modules.
'hfsutils' for HFS does the same as 'hfsplus' for HFS+.

There is a graphical version of hfsutils called xhfs, part of
hfsutils-tcltk. It works in Sarge, but alas, not in Etch and Lenny any
more, probably because the new glibc version clashes with it. I hope it
will be solved some time.
See this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421457

4.
You could use the Mac Disk Utility to partition the disk and put the
'DOS filesystem' on it, or use Linux to make it a vfat filesystem.
Both Mac and Linux will be able to access it, although it does not
address the problem with the 'resource fork' mentioned above.

However, there is a way to keep the Mac files undamaged using the vfat
filesystem: use Darwin's X-Terminal to 'tar' your stuff:

tar cf mydir.tar mydir

Every compressed form, such as .tar.bz2 or .tar.gz, will also do.
When putting the .tar.* files back to the Mac later on, and untarring
them, which can be done by simply doubleclicking them, they will appear
to be undamaged.

5.
As a last remark, the Mac Disk Utility can put the UFS or 'Unix File
System' on the disk. Odd enough, I never could make Linux recognize it.

-- 
S.H.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-23 Thread Ken Hu
Dear All:

I am a linux and OSx user and I really need to know which filesystem
really can work on both Linux and Mac OSx

I've found an open source project which tries to make Mac able to read
ext2 filesystem. I gave it a try but it just doesn't work.

The purpose  I need this is for my usb external harddisk, I wish I can
plug it to mac and linux box.

Does anyone have any successful experience ?

Ken


-- 

Linux is the only reason why I still consider to 
buy a PC.

VISTA: Very Impotent System , Think Again !




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-23 Thread Douglas Allan Tutty
On Thu, May 24, 2007 at 09:15:03AM +0800, Ken Hu wrote:
 I am a linux and OSx user and I really need to know which filesystem
 really can work on both Linux and Mac OSx
 
 I've found an open source project which tries to make Mac able to read
 ext2 filesystem. I gave it a try but it just doesn't work.
 
 The purpose  I need this is for my usb external harddisk, I wish I can
 plug it to mac and linux box.
 

What filesystems can your Mac OSx read and write?

Then check Debian's man mount and see if there is some overlap.

If you just need to read, what about iso9660 as used for CDs?

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-23 Thread Ken Hu
於 Wed,2007-05-23 於 21:25 -0400,Douglas Allan Tutty 提到:
 What filesystems can your Mac OSx read and write?

Well , I think the filsystem my mac uses is HFS, but I can find no way
to mount HFS on Linux.

Of course my Mac can read cdrom or dvdrom, but what I need is to plug my
usb external hard drive to my mac just as my original post said.

Ken


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-23 Thread Eric A. Bonney

Ken Hu wrote:

Dear All:

I am a linux and OSx user and I really need to know which filesystem
really can work on both Linux and Mac OSx

I've found an open source project which tries to make Mac able to read
ext2 filesystem. I gave it a try but it just doesn't work.

The purpose  I need this is for my usb external harddisk, I wish I can
plug it to mac and linux box.

Does anyone have any successful experience ?

Ken


  
I might be off here, but I thought that Samba would work.  Of course I 
am still trying to figure out how to get Samba to work with my WinXP Pro 
network in  my house also. :D


-Eric


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-23 Thread Douglas Allan Tutty
On Thu, May 24, 2007 at 09:40:45AM +0800, Ken Hu wrote:
 於 Wed,2007-05-23 於 21:25 -0400,Douglas Allan Tutty 提到:
  What filesystems can your Mac OSx read and write?
 
 Well , I think the filsystem my mac uses is HFS, but I can find no way
 to mount HFS on Linux.
 
 Of course my Mac can read cdrom or dvdrom, but what I need is to plug my
 usb external hard drive to my mac just as my original post said.

man mount under -t lists hfs.  Later, there's a section for hfs specific
options.  Looks like you're set for hfs.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ask for suggestion: which filesystem suits for both Linux and Mac OSx

2007-05-23 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/23/07 20:40, Ken Hu wrote:
 於 Wed,2007-05-23 於 21:25 -0400,Douglas Allan Tutty 提到:
 What filesystems can your Mac OSx read and write?
 
 Well , I think the filsystem my mac uses is HFS, but I can find no way
 to mount HFS on Linux.
 
 Of course my Mac can read cdrom or dvdrom, but what I need is to plug my
 usb external hard drive to my mac just as my original post said.

The hfs  hfs+ drivers might not (probably aren't??)  built by
default.  You'd have to roll your own kernel.  Not too difficult.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGVRpFS9HxQb37XmcRAlpDAJ902p07Qx6CCh9/RW7gynzH0KkUDwCfe1lY
U/AeyqO5FmrjRWWgEu5+vq0=
=rjE8
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]