HowTo: Mounting HFSplus filesystem in centos6

Posted on Updated on

hfsplus  (Hierarchical File System) is a file system which is developed for MAC OSX , In some of the cases we have to mount is different operating system.  I followed this method which is simplest way to mount using epel package repo., http://elrepo.org/tiki/tiki-index.php.

Installaing Repository to the Centos:

# sudo yum install epel-release

Installing necessary package:

 # yum install kmod-hfsplus

Now you can get the block dev informations from the Kernel log

# tail -f /var/log/messages
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] 1953525167 512-byte logical blocks: (1.00 TB/931 GiB)
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] Write Protect is off
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] Assuming drive cache: write through
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] Assuming drive cache: write through
Jan 7 06:59:44 test kernel: sdc: sdc1 sdc2 ---> these are the block devices to mount
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] Assuming drive cache: write through
Jan 7 06:59:44 test kernel: sd 5:0:0:0: [sdc] Attached SCSI disk
Jan 7 07:05:14 test kernel: EXT4-fs (sda3): warning: checktime reached, running e2fsck is recommended

Now mount the devce :

# mount /dev/sdc2 /media/disk2

For more information about the disk file system use command blkid

 

2 thoughts on “HowTo: Mounting HFSplus filesystem in centos6

    Whatever said:
    October 19, 2017 at 3:03 am
    Anand babu responded:
    October 20, 2017 at 10:53 am

    Epel repo has moved for a log time, you can use centos base repo to install epel repository
    sudo yum install epel-release

Leave a comment