File system needed in txt file
Budget: $10 – $30 USD
1-Create some files with "hard links" (using "ln") such that these files show the number 4 in the second column of "ls -l". Give the commands you ran.
2-Using the inode numbers shown by "ls -ial /bigdata/data/fma", type a text file with the likely contents of the "directory" file. Don't include extra information that's stored in the files' inodes. Don't create a real file, just show what the contents would be.
3-Explain the reason "ls -la /bigdata/data/fma" shows "5" for the "." directory, "58" for the ".." directory, "3" for fma_code, and "158" for fma_full.
4-Explain every step required to open the file /bigdata/data/fma/source.txt - specifically, the actual inode #'s involved, and what information is read from each inode and/or file.
5-Explain the advantages and disadvantages of small block sizes, such as 1024 bytes or 512 bytes.
6-Suppose our inodes have size 1024 bytes, and the address of each block takes 4 bytes. So an inode can store at most 256 block addresses. If our block sizes are 4096 bytes, then the inode can only record files of 1,048,576 bytes, i.e., one megabyte. This is too small! Describe one way that a filesystem can store huge files, GB in size. Don't quote the book or websites, write your own explanation.
2-Using the inode numbers shown by "ls -ial /bigdata/data/fma", type a text file with the likely contents of the "directory" file. Don't include extra information that's stored in the files' inodes. Don't create a real file, just show what the contents would be.
3-Explain the reason "ls -la /bigdata/data/fma" shows "5" for the "." directory, "58" for the ".." directory, "3" for fma_code, and "158" for fma_full.
4-Explain every step required to open the file /bigdata/data/fma/source.txt - specifically, the actual inode #'s involved, and what information is read from each inode and/or file.
5-Explain the advantages and disadvantages of small block sizes, such as 1024 bytes or 512 bytes.
6-Suppose our inodes have size 1024 bytes, and the address of each block takes 4 bytes. So an inode can store at most 256 block addresses. If our block sizes are 4096 bytes, then the inode can only record files of 1,048,576 bytes, i.e., one megabyte. This is too small! Describe one way that a filesystem can store huge files, GB in size. Don't quote the book or websites, write your own explanation.