标题: IMAP-based 档案系统之设计与实作
Design and Implementation of an IMAP-based File System
作者: 张相唐
Chang, Hsiang-Tang
张瑞川
Chang, Ruei-Chuan
资讯学院资讯学程
关键字: PamiFS 档案系统;PamiFS File System
公开日期: 2008
摘要: 现今邮件服务提供越来越大的邮件储存空间,再加上其支援更有效率与便于管理的邮件存取协定,使得我们可以在伺服器上规划分类所拥有的电子信件,并能在不同地方使用任何装置,轻松存取相同帐号的信件。
本论文提出我们研制之PamiFS档案系统。PamiFS档案系统是将具有IMAP(Internet Message Access Protocol)连线功能的邮件伺服器,设计挂载到主机的档案系统上,使得邮件伺服器所提供的信件储存空间,变成个人的网路档案硬碟,提供私人档案储存与群体档案分享之运用。
PamiFS档案系统是在使用者空间运作的程式。在与Linux的档案系统挂载上,是藉由向FUSE系统注册反向呼叫函数,再经由FUSE系统,透过虚拟档案系统系统(VFS),挂载到Linux作业系统中。透过这些反向呼叫函数,来实行PamiFS档案系统的操作行为。
PamiFS档案系统,在档案的存取方面,使用IMAP协定,实现从邮件伺服器下载与查询的动作,使用SMTP协定,实现对邮件伺服器上传的动作。在系统验证方面,我们利用Mail2000电子信箱为例,实行PamiFS档案系统的操作与测试。实验结果显示,在离峰时间上操作时间有较稳定的反应时间。在尖峰的时间操作,因为受到电子邮件伺服器忙于处理信件之影响,档案读写效率反应较差。
Mail storage spaces provided by e-email service providers become increasingly large. In addition, more efficient e-mail mail protocols are supported, allowing users to manage their e-mail messages more efficiently and easier.
The main goal of this study is to design a file system, which is called the PamiFS. PamiFS stores the user files in the e-mail storage spaces and provides a usual file system interface to the users. With PamiFS, an e-mail storage can be translated into a local storage for storing user files. Currently, PamiFS supports IMAP (Internet Message Access Protocol) based e-mail servers. Users can store their files into their own PamiFS file systems or share those files with others.
PamiFS is a FUSE-based user space file system. Currently, PamiFS runs on Linux. PamiFS uses the query function of the IMAP protocol to filter information or download attached files, and it uses the SMTP protocol for uploading files. The functionality of PamiFS was verified on the Mail2000 e-mail system. A more stable performance was observed when the email traffic is not high (i.e., off-peak time). When the email traffic is high (i.e., peak time), a degraded performance and a larger performance variance were observed.
URI: http://140.113.39.130/cdrfb3/record/nctu/#GT009067582
http://hdl.handle.net/11536/73751
显示于类别:Thesis