Subject: tracking appletalk conections
From: victor brito (vbrito@ctv.es)
Date: Sun Oct 15 2000 - 07:37:42 EDT
Hi all,
I have recently setup a linux box running netatalk to share CDROMs. All
apple clients use DDP to connect to this server. Everything runs as expected
except the following issue :
The CD Volumes can't be unmounted while some files remains opened by afpd
processes.
Of course, there is no workaround for this except stopping the afpd child
process that owns the file. Before doing so , I would like to retrieve some
information about the apple client associated to the afpd child process.
I have unsuccessfully tried the following ideas :
- using netstat to get at least all the client's appletalk addresses
(Does -Addp option really work ???)
- looking inside /proc/<<afpd id>>/fd for any socket file descriptor that
would lead me to a remote address.
There is in fact a symbolic link that points to a socket. I have tried to
know more about it thanks to its inode number. I expected to find relevant
information about this socket inside /proc/net/appletalk but the file lacks
from inode information.
I would also like to understand why remote_addr is always 0000:00:00 inside
/proc/net/appletalk while local_addr seems good.
Any idea would be appreciated.
Thanks
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:47 EST