看板 DFBSD_kernel 關於我們 聯絡資訊
: :On 04/01/11 04:46, Naohiro Aota wrote: : :> - Implement userland tool to set compression to a file (hammer set-compress<file> ?) : :nit: better to add a chflags(1) option chflags flags are a bit annoying to add but there is already infrastructure in place from the swapcache work for the 'cache' flag that could be reviewed to determine how best to add a new flag. The 'cache' flag only had to be set in a higher level directory and would get inherited by the run-time system recursively. A compression flag could be made to work the same way. i.e. so you would only have to set it on /usr/src and not on every single file inside /usr/src. -Matt Matthew Dillon <dillon@backplane.com>