1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Zip File Systemの提案

Last updated at Posted at 2021-05-08

Zip File Systemとは

ユーザーから見えるファイルは全てxmlをベースとしたrefwrapファイルとしそのファイルはAppleのエイリアスのような形で保持する。refwrapファイルの個数を調べるにあたりガベレージコレクタを利用し、全てのrefwrapファイルがなくなると、ハードリンクが削除される。

この形式のメリット

  1. シンボリックリンクと違い、ガベレージコレクタが管理しているため参照先の名前を変更してもリンクが切れることはまずない。
  2. ユーザーにとってはファイルとフォルダしかないため非常に分かりやすい
  3. 参照先を簡単に変更することが出来る。
  4. 場合によってリンク先を変えることが出来る。
  5. zfs対応のものだと移動コマンドで移動できるようになる。

デメリット

  1. JavaやC#といった言語で行うため自由度が低い
  2. 場合により遅くなることもある

このような形式

Files.zip{#`ファイル.refwrap`を押したためユーザーには`/ファイル`のように見えている
.winbld_refwrap#高速化のためのファイル
FileA.txt.refwrap
Youtube.refwrap
Dir.refwrap
}
FileA.txt.refwrap
<ref>
<link>
<where types="Posix">
~/zfs/FileA.txt
<else types="Windows">
C:\Users\ningyo_yurihime\Documents\FileA.txt
</where>
</link>
</ref>
Youtube.refwrap
<ref>
<browser>
org.mozilla.firefox
</browser>
<url>
https://www.youtube.com
</url>
</ref>
Dir.refwrap
<ref>
<zfslnk>
Dir.zip
</zfslnk>
</ref>
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?