From 343e8c6c772973f8a0de63f9dbc59d2ef512c78f Mon Sep 17 00:00:00 2001 From: Moritz Gmeiner Date: Sat, 2 Aug 2025 17:32:33 +0200 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- fat-bits/src/datetime.rs | 2 -- fat-bits/src/dir.rs | 3 ++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f9e1a4d..21eb279 100644 --- a/README.md +++ b/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) diff --git a/fat-bits/src/datetime.rs b/fat-bits/src/datetime.rs index 74f43ea..6c8e034 100644 --- a/fat-bits/src/datetime.rs +++ b/fat-bits/src/datetime.rs @@ -1,5 +1,3 @@ -use std::time::SystemTime; - use chrono::{DateTime, Datelike, Local, NaiveDate, NaiveTime, Timelike}; #[derive(Debug, Clone, Copy)] diff --git a/fat-bits/src/dir.rs b/fat-bits/src/dir.rs index 85d1cc6..e7d5965 100644 --- a/fat-bits/src/dir.rs +++ b/fat-bits/src/dir.rs @@ -160,7 +160,8 @@ impl DirEntry { }) } - pub fn create(name: &str, attr: Attr) -> anyhow::Result { + pub fn create(_name: &str, attr: Attr) -> anyhow::Result { + // TODO let now: DateTime = SystemTime::now().into(); let create_date = Date::from_datetime(now)?;