1.1 --- a/NOTES.txt Mon Mar 25 22:07:15 2019 +0100
1.2 +++ b/NOTES.txt Mon Mar 25 22:07:31 2019 +0100
1.3 @@ -10,12 +10,12 @@
1.4
1.5 == Block Groups ==
1.6
1.7 -Superblock
1.8 -Filesystem descriptors
1.9 -Block bitmap
1.10 -Inode bitmap
1.11 -Inode table
1.12 -Data blocks
1.13 + * Superblock
1.14 + * Filesystem descriptors
1.15 + * Block bitmap
1.16 + * Inode bitmap
1.17 + * Inode table
1.18 + * Data blocks
1.19
1.20 == Superblocks ==
1.21
1.22 @@ -42,14 +42,16 @@
1.23
1.24 == Implementation in Linux ==
1.25
1.26 -See: Documentation/filesystems/ext2.txt
1.27 -See: http://e2fsprogs.sourceforge.net/ext2intro.html
1.28 -See: https://www.kernel.org/doc/html/latest/filesystems/ext4/
1.29 +See:
1.30 +
1.31 + * Documentation/filesystems/ext2.txt
1.32 + * http://e2fsprogs.sourceforge.net/ext2intro.html
1.33 + * https://www.kernel.org/doc/html/latest/filesystems/ext4/
1.34
1.35 == Data Structures ==
1.36
1.37 -Linux kernel: include/linux/ext2_fs.h
1.38 -libext2fs: /usr/include/ext2fs/ext2_fs.h
1.39 + Linux kernel: include/linux/ext2_fs.h
1.40 + libext2fs: /usr/include/ext2fs/ext2_fs.h
1.41
1.42 == libext2fs ==
1.43
1.44 @@ -69,9 +71,11 @@
1.45 Some useful code for figuring out how to use the library can be found in the
1.46 debugfs program and in the FUSE server implementation.
1.47
1.48 -See: debugfs/debugfs.c
1.49 -See: misc/create_inode.c
1.50 -See: misc/fuse2fs.c
1.51 +See:
1.52 +
1.53 + * debugfs/debugfs.c
1.54 + * misc/create_inode.c
1.55 + * misc/fuse2fs.c
1.56
1.57 Finding files in a directory involves lookup functionality.
1.58
1.59 @@ -83,5 +87,7 @@
1.60
1.61 To make a file for use as a filesystem:
1.62
1.63 +{{{
1.64 dd if=/dev/zero of=$IMAGE bs=1024 count=1 seek=$SIZE_IN_KB
1.65 /sbin/mkfs.ext2 $IMAGE
1.66 +}}}