https://github.com/sofisar/c_fat32-info-extraction_fall-2023
This program takes in a FAT32.img file and creates a shell, where several commands can be used to extract information about the FAT32 image.
https://github.com/sofisar/c_fat32-info-extraction_fall-2023
c fat32 fat32-extraction shell
Last synced: about 2 months ago
JSON representation
This program takes in a FAT32.img file and creates a shell, where several commands can be used to extract information about the FAT32 image.
- Host: GitHub
- URL: https://github.com/sofisar/c_fat32-info-extraction_fall-2023
- Owner: SofiSaR
- Created: 2024-09-29T05:14:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-29T20:15:01.000Z (almost 2 years ago)
- Last Synced: 2025-07-07T08:12:36.802Z (12 months ago)
- Topics: c, fat32, fat32-extraction, shell
- Language: C
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Extracting Info from FAT32 Image
[Our shell gives the ability to view a user's shell info, execute simple commands,
check if errors exist in commands, and run commands concurrently in the background. ]
## Group Members
- **Roderick Shaw**: rks21b@fsu.edu
- **Fernando Parra**: fap20g@fsu.edu
- **Sofia Sanchez**: srs20h@fsu.edu
## Division of Labor
## BEFORE
### Part 1: Mount the Image File
- **Responsibilities**: [Prompt the user with the image name and its path, parse the image file, then create the info and exit commands.]
- **Assigned to**: Roderick Shaw
### Part 2: Navigation
- **Responsibilities**: [Pluck out all the individual entries, find the path, then create the cd and ls commands.]
- **Assigned to**: Fernando Parra, Roderick Shaw, Sofia Sanchez
### Part 3: Create
- **Responsibilities**: N/A
- **Assigned to**: N/A
### Part 4: Read
- **Responsibilities**: [Create the open, close, lsof, lseek, and read commands.]
- **Assigned to**: Fernando Parra, Roderick Shaw, Sofia Sanchez
### Part 5: Update
- **Responsibilities**: N/A
- **Assigned to**: N/A
### Part 6: Delete
- **Responsibilities**: N/A
- **Assigned to**: N/A
## AFTER
### Part 1: Prompt
- **Responsibilities**: [Prompt the user with the image name and its path, parse the image file, then create the info and exit commands.]
- **Assigned to**: Roderick Shaw
### Part 2: Environment Variables
- **Responsibilities**: [Pluck out all the individual entries, find the path, then create the cd and ls commands.]
- **Assigned to**: Fernando Parra, Roderick Shaw, Sofia Sanchez
### Part 4: $PATH Search
- **Responsibilities**: [Create the open, close, lsof, lseek, and read commands.]
- **Assigned to**: Fernando Parra, Roderick Shaw, Sofia Sanchez
## File Listing
```
README.md
starter/
│
├── src/
│ |── main.c
│ |── bpb_reader.c
│ |── dir.c
│ |── cd.c
│ |── lexer.c
│ |── open.c
│ └── prompt.c
│
├── include/
│ |── lexer.h
│ |── dir.h
│ |── open.h
| └── bpb_reader.h
│
├── fat32.img
└── Makefile
```
## How to Compile & Execute
### Requirements
- **Compiler**: gcc -std=c99 nameOfFile -o whatYouWantTheExecutableToBeNamed
- **Dependencies**: None needed to be downloaded
### Compilation
```bash
make
```
This makes the whole executable for our Project 3.
### Execution
```bash
./bin/shell fat32.img
```
This will run the shell program and give you access to every command we provide for a FAT32 image file.
You cannot do "make run" because you won't be able to insert the image file.