实现基本的文件系统 [英] Implementing basic file system

查看:132
本文介绍了实现基本的文件系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为一个大学项目,我需要在一个文件中实现一个基本的文件系统。那么我怎么去做呢?我需要知道哪些事情?要求包括在后台进行守护进程。此外,使用这个系统的应用程序需要使用Unix域套接字来连接服务器。



文件系统应该具有以下功能:


  1. 列出存储的文件及其大小。
  2. 创建文件

  3. 允许更改文件

  4. 删除文件


解决方案

它可以帮助。
http://www.geocities.ws/ravikiran_uvs/articles/rkfs。 html



如果您想在用户空间创建一个文件系统,FUSE可以帮助您。
http://fuse.sourceforge.net/


As a college project I need to implement a basic file system from within a file. So how do I go about this? What are the things that I would need to know? The requirements include having a daemon process in the background. Also the applications that use this system need to connect to the server using a Unix domain socket

The file system should have the following capabilities:

  1. List files stored along with their sizes.
  2. Create files
  3. Allow changes to files
  4. Delete files

解决方案

Check this out if it can help. http://www.geocities.ws/ravikiran_uvs/articles/rkfs.html

If you want to create a file system in user space FUSE can help you. http://fuse.sourceforge.net/

这篇关于实现基本的文件系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆