~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/filesystems/hfs.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/filesystems/hfs.rst (Version linux-6.12-rc7) and /Documentation/filesystems/hfs.rst (Version linux-4.9.337)


  1 .. SPDX-License-Identifier: GPL-2.0               
  2                                                   
  3 ==================================                
  4 Macintosh HFS Filesystem for Linux                
  5 ==================================                
  6                                                   
  7                                                   
  8 .. Note:: This filesystem doesn't have a maint    
  9                                                   
 10                                                   
 11 HFS stands for ``Hierarchical File System`` an    
 12 by the Mac Plus and all later Macintosh models    
 13 models used MFS (``Macintosh File System``), w    
 14 MacOS 8.1 and newer support a filesystem calle    
 15 HFS but is extended in various areas.  Use the    
 16 to access such filesystems from Linux.            
 17                                                   
 18                                                   
 19 Mount options                                     
 20 =============                                     
 21                                                   
 22 When mounting an HFS filesystem, the following    
 23                                                   
 24   creator=cccc, type=cccc                         
 25         Specifies the creator/type values as s    
 26         used for creating new files.  Default     
 27                                                   
 28   uid=n, gid=n                                    
 29         Specifies the user/group that owns all    
 30         Default:  user/group id of the mountin    
 31                                                   
 32   dir_umask=n, file_umask=n, umask=n              
 33         Specifies the umask used for all files    
 34         files and directories.  Defaults to th    
 35                                                   
 36   session=n                                       
 37         Select the CDROM session to mount as H    
 38         leaving that decision to the CDROM dri    
 39         with anything but a CDROM as underlyin    
 40                                                   
 41   part=n                                          
 42         Select partition number n from the dev    
 43         sense for CDROMS because they can't be    
 44         For disk devices the generic partition    
 45         for us.  Defaults to not parsing the p    
 46                                                   
 47   quiet                                           
 48         Ignore invalid mount options instead o    
 49                                                   
 50                                                   
 51 Writing to HFS Filesystems                        
 52 ==========================                        
 53                                                   
 54 HFS is not a UNIX filesystem, thus it does not    
 55 expect:                                           
 56                                                   
 57  * You can't modify the set-uid, set-gid, stic    
 58    and gid of files.                              
 59  * You can't create hard- or symlinks, device     
 60                                                   
 61 HFS does on the other have the concepts of mul    
 62 non-standard forks are represented as hidden a    
 63 filesystems namespace which is kind of a cludg    
 64 the a little strange:                             
 65                                                   
 66  * You can't create, delete or rename resource    
 67    Finder's metadata.                             
 68  * They are however created (with default valu    
 69    along with the corresponding data fork or d    
 70  * Copying files to a different filesystem wil    
 71    that are essential for MacOS to work.          
 72                                                   
 73                                                   
 74 Creating HFS filesystems                          
 75 ========================                          
 76                                                   
 77 The hfsutils package from Robert Leslie contai    
 78 hformat that can be used to create HFS filesys    
 79 <https://www.mars.org/home/rob/proj/hfs/> for     
 80                                                   
 81                                                   
 82 Credits                                           
 83 =======                                           
 84                                                   
 85 The HFS drivers was written by Paul H. Hargrov    
 86 Roman Zippel (roman@ardistech.com) rewrote lar    
 87 in btree routines derived from Brad Boyer's hf    
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php