Find Jobs
Hire Freelancers

A Portable File System using Contiguous Allocation Method for GCP

$10-30 USD

Đã đóng
Đã đăng vào hơn 6 năm trước

$10-30 USD

Thanh toán khi bàn giao
Implement a Portable File System (PFS) with Contiguous Allocation Method, which can perform “Allocate a file”, and “Move files from the Windows file system into your file.” You should have your own directory structure, allocation table, etc. inside your file. Move files back out of your file to the Windows file system or Linux/Unix file system. When your program is running it should somehow accept the following commands: open PFSfile Allocate a new 10 KByte "PFS" file if it does not already exist. If it does exist, begin using it for further commands. put myfile Copy the Windows (or Unix/Linux) file "myfile" intoyour PFS file .get myfile Extract file "myfile" from your PFS file and copy it to the current Windows (or Unix/Linux) [login to view URL] myfile Delete "myfile" from your PFS file. dir List the files in your PFS file. putr myfile "Remarks" Append remarks to the directory entry for myfile in your PFS file. kill PFSfile Delete the PFSfile from the Windows file system. quit Exit [login to view URL] can provide those commands through command line interface ONLY (No GUI will be accepted). Limits: [login to view URL] is NOT a memory based file system, but based on the existing file system on your OS, such as Windows or Linux/Unix. 2.Command-Line Interface (CLI) Only, i.e., [login to view URL] (in Windows) or shell interface (in Unix/Linux). When PFS is executed, it will show the prompt as:C:\> [login to view URL] PFS> open pfs [login to view URL] are a maximum of 20 bytes. And, file extension is optional like Unix/Linux. [login to view URL] directory need handle only Name, Size, Time and Date. For example, PFS> dir [login to view URL] 128 bytes 12:30 PM September 2 [login to view URL] 512 bytes 11:00 AM November 11 [login to view URL] 1k bytes 08:52 PM September 1 . . . [login to view URL] the original PFS file fills up then you should create a new PFS "volume" with the same name but a different suffix - e.g., pfs.1, pfs.2, etc., each the same size as the first "volume". [login to view URL] file system should use Contiguous Allocation for an allocation scheme where “disk block” size is 256 bytes. [login to view URL] your files system, each file has one File Control Block (FCB) that includes file name, file size, create time, create date, starting block ID, ending block ID and more (if needed). [login to view URL] file system should consist of two main parts, i) Directory Structure and ii) Data Blocks. Therefore, you need to define the directory data structure that includes File Control Block (FCB) for each file. [login to view URL] addition, your files system should be able to manage free blocks. You can use any techniques that you learned in the classroom, such as bit map (vector) or linked free space management. Free block management should be part of directory structure. You should handle unusual conditions such as trying to put a file into the PFS when a file with that name is already there, file too large to fit into one "volume", etc.
Mã dự án: 15728592

Về dự án

3 đề xuất
Dự án từ xa
Hoạt động 6 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc

Về khách hàng

Cờ của UNITED STATES
Bridgeport, United States
5,0
1
Phương thức thanh toán đã xác thực
Thành viên từ thg 12 12, 2014

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.