Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.19 /Documentation/filesystems/cramfs.txt

Filename:/Documentation/filesystems/cramfs.txt
Lines Added:21
Lines Deleted:13
Also changed in: (Previous) 2.4.19-rc5  2.4.19-rc4  2.4.19-rc3  2.4.19-rc2  2.4.19-rc1  2.4.19-pre10 
(Following)

Location
[  2.4.19
  [  Documentation
    [  filesystems
       o  cramfs.txt

Patch

diff -urN linux-2.4.18/Documentation/filesystems/cramfs.txt linux-2.4.19/Documentation/filesystems/cramfs.txt
--- linux-2.4.18/Documentation/filesystems/cramfs.txt   Thu Jul 19 16:14:53 2001
+++ linux-2.4.19/Documentation/filesystems/cramfs.txt   Fri Aug  2 17:39:42 2002
@@ -10,7 +10,7 @@
 
 You can't write to a cramfs filesystem (making it compressible and
 compact also makes it _very_ hard to update on-the-fly), so you have to
-create the disk image with the "mkcramfs" utility in scripts/cramfs.
+create the disk image with the "mkcramfs" utility.
 
 
 Usage Notes
@@ -19,9 +19,7 @@
 File sizes are limited to less than 16MB.
 
 Maximum filesystem size is a little over 256MB.  (The last file on the
-filesystem is allowed to extend past 256MB.)  (Comments in mkcramfs.c
-suggest that ROM sizes may be limited to 64MB, though that's not a
-limitation in cramfs code.)
+filesystem is allowed to extend past 256MB.)
 
 Only the low 8 bits of gid are stored.  The current version of
 mkcramfs simply truncates to 8 bits, which is a potential security
@@ -48,18 +46,28 @@
 
 
 For /usr/share/magic
-------------------
+--------------------
 
-0   long   0x28cd3d45   Linux cramfs
->4   long   x      size %d
->8   long   x      flags 0x%x
->12   long   x      future 0x%x
+0   ulelong   0x28cd3d45   Linux cramfs offset 0
+>4   ulelong   x      size %d
+>8   ulelong   x      flags 0x%x
+>12   ulelong   x      future 0x%x
 >16   string   >\0      signature "%.16s"
->32   long   x      fsid.crc 0x%x
->36   long   x      fsid.edition %d
->40   long   x      fsid.blocks %d
->44   long   x      fsid.files %d
+>32   ulelong   x      fsid.crc 0x%x
+>36   ulelong   x      fsid.edition %d
+>40   ulelong   x      fsid.blocks %d
+>44   ulelong   x      fsid.files %d
 >48   string   >\0      name "%.16s"
+512   ulelong   0x28cd3d45   Linux cramfs offset 512
+>516   ulelong   x      size %d
+>520   ulelong   x      flags 0x%x
+>524   ulelong   x      future 0x%x
+>528   string   >\0      signature "%.16s"
+>544   ulelong   x      fsid.crc 0x%x
+>548   ulelong   x      fsid.edition %d
+>552   ulelong   x      fsid.blocks %d
+>556   ulelong   x      fsid.files %d
+>560   string   >\0      name "%.16s"
 
 
 Hacker Notes


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.