{"id":21832838,"url":"https://github.com/winstonliyt/secfsystem","last_synced_at":"2026-05-16T12:33:36.038Z","repository":{"id":240847576,"uuid":"782517714","full_name":"WinstonLiyt/SecFSystem","owner":"WinstonLiyt","description":"UNIX-like secondary file system for Course 10043601 Project","archived":false,"fork":false,"pushed_at":"2024-06-16T04:10:39.000Z","size":149,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T13:54:32.382Z","etag":null,"topics":["c","filesystem","operating-system","unix"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WinstonLiyt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-05T13:01:56.000Z","updated_at":"2025-01-16T02:03:37.000Z","dependencies_parsed_at":"2025-01-26T09:28:00.583Z","dependency_job_id":null,"html_url":"https://github.com/WinstonLiyt/SecFSystem","commit_stats":null,"previous_names":["winstonliyt/secfsystem"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WinstonLiyt/SecFSystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinstonLiyt%2FSecFSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinstonLiyt%2FSecFSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinstonLiyt%2FSecFSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinstonLiyt%2FSecFSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WinstonLiyt","download_url":"https://codeload.github.com/WinstonLiyt/SecFSystem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinstonLiyt%2FSecFSystem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33102869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","filesystem","operating-system","unix"],"created_at":"2024-11-27T19:26:19.996Z","updated_at":"2026-05-16T12:33:36.021Z","avatar_url":"https://github.com/WinstonLiyt.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## UNIX-like secondary file system  :yum:\n### Experiment Name:\nConstructing a UNIX-like secondary file system to implement basic file operations.\n\n\n### Experiment Content:\nUse a regular large file (e.g., c:\\myDisk.img, referred to as the primary file) to simulate a UNIX V6++ disk. The information stored on the disk is organized in blocks, with each block being 512 bytes.\n\n\n### Experiment Requirements:\n1. Implement basic read and write operations on the logical disk.\n2. Define the structure of a secondary file system on this logical disk, including:\n    - **SuperBlock and Inode Area Location and Size**\n    - **Inode Nodes**\n        - Data Structure Definition: Pay attention to size, one disk block contains an integer number of Inode nodes.\n        - Organization of the Inode Area: How to quickly locate a given Inode node number.\n        - Index Structure: Composition of multi-level index structure, generation, and retrieval process of the index structure.\n    - **SuperBlock**\n        - Data Structure Definition\n        - Design and implementation of algorithms for the allocation and recycling of Inode nodes.\n        - Design and implementation of algorithms for the allocation and recycling of file data areas.\n3. Directory Structure of the File System:\n    - Structure of Directory Files\n    - Design and implementation of directory retrieval algorithms\n    - Design and implementation of directory structure addition, deletion, and modification\n4. File Open Structure:\n    - Design of File Open Structure: In-memory Inode node, File structure, Process open file table?\n    - Allocation and recycling of in-memory Inode nodes\n    - File open process\n    - File close process\n5. File Operation Interfaces:\n    - **fformat**: Format the file volume\n    - **ls**: Display all file names in the current path\n    - **cd**: Change path (enter the next level or go back to the previous level)\n    - **mkdir**: Create a directory\n    - **fcreat**: Create a new file\n    - **fopen**: Open a file\n    - **fclose**: Close a file\n    - **fread**: Read a file\n    - **fwrite**: Write a file\n    - **flseek**: Position the file read/write pointer\n    - **fdelete**: Delete a file\n\n  \n### Experiment Environment:\n- **Operating System**: Windows 10\n- **Compiler**: Microsoft Visual Studio Community 2022\n- **Plugin**: GitHub Copilot v1.177.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinstonliyt%2Fsecfsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinstonliyt%2Fsecfsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinstonliyt%2Fsecfsystem/lists"}