public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Wyatt Banks <wyatt@banksresearch.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Documentation: document HFSPlus
Date: Fri, 27 Jul 2007 21:25:47 -0400	[thread overview]
Message-ID: <46AA9B1B.10206@banksresearch.com> (raw)

From:	Wyatt Banks <wyatt@banksresearch.com>

Documentation: document HFSPlus filesystem and its mount options.

Signed-off-by:	Wyatt Banks <wyatt@banksresearch.com>

---

Patched against 2.6.22.1

diff -uprN linux-2.6.22.1/Documentation/filesystems/hfsplus.txt linux-2.6.22.1-devel/Documentation/filesystems/hfsplus.txt
--- linux-2.6.22.1/Documentation/filesystems/hfsplus.txt	1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6.22.1-devel/Documentation/filesystems/hfsplus.txt	2007-07-27 21:11:10.000000000 -0400
@@ -0,0 +1,59 @@
+
+Macintosh HFSPlus Filesystem for Linux
+======================================
+
+HFSPlus is a filesystem first introduced in MacOS 8.1.
+HFSPlus has several extensions to HFS, including 32 bit allocation
+blocks, 255 character unicode filenames, and file sizes of 2^63 bytes.
+
+
+Mount options
+=============
+
+When mounting an HFSPlus filesystem, the following options are accepted:
+
+  creator=cccc, type=cccc
+	Specifies the creator/type values as shown by the MacOS finder
+	used for creating new files.  Default values: '????'.
+
+  uid=n, gid=n
+	Specifies the user/group that owns all files on the filesystem
+	that have uninitialized permissions structures.
+	Default:  user/group id of the mounting process.
+
+  umask=n
+	Specifies the umask used for files and directories that have
+	uninitialized permissions structures.
+	Default:  umask of the mounting process.
+
+  session=n
+	Select the CDROM session to mount as HFSPlus filesystem.  Defaults to
+	leaving that decision to the CDROM driver.  This option will fail
+	with anything but a CDROM as underlying devices.
+
+  part=n
+	Select partition number n from the devices.  Does only makes
+	sense for CDROMS because they can't be partitioned under Linux.
+	For disk devices the generic partition parsing code does this
+	for us.  Defaults to not parsing the partition table at all.
+
+  decompose
+	Decompose file name characters.
+
+  nodecompose
+	Do not decompose file name characters.
+
+  force
+	Used to force write access to volumes that are marked as journalled
+	or locked.  Use at your own risk.
+
+  nls=cccc
+	Encoding to use when presenting file names.
+
+
+References
+==========
+
+kernel source:		<file:fs/hfsplus>
+
+Apple Technote 1150	http://developer.apple.com/technotes/tn/tn1150.html


             reply	other threads:[~2007-07-28  1:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-28  1:25 Wyatt Banks [this message]
2007-07-28  2:45 ` [PATCH] Documentation: document HFSPlus Randy Dunlap
2007-07-28 13:27   ` Wyatt Banks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46AA9B1B.10206@banksresearch.com \
    --to=wyatt@banksresearch.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox