Home | History | Annotate | Download | only in RELEASE-READMEs
      1 	SQUASHFS 4.0 - A squashed read-only filesystem for Linux
      2 
      3 	Copyright 2002-2009 Phillip Lougher <phillip (a] lougher.demon.co.uk>
      4 
      5 	Released under the GPL licence (version 2 or later).
      6 
      7 Welcome to Squashfs 4.0.  This is an initial tools only release to
      8 support users of the 2.6.29 kernel, following the mainlining of Squashfs
      9 earlier this year.
     10 
     11 Later releases will probably contain kernel patches supporting 4.0
     12 layouts for earlier kernels.
     13 
     14 New Mksquashfs options
     15 ----------------------
     16 
     17 Mksquashfs now supports pseudo files, these allow fake directories, character
     18 and block devices to be specified and added to the Squashfs filesystem being
     19 built, rather than requiring them to be present in the source directories.
     20 This, for example, allows device nodes to be added to the filesystem without
     21 requiring root access.
     22 
     23 Two options are supported, -p allows one pseudo file to be specified on the
     24 command line, and -pf allows a pseudo file to be specified containing a
     25 list of pseduo definitions, one per line.
     26 
     27 Pseudo device nodes are specified using 7 arguments
     28 
     29 Filename type mode uid gid major minor
     30 
     31 Where type is either
     32 	b - for block devices, and
     33 	c - for character devices
     34 
     35 mode is the octal mode specifier, similar to that expected by chmod.
     36 
     37 Uid and gid can be either specified as a decimal number, or by name.
     38 
     39 For example:
     40 
     41 /dev/chr_dev c 666 root root 100 1
     42 /dev/blk_dev b 444 0 0 200 200
     43 
     44 Directories are specified using 5 arguments
     45 
     46 Filename type mode uid gid
     47 
     48 Where type is d.
     49