>> Hi James. >> I have a question. >> If we found the method to notify nfs when unplugging device, > Hi James. > What's that? I need to check more... > >> Can nfsd >> flush only entry of usb mount ? > > Hm, I don't think there's anything that does that now. But I think if > you look it up and set the cache item's expiry_time to the current unix > time in seconds, that'd be at least a start. > > Come to think of it you should actually be able to do that from > userspace if you want: just write a negative cache entry for that > export. > > However you do this there may still be some brief delay while some > thread finishes processing an rpc using the entry; I don't know what to > do about that. It's unlikely in your case (where clients have unmounted > first). Okay, I will look for more. Thanks for your reply. > > --b. > -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html