Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
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 11:47 AM.
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...
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
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.
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
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 05:36 PM.
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.
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
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.
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.
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
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 09:01 PM.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.