[PATCH] Documentation: document HFSPlus

2007-07-28 Thread Wyatt Banks
Hi Randy,

> 
>> ---
>>
>> Patched against 2.6.22.1
> 
> FYI:  Patches should be against the latest -rc or -git (when
> available), but it probably doesn't matter in this case.
> 

Thanks for the tip and corrections.  Here's the latest.


From:   Wyatt Banks <[EMAIL PROTECTED]>

Documentation: document HFSPlus filesystem and its mount options.

Signed-off-by:  Wyatt Banks <[EMAIL PROTECTED]>

diff -uprN linux-2.6.23-rc1/Documentation/filesystems/hfsplus.txt 
linux-2.6.23-rc1-devel/Documentation/filesystems/hfsplus.txt
--- linux-2.6.23-rc1/Documentation/filesystems/hfsplus.txt  1969-12-31 
19:00:00.0 -0500
+++ linux-2.6.23-rc1-devel/Documentation/filesystems/hfsplus.txt
2007-07-28 09:14:46.0 -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=, type=
+   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 (in octal) 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.  This option 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=
+   Encoding to use when presenting file names.
+
+
+References
+==
+
+kernel source: 
+
+Apple Technote 1150http://developer.apple.com/technotes/tn/tn1150.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] Documentation: document HFSPlus

2007-07-28 Thread Wyatt Banks
Hi Randy,

 
 ---

 Patched against 2.6.22.1
 
 FYI:  Patches should be against the latest -rc or -git (when
 available), but it probably doesn't matter in this case.
 

Thanks for the tip and corrections.  Here's the latest.


From:   Wyatt Banks [EMAIL PROTECTED]

Documentation: document HFSPlus filesystem and its mount options.

Signed-off-by:  Wyatt Banks [EMAIL PROTECTED]

diff -uprN linux-2.6.23-rc1/Documentation/filesystems/hfsplus.txt 
linux-2.6.23-rc1-devel/Documentation/filesystems/hfsplus.txt
--- linux-2.6.23-rc1/Documentation/filesystems/hfsplus.txt  1969-12-31 
19:00:00.0 -0500
+++ linux-2.6.23-rc1-devel/Documentation/filesystems/hfsplus.txt
2007-07-28 09:14:46.0 -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=, type=
+   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 (in octal) 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.  This option 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=
+   Encoding to use when presenting file names.
+
+
+References
+==
+
+kernel source: file:fs/hfsplus
+
+Apple Technote 1150http://developer.apple.com/technotes/tn/tn1150.html
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Documentation: document HFSPlus

2007-07-27 Thread Randy Dunlap
On Fri, 27 Jul 2007 21:25:47 -0400 Wyatt Banks wrote:

> From: Wyatt Banks <[EMAIL PROTECTED]>
> 
> Documentation: document HFSPlus filesystem and its mount options.
> 
> Signed-off-by:Wyatt Banks <[EMAIL PROTECTED]>

Thanks.

> ---
> 
> Patched against 2.6.22.1

FYI:  Patches should be against the latest -rc or -git (when
available), but it probably doesn't matter in this case.


> 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.0 -0500
> +++ linux-2.6.22.1-devel/Documentation/filesystems/hfsplus.txt
> 2007-07-27 21:11:10.0 -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

32-bit

> +blocks, 255 character unicode filenames, and file sizes of 2^63 bytes.

   255-character

> +
> +
> +Mount options
> +=
> +
> +When mounting an HFSPlus filesystem, the following options are accepted:
> +
> +  creator=, type=
> + 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.

in octal

> +  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.

  CDROMs or CD-ROMs
and this sentence is confusing to me.  Please check it.

> + 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=
> + Encoding to use when presenting file names.
> +
> +
> +References
> +==
> +
> +kernel source:   
> +
> +Apple Technote 1150  http://developer.apple.com/technotes/tn/tn1150.html


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] Documentation: document HFSPlus

2007-07-27 Thread Wyatt Banks
From:   Wyatt Banks <[EMAIL PROTECTED]>

Documentation: document HFSPlus filesystem and its mount options.

Signed-off-by:  Wyatt Banks <[EMAIL PROTECTED]>

---

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.txt1969-12-31 
19:00:00.0 -0500
+++ linux-2.6.22.1-devel/Documentation/filesystems/hfsplus.txt  2007-07-27 
21:11:10.0 -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=, type=
+   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=
+   Encoding to use when presenting file names.
+
+
+References
+==
+
+kernel source: 
+
+Apple Technote 1150http://developer.apple.com/technotes/tn/tn1150.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] Documentation: document HFSPlus

2007-07-27 Thread Wyatt Banks
From:   Wyatt Banks [EMAIL PROTECTED]

Documentation: document HFSPlus filesystem and its mount options.

Signed-off-by:  Wyatt Banks [EMAIL PROTECTED]

---

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.txt1969-12-31 
19:00:00.0 -0500
+++ linux-2.6.22.1-devel/Documentation/filesystems/hfsplus.txt  2007-07-27 
21:11:10.0 -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=, type=
+   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=
+   Encoding to use when presenting file names.
+
+
+References
+==
+
+kernel source: file:fs/hfsplus
+
+Apple Technote 1150http://developer.apple.com/technotes/tn/tn1150.html

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Documentation: document HFSPlus

2007-07-27 Thread Randy Dunlap
On Fri, 27 Jul 2007 21:25:47 -0400 Wyatt Banks wrote:

 From: Wyatt Banks [EMAIL PROTECTED]
 
 Documentation: document HFSPlus filesystem and its mount options.
 
 Signed-off-by:Wyatt Banks [EMAIL PROTECTED]

Thanks.

 ---
 
 Patched against 2.6.22.1

FYI:  Patches should be against the latest -rc or -git (when
available), but it probably doesn't matter in this case.


 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.0 -0500
 +++ linux-2.6.22.1-devel/Documentation/filesystems/hfsplus.txt
 2007-07-27 21:11:10.0 -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

32-bit

 +blocks, 255 character unicode filenames, and file sizes of 2^63 bytes.

   255-character

 +
 +
 +Mount options
 +=
 +
 +When mounting an HFSPlus filesystem, the following options are accepted:
 +
 +  creator=, type=
 + 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.

in octal

 +  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.

  CDROMs or CD-ROMs
and this sentence is confusing to me.  Please check it.

 + 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=
 + Encoding to use when presenting file names.
 +
 +
 +References
 +==
 +
 +kernel source:   file:fs/hfsplus
 +
 +Apple Technote 1150  http://developer.apple.com/technotes/tn/tn1150.html


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/