Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
• Study and enhance the File System Simulator - See the FS_sim slide deck• New features- blockinfo - a new application that displays the information about the blocks in the file system- ctime - implement ctime (creation time) in the inode • Test and analysis- Examine the file system simulator• Feature 1: blockinfo - This is a new application for the FS simulator. Its function is to print out the number of data blocks and the number of free blocks in the file system- You need to write a simple design specification where you describe• how you find all the data blocks• how you find all the free blocks- There are more than one solutions and you can use any solution- Usage examplejava blockinfo The number of data blocks: 18 The number of free blocks: 5• Feature 2: ctime - The ctime is a field in an inode. It is used by the file system to record the creation time of a file (or a directory)- Detailed design• Modify the creat method in the Kernel class. Need to record the creation time when this method is called• Modify ls to display the creation time. Name your ls program myls - Usage examplejava myls inode_numberr file_size ctime file_name • Test the FS simulator- Execute the following commands1. java mkfs filesys.dat 256 40 2. java mkdir /termproj 3. echo "This is file1, a small file for testing" | java tee /termproj/file1.txt4. echo "This is a file2, a big file for testing. The cs506 term project is not difficult at all if I work hard on it. I like to work on a project with my friend. I am working hard to complete the project on time with high quality." | java tee /termproj/file2.txt5. java myls /termproj 6. java myls /termproj/file2 7. java blockinfo filesys.dat8. java mydump filesys.dat• Deliverables- Project report1. blockinfo design specification2. Test report • screen shot of your testing• answers to the questions, including the dump- Software - only your code1. Source file (blockinfo.java, myls.java, kernel.java)2. Executable file (blockinfo.class, myls.class, kernel.class)
- Answer the following questions1. What are the block number and address range of the superblock? Explain the content of the superblock.2. What are the block number and address range of the free list block? Explain the content of the free list block.3. What are the block number range and the address range of the inode blcoks? How many inodes are used? List all the inodes that are used and their corresponding directories and files. Explain the content of all the inodes.4. What are the block number and the address range of the data block of directory termproj? Explain the content of this data block.5. What are the block number and address range of the data block of file file1?6. What are the block number range and the address range of the data blocks of file file2?
consider the file name cars.text each line in the file contains information about a car ( year,company,manufacture,model name,type) 1-read the file 2-add each car which is represen
Hi anybody there
Each time an object is started in Java it goes into the area of memory named as heap. The primitive variables like double and int are allocated in the stack, if they are local inst
Calculate the kilometer within an hour? class Car { String licensePlate = ""; // e.g. "New York 543 A23" double speed = 0.0; // in kilometers per hour doubl
LookupDispatchAction is useful if the method name in the Action is not driven by its name in the front end, but by the Locale independent key into the resource bundle. As the key i
How many bits are used to show Unicode, ASCII, UTF-16, and UTF-8 characters? Unicode requires 16 bits and ASCII require 7 bits although the ASCII character set uses only 7 bits
The File class encapsulates the files and directories of the local file system. The RandomAccessFile class gives the methods required to directly access data contained in any part
Determine how many arguments were passed using length property In java, array knows their size by using the length property. By using, length property we can determine how many
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b
What is Documentation for the class library Sun gives a large amount of documentation for the classes, interface's and exceptions in the class library. If you've installed the
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd