Re: [Netnice-kernels] Linux NNFS API nearing completion
Status: Alpha
Brought to you by:
taost6
From: Scott B. <sco...@ve...> - 2004-10-28 19:57:32
|
On Thu, 28 Oct 2004, Takashi Okumura wrote: > thanks. it is interesting that output of pwd is a bit differs from FreeBSD'pwd. > in this case, FreeBSD will show > > $ cd /nnfs/procs/1911/sockets/3/ > $ ls > lo eth1 > $ cd lo > $ pwd > /nnfs/network/lo/vif1 > > anyway. your operation (follow_link?) also looks fine. this is okay. thanks. > Yes, I will try and fix this. I think I need to change the way I use the Linux vfs internal function vfs_follow_link. > > > - Directory: /nnfs/network/lo > > > > > > mkdir of VIF dir: OK > > > rmdir of VIF dir: NG? > > > directory not empty error. > > > > > this operation suggests that we can remove the files under vif1, right? > which does not make sense to me, since we cannot remove such properties > from a VIF. on FreeBSD, we implemented that rmdir can simply remove > the entire VIF directory. exception is that, if the VIF has a child VIF. > is is hard to implement that way on linux?? > This makes sense. I will try and fix rmdir to work this way. Thanks, Scott Brumbaugh |