Please answer the following questions because I am not understanding it
Description Investigate UNIX/Linux Files Systems by answering the questions below
Requirements
Save the recorded information in an ASCII file named “prog2.txt”. The file, “prog2.txt”, must be located in the directory: $HOME/itec400/homework
Make sure the permissions on “prog2.txt” are set to 705.
Solutions to problems below may require research on the web
Record the questions below and the answers in “prog2.txt”.
1. What is the purpose of the Linux Virtual File System (VFS)?
2. Describe the ext2 filesystem
3. What does is the difference between ext2 and ext3 file systems?
4. What is the purpose of the super-block?
5. What does the super-block contain (provide a list)?
6. What is the “magic number” used for in the super-block?
7. What does the inode contain (provide a list)?
8. The ls command collects its information from the inode of a file. Use the ls command to determine the following information about the file, /bin/zcat, on cs.franklin.edu: a. The inode of /bin/zcat b. The number of physical (hard) links to /bin/zcat
1. Virtual File System(VFS) is an interface between an operating system's kernel and a concrete file system. It is a kernal software layer which handles the system calls related to the file systems.
The main purpose of the Linux Virtual File Sytem is to allow client applications to access different types of file systems in a proper way.
2. ext2 filesystem(Second Extended File system )
ext2 is the file system for the linux kernal.It uses blocks as the basic unit of storage.
3.
| ext2 | ext3 |
| Stands for Second Extended File system . | Stands for Second Extended File system. |
| Ext2 does not have journaling feature. | Ext2 have journaling feature. |
| Overall ext2 file system size can be from 2 TB to 32 TB. | Overall ext3 file system size can be from 2 TB to 32 TB. |
| Maximum individual file size can be from 16 GB to 2 TB. | Maximum individual file size can be from 16 GB to 2 TB. |
| It was introduced in 1993. | It was introduced in 2001. |
journaling feature: Journaling filesystem keeps a log of the changes that are being made to the filesystem during disk writing .
4. Super block is a data structure in a filesystem .The purpose of the superblock is that it holds metadata about the filesystem, includes
5. Super block stores important information about the file system. It includes
6. Magic number is a sequence of bytes that is used in files of certain format, usually at a given position . Magic number is used to recognize what format a file is in.
7. The index node(inode)is a data structure that describes a file-system object such as a file or a directory. inode stores the attributes and disk block locations of the object's data.
inode includes:
8. cd /bin/zcat ( to change directory )
a) ls -i (To find inode number)
b) ls -l (To find number of hardlinks to a particular inode)
Please answer the following questions because I am not understanding it Description Investigate UNIX/Linux Files Systems...
Unix/Linux The purpose of this lab is to practice the commands to manage and organize files and directories: How would one go about this? Thanks. Task 1: Preliminaries: 1) If you have not already done so, create a directory called bin under your HOME directory. 2) If you have not already made a copy (using ftp) of the file called famous.dat from the Assignment#1, do that now. 3) Make bin the active/working directory. Task 2: Perform all of the following...
Unix questions, i need help on Hint: Commands to study to answer this question: predefined shell variables, and .profile script file, echo SHELL, HOME, PATH, MAIL and TERM are predefined shell variables. You can use the value of a shell variable in a shell command putting $ in front of it. For example, to display the value of the HOME directory of the user, specify $HOME in the echo command like echo $HOME. Do not give just the value of...
UNIX File Permission help, please answer the questions in the
green boxes. Thank you
Lab 03 File Permissions In this lab we will: learn about file permissions learn to create symbolic links and hard links Utilities that will be utilized in this Lab: us, cd, less, cat touch, chmod id umask, mkdir, In, echo and redirection Users and Groups Linux supports several methods of controlling access to files an directories. In this lab we are going to learn the traditional...
answer the following questions: 1)ACK scans and NULL scans work only on UNIX and LINUX systems.(SELECT ONE): a)true b)false 2)Cross-site scripting attacks attempt to bypass the browsers security checks to gain elevated access privileges to sensitive data belonging to another site(SELECT ONE): a)true b)false. 3)Denial of service attacks target the confidentiality and integrity of a system or network.(SELECT ONE): a)true b)false 4)the wireless access point provides a connection to the network or service(SELECT ONE): a)true b)false 5)blocking ICMP packets may...
This is a Linux class I need with Writeup questions
please.
Lab Writeup Answer the following questions in the comment box on Moodle: 1. What is the compiler option to enable level 2 optimization? 2. What is the compiler option to define a macro called CAPACITY with a value of 100? 3. Give the compiler line which will create an executable called 'lab1-18' from a source code file called 'lab1 18.cpp' using return-type warnings and pendantic- errors. 4. Look at...
For this Linux script, answer the questions following it: # Sort lines 7 - 26 of the file BEGIN { idx = 1; while (getline line<"makefile" ) { data[idx] = line; idx++; } for (idx2 = 7; idx2 <= 26; idx2++) { data2[idx2 - 6] = data[idx2]; } count = asort(data2); for (idx3 = 1; idx3 < 7; idx3++) { print data[idx3]; } for (idx3 = 1; idx3 <= 20; idx3++) { print data2[idx3]; } for (idx3 = 27; idx3...
do numbers 4-8
4. Given any directory, use the Is command to display: • all files and sub-directories starting with the letter "D" (note do not list anything in any sub-directory) • its immediate sub-directories (sub-directories only, and no other ordinary files) its immediate hidden sub-directories only - take a screenshot (#3-3) that clearly shows the command and the result. 5. Assume that the following files are in the working directory: $ ls intro notesb ref2 section 1 section3 section4b...
LINUX QUESTIONS (dont have to display output, I will be running these commands myself to check the output) Display the command(s) used to do the following: create an empty file called history by using just a redirection operator. Verify and show. Show/verify all results (i.e., all commands and their corresponding outputs). Wait 1 minute or more and then display the command(s) used to do the following: change the timestamp on the history file you just created. Verify/display the change. Show/verify...
CSCI 359 Systems Analysis and Design Written Assignment #1 Answer each of the following questions for 2 points. Submit all your answers in one file. Question 1: Propose a new meaningful project: give a name, definition and describe its scope as in a scope document (Your project proposals will be circulated in the class for creating new projects and forming project teams by the instructor). Question 2: What are the five phases of the SDLC? Question 3: What is the...