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