Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there any way to check which folders are shared by TFTP ?

share|improve this question
up vote 1 down vote accepted

Usually the daemon runs with the shared directory as an argument, try

ps auxww | grep tftpd

if it's running as a detached process, or

less /etc/xinetd.d/*tftp*

if it's running under xinetd. You're looking for something like in.tftpd /tftpboot, which would indicate that /tftpboot was the shared directory.

If it's got no argument it'll be using the compiled-in defaults, in that case check the man page or run strings on the binary and take a shrewd guess. If you do the latter, do check the guess by putting a file with a random name in that directory, and try retrieving it with tftp.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.