From cfd358170d53e86954658a2b82354596d7b1f0f5 Mon Sep 17 00:00:00 2001 From: Alan473 <1109658180@qq.com> Date: Wed, 15 Nov 2023 13:19:23 +0800 Subject: [PATCH 1/4] init --- README.en.md | 32 -------------------------------- README.md | 33 --------------------------------- 2 files changed, 65 deletions(-) diff --git a/README.en.md b/README.en.md index 5c3f499..f0264f2 100644 --- a/README.en.md +++ b/README.en.md @@ -2,35 +2,3 @@ #### Description 2023.11操作系统分析与设计实习——磁盘文件系统 - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md index 23387b7..ade3cd1 100644 --- a/README.md +++ b/README.md @@ -2,36 +2,3 @@ #### 介绍 2023.11操作系统分析与设计实习——磁盘文件系统 - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) -- Gitee From 30799a3b5d63f5e8bf648bc3e880ede83e4af659 Mon Sep 17 00:00:00 2001 From: Alan473 <1109658180@qq.com> Date: Wed, 15 Nov 2023 19:29:05 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E5=88=A0=E9=99=A4.idea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/.gitignore | 8 --- .idea/compiler.xml | 16 ----- .idea/encodings.xml | 9 --- .idea/jarRepositories.xml | 20 ------ .idea/misc.xml | 14 ----- .idea/modules.xml | 8 --- .idea/os-disk-file.iml | 16 ----- .idea/uiDesigner.xml | 124 -------------------------------------- .idea/vcs.xml | 6 -- disk-file.iml | 9 --- 10 files changed, 230 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/compiler.xml delete mode 100644 .idea/encodings.xml delete mode 100644 .idea/jarRepositories.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/os-disk-file.iml delete mode 100644 .idea/uiDesigner.xml delete mode 100644 .idea/vcs.xml delete mode 100644 disk-file.iml diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index 7743034..0000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index dc0e86f..0000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml deleted file mode 100644 index 712ab9d..0000000 --- a/.idea/jarRepositories.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 4b661a5..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 4f1771b..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/os-disk-file.iml b/.idea/os-disk-file.iml deleted file mode 100644 index ed18401..0000000 --- a/.idea/os-disk-file.iml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml deleted file mode 100644 index e96534f..0000000 --- a/.idea/uiDesigner.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/disk-file.iml b/disk-file.iml deleted file mode 100644 index 9404dc5..0000000 --- a/disk-file.iml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file -- Gitee From 2e957a96e6e2cff47aa49dc2c8f707760bb22d8b Mon Sep 17 00:00:00 2001 From: Alan473 <1109658180@qq.com> Date: Wed, 15 Nov 2023 19:34:10 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BA=86=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/src/Data/FAT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/src/Data/FAT.java b/main/src/Data/FAT.java index 3981d57..38dc478 100644 --- a/main/src/Data/FAT.java +++ b/main/src/Data/FAT.java @@ -4,8 +4,8 @@ import java.util.List; public class FAT { - private DiskBlock[] diskBlocks; - private File root; - private Path rootPath; + private DiskBlock[] diskBlocks; //磁盘块 + private File root; //根文件 + private Path rootPath; //根路径 private List paths;//存储所有的path } -- Gitee From e627bcebf6081ffdc3108971ef4e8ddbcd5b9b90 Mon Sep 17 00:00:00 2001 From: Alan473 <1109658180@qq.com> Date: Fri, 17 Nov 2023 17:51:48 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E9=99=90=E5=AE=9A=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/src/Main/Main.java | 1 + 1 file changed, 1 insertion(+) diff --git a/main/src/Main/Main.java b/main/src/Main/Main.java index 04832c1..6c7f800 100644 --- a/main/src/Main/Main.java +++ b/main/src/Main/Main.java @@ -28,6 +28,7 @@ public class Main extends Application { stage.setTitle("模拟磁盘文件系统"); // stage.initStyle(StageStyle.TRANSPARENT); stage.getIcons().add(new Image(getClass().getClassLoader().getResource("icon/操作系统.png").toExternalForm())); + stage.setResizable(false); // stage.setFullScreen(true); stage.setScene(scene); /** -- Gitee