Re: [GSoC] HAMMER compression and new unionfs

看板DFBSD_kernel作者時間15年前 (2011/04/02 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串14/14 (看更多)
:hm, seems difficult for me.. To have "whiteout database file" on the top :of writable directory, would be another implementation? Then how can I :avoid reading from/writing to the database file? : :Regards, :Naohiro The alternatives are expensive. For example, you could create a special <filename>.<magicnumber> file or something like that to represent the deleted file. Any directory entry or stat or open or other operation would then have to check whether the magic file exists or not when looking up <filename> successfully, and act as if <filename> didn't exist if found. I'm not sure I'd like a unionfs having to do that but it would be fairly easy to implement. Using whiteouts is a non-starter, they never worked well even when unionfs was being used with UFS because the only way to backup a UFS filesystem using whiteouts was to use dump/restore. -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #1DbcT1Vi (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #1DbcT1Vi (DFBSD_kernel)