LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 12-29-2006, 03:48 PM   #1
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Rep: Reputation: 15
hfs/hfsplus support?


Does Fedora Core 5 have hfs support? (I may be cheating--I have another thread similar to this). I'm mounting my USB in the way everyone is telling me, but the words "hfs" keep popping up. I appoligize, but I forgot to save the error message.

Part two to my question : I downloaded an hfs+ support patch from sourceforge, strangely, it's a text file with code. When I was googling, the Mac OS kept coming up as the compatability. Is the hfs+ patch for Linux, too? If so, how do I get the text file compiled or whatever I'm supposed to do?
 
Old 12-30-2006, 12:46 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
The linux kernel has read and write(well as long as it's not journaled) support. Fedora could have it as a module or not at all but you could always recompile the kernel. hfs+ is the default filesystem for Mac OsX. hfs was the old mac file system. they are not the same and a hfs+ will mount as an hfs partition but all that will be on the disk is a waning that it's not a hfs filesystem. There was an old utility package but it is totaly obsolete at this point. Whatever you got from sourceforge -delete- it. I assume you want to share this disk with a mac? what os is on the mac? I have a mixed mac/linux environment so I work with hfs+ filesystems all day. It can be a little confusing but i'd like to help you out. Could you give more details about the drive and how you'd like to use it?

Last edited by johnson_steve; 12-30-2006 at 12:47 PM.
 
Old 12-30-2006, 05:09 PM   #3
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
The main USB is a Lexar JumpDrive, but I would like to use the USB port for other utilities as well, such as a graphing calculator, scanner, other flashdrives, etc...
 
Old 12-30-2006, 05:42 PM   #4
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Fixing this would in no way make your usb port not work with other devices. If you aren't going to share this lexar jump drive with a mac then you could just reformat it to use a linux filesystem.
 
Old 12-30-2006, 06:10 PM   #5
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
Oh good! Am I able to transfer it to a Windows? How do I reformat the drive? What about other USB devices?
 
Old 12-30-2006, 06:30 PM   #6
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
So there is no mac but you want to use the lexar jump drive on linux and on windows? I don't understand your question; other usb devices have nothing to do with this. it won't affect them at all. if you have other usb devices you can't get working each is it's own issue and should have it's own post. you need to provide detailed information if you want any useful responses.

reboot, plug in your jumpdrive, wait 30 seconds and run 'dmesg' and post the end of the output. mine looks like this:
Code:
usb 2-1: new full speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
  Vendor: SanDisk   Model: U3 Cruzer Micro   Rev: 2.15
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 990865 512-byte hdwr sectors (507 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 990865 512-byte hdwr sectors (507 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
 sda: [mac] sda1 sda2 sda3
sd 0:0:0:0: Attached scsi removable disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete

Last edited by johnson_steve; 12-30-2006 at 06:36 PM.
 
Old 12-30-2006, 06:35 PM   #7
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
It's in another post that no USB devices work. They are detected, but I can't mount them. I've mounted them exactly how other succesfull users have mounted them. If you want to read the thread, it's here. Thank you for taking the time to help me.
 
Old 12-30-2006, 07:49 PM   #8
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
I read the other post and it seems to be mostly about the jump drive it also seemed that you were less then cooperative with providing the needed information.dmesg spits out the kernel log it provides tons of useful information for all sorts of things grep is used to sort through this to so the output isn't several pages long. if you post the information I request I can help you set up your drive.
 
Old 01-02-2007, 03:02 PM   #9
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
I already tried that dmesg and grep thing. I'm having trouble with my floppy right now, so I'm sorry that I can't copy the exact information, but "dmesg | grep usb" says something about usb trying to mount, and usb not mounted about five times. It lists my USB drive make and model, so it detects it.
I also have a desire to plug in other USB devices, too, like a scanner or an MP3 device, so I don't want the device to automatically mount. I have to have the USB in the port in order for sda to appear in /dev/, also.
 
Old 01-02-2007, 09:52 PM   #10
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
O.K. from what I understand at this point: You are dual booting with windows. you are having trouble posting any specific information because you probably don't have any network connection yet and you can't get your floppy to work either. (please correct me if I got any of this wrong.)

What version of windows? Your jumpdrive is probably mac formatted but you don't need it to be. If you want to share this drive between windows and linux your best bet is to format it Fat32 (a windows filesystem that linux understands quite well.) Boot up windows and Format your jumdrive ('Fat' not 'NTFS' if it gives you the option.) then boot into linux, plug in the drive and run dmesg (no grep just 'dmesg') the line you are most concerned with is the one that will look like this:

Code:
 sda: [mac] sda1 sda2 sda3
yours should look different it should not say '[mac]' if you formatted it in windows the important things are: is it 'sda' or is it something else like 'sdb'? how many partitions does it have? in my example I have 3 partitions sda1, sda2 and sda3. can you try formatting it in windows and tell me how many partitions it has afterward?

Last edited by johnson_steve; 01-02-2007 at 10:01 PM.
 
Old 06-10-2007, 06:29 AM   #11
Ampi
LQ Newbie
 
Registered: Dec 2006
Distribution: Fedora Core 4, CentOS
Posts: 4

Rep: Reputation: 0
I also want to add hfs/hfs+ support (I have fedora core 4) and i am reading how to do this in a gentoo help page:
http://gentoo-wiki.com/HOWTO_hfsplus
but they talk about the diretory /usr/src/linux, which I don't have. Mine has only the directory kernels.
I need the support of hfs/hfs+ because of my ipod.
Is there another way to add this support? I am a newbie...
 
  


Reply

Tags
fc5, fedora, hfs+, linux, mac, support


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hfs: unable to find HFS+ superblock VFS: Can't find ext3 filesystem on dev sdb. macroron Linux - Hardware 3 11-20-2006 10:50 PM
Error mounting HFS+ volume: unable to find HFS+ superblock applewax Linux - General 3 05-31-2006 09:45 AM
How do i create HFS, HFS+ and RockRidge CD's? moore757 Linux - Software 2 06-19-2005 11:13 PM
recompile kernel for hfs support peok Linux - Software 5 10-20-2004 09:42 PM
hfs support in Linux navneet_3 Linux - Software 1 08-21-2003 09:05 AM


All times are GMT -5. The time now is 01:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration