Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mount_hfs(8) [netbsd man page]

MOUNT_HFS(8)						    BSD System Manager's Manual 					      MOUNT_HFS(8)

NAME
mount_hfs -- mount an Apple HFS+ File System SYNOPSIS
mount_hfs [-o options] special node DESCRIPTION
The mount_hfs command attaches the Apple HFS+ File System on the special device on to the file system tree at point node. Both special and node are converted to absolute paths before use. This command is normally executed by mount(8) at boot time. The options are as follows: -o Options are specified with a -o flag followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings. NOTES
Apple disk images (.dmg files) and hybrid CD-ROMs contain multiple partitions with an HFS+ file system on one of them. Use apmlabel(8) to enter it into the disklabel and mount the resulting partition. SEE ALSO
mount(2), unmount(2), fstab(5), apmlabel(8), mount(8) HISTORY
The mount_hfs utility first appeared in NetBSD 5.0. AUTHORS
mount_hfs was developed by Yevgeny Binder <yevbee@comcast.net> during the 2005 Google Summer of Code. It was improved and imported into NetBSD by Dieter Baron <dillo@NetBSD.org>. BUGS
HFS+ support is still experimental. Currently, no write support is present. Also, Unicode decomposition is not performed on file names prior to lookup. BSD
May 19, 2007 BSD

Check Out this Related Man Page

MOUNT_HFS(8)						    BSD System Manager's Manual 					      MOUNT_HFS(8)

NAME
mount_hfs -- mount an HFS/HFS+ file system SYNOPSIS
mount_hfs [-e encoding] [-u user] [-g group] [-m mask] [-o options] [-j] [-c] [-w] [-x] special directory DESCRIPTION
The mount_hfs command attaches the HFS file system residing on the device special to the global file system namespace at the location indi- cated by directory. This command is normally executed by mount(8) at boot time. The options are as follows: -e encoding (standard HFS volumes only) Specify the Macintosh encoding. The following encodings are supported: Arabic, ChineseSimp, ChineseTrad, Croatian, Cyrillic, Greek, Hebrew, Icelandic, Japanese, Korean, Roman (default), Romanian, Thai, Turkish -u user Set the owner of the files in the file system to user. The default owner is the owner of the directory on which the file system is being mounted. The user may be a user-name, or a numeric value. -g group Set the group of the files in the file system to group. The default group is the group of the directory on which the file system is being mounted. The group may be a group-name, or a numeric value. -m mask Specify the maximum file permissions for files in the file system. (For example, a mask of 755 specifies that, by default, the owner should have read, write, and execute permissions for files, but others should only have read and execute permissions. See chmod(1) for more information about octal file modes.) Only the nine low-order bits of mask are used. The default mask is taken from the directory on which the file system is being mounted. -o Options are specified with a -o flag followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings. -j Ignore the journal for this mount. -c Disable group commit for journaling. -w Mount the HFS wrapper volume. -x Disable execute permissions on a standard HFS file system. SEE ALSO
mount(2), unmount(2), fstab(5), mount(8) BUGS
Some HFS file systems with highly fragmented catalog files may not mount. HISTORY
The mount_hfs utility first appeared in Mac OS X Server 1.0. Mac OS X March 14, 2001 Mac OS X
Man Page

13 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Apple OS X (10.2) Jaguar and the Rendezvous Protocol

Apple launches new software I'm about to change over my desktop office environment to Apple!!! This is getting very interesting. Congratulations to Apple!!!! We Love Ya!!!! PS: PLEASE LOWER YOUR PRICES ON SOFTWARE AND WE WILL LOVE YOU MUCH MORE :) (1 Reply)
Discussion started by: Neo
1 Replies

2. UNIX for Advanced & Expert Users

need help sorting and combining files

I have 2 files with many lines. File one example: CN=VXX,CN=ug88888,OU=America,OU=State,OU=VXX, File two example: ul22222 Jon Smith ug8888 Mildred Apple I need a routine that will take the ug88888 portion of the first file and pull out the corresponding full line in file two. Then add the... (2 Replies)
Discussion started by: scriptarg
2 Replies

3. Shell Programming and Scripting

capture till first occurrence.

Hi, In my file I have following to lines ------------------------------------------- C:/India/Apple/Mumbai/Red_Apple/Apple.txt cd C:/India/Apple && run ------------------------------------------- I want to replace "C:/India/Apple" with "D:/Test/Red_Apple" whereever the pattern... (6 Replies)
Discussion started by: benitdhotekar
6 Replies

4. Shell Programming and Scripting

count identical strings print last row and count

I have a sorted file like: Apple 3 Apple 5 Apple 8 Banana 2 Banana 3 Grape 31 Orange 7 Orange 13 I'd like to search $1 and if $1 is not the same as $1 in the previous row print that row and print the number of times $1 was found. so the output would look like: Apple 8 3 Banana... (2 Replies)
Discussion started by: dcfargo
2 Replies

5. OS X (Apple)

Move read-only-file

I downloaded a hexeditor.dmg file and then open it from command line >>hdiutil attach hexeditor.dmg then >> cd /Volumns/hexeditor I see a folder named "hexeditor.app" I want to use 'mv hexeditor.app /Applications' to move the folder into applications folder, but I get an "read only file... (4 Replies)
Discussion started by: andrewust
4 Replies

6. UNIX for Dummies Questions & Answers

cut or remove command

hi, I want to remove first word in all files where first and second word is seperated by comma. example: a file contains Apple,mango. i need only mango shoule be there in the file??? Apple, should be removed!!!!! can anyone help me out??? thanks in advance, Arun Manas:b: (2 Replies)
Discussion started by: arunmanas
2 Replies

7. Programming

Help with GSOC ...

Is there anyone here who is participating in GSOC (Google Summer of Code) 2011? Or is there anyone who had participated in it earlier? I have some basic questions about it. (3 Replies)
Discussion started by: poonam.gaigole
3 Replies

8. Shell Programming and Scripting

How to use wildcard * in if?

Hi, Can anyone help me how to use * in if statement. File contains below line1:a|b|c|Apple-RED| line2:c|d|e|Apple-Green| line3:f|g|h|Orange| I need to find line by line 4th field contains 'Apple' or not. Please help me at the earliest. (6 Replies)
Discussion started by: jam_prasanna
6 Replies

9. Solaris

Need help to boot a server and mount all partitions

Hello, I am having an issue with a SUN FIRE V440. First of all, lots of mirrors and submirrors needed maintenance, so I applied #metasync to fix all of them, but I still couldn't mount all the partitions of the server . I tried to mount manually all the partitions that appear in the /etc/vfstab... (4 Replies)
Discussion started by: feg
4 Replies

10. Shell Programming and Scripting

egrepping from a variable

i stored a lot of lines in a variable. and i want to be able to scan that variable quickly. sounds simple enough. but really, it isnt. scanning a variable containing a lot of lines actually is very slow. i'd rather not have to write the contents of the variable into a file. but here's an... (18 Replies)
Discussion started by: SkySmart
18 Replies

11. Shell Programming and Scripting

Problem with command mount

Hi, I have a problem with the command mount with a password with special character mount -t smbfs '//itransfert_cs:password@IP/itransfert/1-Arrivees/Vers_K2' /share the password contain a * and a @ I try to quote but don't work, replace the @ with %40 and try to escape with \ but... (8 Replies)
Discussion started by: protocomm
8 Replies

12. UNIX for Beginners Questions & Answers

Restore .dmg containing multiple partitions to bootable USB flash drive

I have a .dmg file which was created from a disk consisting of two partitions. When I mount the dmg both partitions pop up, so I know the imaging worked properly. One partition is HFS+ and the other is FAT32. So far, I've been unable to find a way to restore the dmg to a flash drive where both... (17 Replies)
Discussion started by: paulcristo
17 Replies

13. UNIX for Beginners Questions & Answers

Replace newline with comma and append quotes

Hi, I have below requirement. Apple Orange Banana Required O/p in bash 'Apple,Orange,Banana' Can you please help. Please wrap your samples, codes in CODE TAGS as per forum rules. (3 Replies)
Discussion started by: Rtk
3 Replies