Compare commits
2 commits
d59f0adc8d
...
5230ee018a
| Author | SHA1 | Date | |
|---|---|---|---|
| 5230ee018a | |||
| 7950185d3e |
3 changed files with 11 additions and 4 deletions
10
README.md
10
README.md
|
|
@ -1 +1,9 @@
|
|||
specification: [https://academy.cba.mit.edu/classes/networking_communications/SD/FAT.pdf](https://academy.cba.mit.edu/classes/networking_communications/SD/FAT.pdf)
|
||||
# FUSE implementation for the FAT file system
|
||||
|
||||
End-to-end implementation of a FAT driver, with the goal of being able to mount disk images with complete read-write support.
|
||||
|
||||
Uses (fuser)[https://docs.rs/fuser/latest/fuser/] as the underlying FUSE library.
|
||||
|
||||
## Specification
|
||||
|
||||
[https://academy.cba.mit.edu/classes/networking_communications/SD/FAT.pdf](https://academy.cba.mit.edu/classes/networking_communications/SD/FAT.pdf)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
use std::time::SystemTime;
|
||||
|
||||
use chrono::{DateTime, Datelike, Local, NaiveDate, NaiveTime, Timelike};
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
|
|
|
|||
|
|
@ -160,7 +160,8 @@ impl DirEntry {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn create(name: &str, attr: Attr) -> anyhow::Result<Self> {
|
||||
pub fn create(_name: &str, attr: Attr) -> anyhow::Result<Self> {
|
||||
// TODO
|
||||
let now: DateTime<Local> = SystemTime::now().into();
|
||||
|
||||
let create_date = Date::from_datetime(now)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue