|
From: Remy B. <rem...@po...> - 2006-06-12 11:00:50
|
Miklos Szeredi wrote: > Sorry, I'm a bit late in the discussion, and it's not perfectly clear > to me how this feature would be used. Is it part of an automount > feature? Yes, it's one of the applications. I have two uses for it: - I am currently using autofs to automount NFS shares from a server, and I have trouble with permissions, because my user is in more than 15 groups (this is an NFS-specific limitation). So I wanted to replace NFS by sshfs. I found the afuse filesystem, based on fuse, that provides automount capability. But it unfortunately lacks automatic unmount on inactivity. - encfs already provides this feature, to unmount an encrypted filesystem if it isn't used (for security purposes). This avoids having to remember unmounting it e.g. before leaving my laptop. Even if I don't use afuse for automounting (due to its overhead), and instead mount my server using sshfs by hand, I'd like it to unmount automatically if the mount is idle for a few minutes. I could have extended afuse to implement the unmount-on-idle feature, but I figured it might be an interesting feature for other filesystems based on fuse, and I was able to implement it a bit more elegantly in the library itself. Those were my reasons for implementing the feature in the library. Csaba's positive feedback comforted me in pursuing this solution. But it remains your decision to include it or not. I am open to discussions about doing things differently, and to rework the patch if need be. -- Remy Remove underscore and suffix in reply address for a timely response. |