Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
i have a HFS (Mac) formatted hard disk that I need to read in a USB drive enclosure. I tried to do "mount -t hfs /dev/sda1 /mnt/usb" and sometimes it mounts, but when I go to /mnt/usb, all thats there is this:
[root@RH9 brian]# ls /mnt/usb/
Desktop DB Desktop DF Finder System Where_have_all_my_files_gone?
The only file that says anything is Where_... It says this
Quote:
Why can't you see your files?
This hard disk is formatted with the Mac OS Extended format. Your files and information are still on the hard disk, but you cannot access them with the version of system software you are using.
How can you access your files?
To access your files you must mount this hard disk on a computer that has Mac OS 8.1 or later installed. To determine the version of system software you�e currently using, choose About This Computer from the Apple menu. If you�e using a version of the Mac OS earlier than 8.1, you must do one of the following: A) upgrade the system software on your computer, B) start up the computer from a hard disk or CD that has Mac OS 8.1 or later, or C) connect the hard disk to another computer with Mac OS 8.1 or later installed.
If you want to access the files without upgrading your system software, start up your computer with the �ac OS 8.1�CD or the �isk Tools PPC�disk, then access your files. Apple recommends that you have the �ac OS 8.1�CD if you plan to reformat any hard disk using Mac OS Extended format.
To continue to use this hard disk with this computer, you must upgrade your system software to Mac OS 8.1.
How do you upgrade your system software?
If you have a version of system software earlier than Mac OS 8, you can order Mac OS 8.1 on the Internet or buy it at a local Apple software reseller.
If you have Mac OS 8 on your computer, you can download the Mac OS 8.1 update from the Internet at http://www.info.apple.com.
Copyright 1998 Apple Computer, Inc. All rights reserved.
Apple and Mac OS are trademarks of Apple Computer, Inc., registered in the U.S. and other countries. PowerPC is a registered trademark of International Business Machines Corporation, used under license therefrom.
Indeeed, you've got an HFS+/HFS Extended/HPFS filesystem there, not HFS. That's Apple's newfangled filesystem, and it's been my general experience that it's supported under Linux about as well as Microsoft NTFS...which is close to not at all.
It IS possible to make it work, but if it's in any way possible, you're better off reformatting the drive to normal HFS. The Mac will read the old format without a hiccup, and you're not losing any substansial features on the Mac OS end. I ran my Mac OS X box from an HFS partition with no problems for quite some time.
That's true. On the Mac end, though, HFS will be a bit more robust(supporting icons, creator/type signatures, resource forks, etc). A Mac can't run programs directly off of a FAT drive, like it would be able to with HFS. Plus, I just like HFS better, having grown up on Macs
It's mostly a question of how the drive is going to be used. If it's going to get carried around everywhere, and it's just storing boring ol' data anyway, Electro's idea makes more sense. If the drive is going to be used to share stuff between the Mac and the Linux machine, go HFS.
Actually, I just need to read the mac files on the drive to back them up. It's not like a permanent situation, just need to back up to cd. And I think I led you all astray, Now I think its HFS+
Well, since you're just doing a backup, you at least don't need to worry about getting the drive to work in read/write mode, which can be difficult with experimental filesystems. Readonly should do fine.
You need the hfsplus and hfsplusutils packages, available here: http://ftp.penguinppc.org/projects/hfsplus/
(Does anybody have a link to any kind of semi-official repository for this those?).
I'm afraid I've never actually attempted to use those packages, and they don't seem to be well documented or supported at all.
Has anybody out there successfully used HFS+ in Linux before? Your input would be more helpful than mine :P
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.