ref: 22ba05cbfc93fb8fe75f8504e30e13db1423e1b0
parent: f69cacb4c76a07d489c9e6d81356573cf15e90b2
author: 9ferno <[email protected]>
date: Thu Dec 1 22:59:54 EST 2022
formatting change
--- a/docs/mafs.ms
+++ b/docs/mafs.ms
@@ -249,32 +249,32 @@
.sp
.nf
; tests/6.sizes
- Blocksize 512 Metadataunits 2 Maxdatablockunits 2048
- Dentryhdr size 184 Ddatasize 320
- Dentry size 512 Namelen 127
- Datahdr size 12 Ddataidssize 20 Maxdatablocksize 1048556
- Namelen 127 Ndblock 32 Niblock 5
- Nindperblock 61 Maxdatablocksize 1048556
- A Tind0 unit points to 1 data blocks (1048556 bytes)
- block points to 61 data blocks
- reli start 32 max 92
- max size 93*Maxdatablocksize = 97515708 bytes = 92 MiB
- A Tind1 unit points to 61 data blocks (63961916 bytes)
- block points to 3721 data blocks
- reli start 93 max 3813
- max size 3814*Maxdatablocksize = 3999192584 bytes = 3 GiB
- A Tind2 unit points to 3721 data blocks (3901676876 bytes)
- block points to 226981 data blocks
- reli start 3814 max 230794
- max size 230795*Maxdatablocksize = 242001482020 bytes = 225 GiB
- A Tind3 unit points to 226981 data blocks (238002289436 bytes)
- block points to 13845841 data blocks
- reli start 230795 max 14076635
- max size 14076636*Maxdatablocksize = 14760141137616 bytes = 13 TiB
- A Tind4 unit points to 13845841 data blocks (14518139655596 bytes)
- block points to 844596301 data blocks
- reli start 14076636 max 858672936
- max size 858672937*Maxdatablocksize = 900366660128972 bytes = 818 TiB
+ Blocksize 512 Metadataunits 2 Maxdatablockunits 2048
+ Dentryhdr size 184 Ddatasize 320
+ Dentry size 512 Namelen 127
+ Datahdr size 12 Ddataidssize 20 Maxdatablocksize 1048556
+ Namelen 127 Ndblock 32 Niblock 5
+ Nindperblock 61 Maxdatablocksize 1048556
+ A Tind0 unit points to 1 data blocks (1048556 bytes)
+ block points to 61 data blocks
+ reli start 32 max 92
+ max size 93*Maxdatablocksize = 97515708 bytes = 92 MiB
+ A Tind1 unit points to 61 data blocks (63961916 bytes)
+ block points to 3721 data blocks
+ reli start 93 max 3813
+ max size 3814*Maxdatablocksize = 3999192584 bytes = 3 GiB
+ A Tind2 unit points to 3721 data blocks (3901676876 bytes)
+ block points to 226981 data blocks
+ reli start 3814 max 230794
+ max size 230795*Maxdatablocksize = 242001482020 bytes = 225 GiB
+ A Tind3 unit points to 226981 data blocks (238002289436 bytes)
+ block points to 13845841 data blocks
+ reli start 230795 max 14076635
+ max size 14076636*Maxdatablocksize = 14760141137616 bytes = 13 TiB
+ A Tind4 unit points to 13845841 data blocks (14518139655596 bytes)
+ block points to 844596301 data blocks
+ reli start 14076636 max 858672936
+ max size 858672937*Maxdatablocksize = 900366660128972 bytes = 818 TiB
.fi
.ne 30
.sp
@@ -1165,8 +1165,7 @@
.sp
.nf
dd -if /dev/zero -of disk.file -bs 512 -count 4096;
- mount -c <{disk/mafs -s -r mafs_disk.file disk.file \\
- <[0=1]} /n/mafs_disk.file
+ mount -c <{disk/mafs -s -r mafs_disk.file disk.file <[0=1]} /n/mafs_disk.file
.fi
.sp
Starting mafs on a RAM file. The below commands create a ramfs filesystem to use as a disk.