From 7950185d3e0919c22c1481e2cb09e178f99e5f7c Mon Sep 17 00:00:00 2001 From: Moritz Gmeiner Date: Sat, 2 Aug 2025 17:32:33 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9e1a4d..78bec5d 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 image 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) From d59f0adc8dced570ca087b416506d0eab73132c3 Mon Sep 17 00:00:00 2001 From: Moritz Gmeiner Date: Sat, 2 Aug 2025 17:32:33 +0200 Subject: [PATCH 2/3] 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)?; From 5230ee018a166b692b12d545bf874b3054f38554 Mon Sep 17 00:00:00 2001 From: Moritz Gmeiner Date: Sat, 2 Aug 2025 17:32:33 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- fat-bits/src/datetime.rs | 2 -- fat-bits/src/dir.rs | 3 ++- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 78bec5d..21eb279 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # FUSE implementation for the FAT file system -End-to-end implementation of a FAT driver, with the goal of being able to mount disk image with complete read-write support. +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. 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)?;