[alt.sys.sun] moving /tftpboot - HELP

ramsey@sundance.llnl.gov (Susanne Ramsey) (02/09/91)

Greetings all - 

I am wrestling with the following problem and wonder if you can help..  
I have a sun 4/330 and a new employee has brought with them a NCD xterminal.  
They want to be able to boot the Xterm off the 4/330.  All the files necessary 
for this to happen are supposed to be located in /tftpboot in various 
subdirectories.With all the fonts and such my / partition gets too full, I am 
not currently in a position to repartition my disk and so I was wondering if I 
could just change the location of /tftpboot.. 

I think all I have to do is modify /etc/inetd.conf so that in.tftpd -s is the 
new location for tftpboot directory..  My concern is that I currently do not 
have any diskless clients, all are dataless, if I get diskless clients, will 
they still be able to boot with tftpboot in a place other than /. Also is there 
anything else I need to watch out for..??? Like file/directory protections.  If 
I move everything and try a tftp get to the directory, will that prove that 
/tftpboot has been successfully moved..  By the way I plan on moving /tftpboot
to /local/nodename/tftpboot where I have room for all the files..  

In other words, what am I getting myself into if I move it... Will I be screwed
in the future..?? Please be gentle with me as I`ve only been doing this for a 
few months...

Thanks for all your great help- 

Susanne Ramsey

  .^.^.  Susanne Barbera-Ramsey	     Lawrence Livermore National Laboratory
 . o o . 7000 East Avenue L-630	  |  (415) 423-9530
 .>>v<<. Livermore Ca 94550	  |  ramsey@sundance.llnl.gov
 _mm.mm_____________________________________________________________________

--
  .^.^.  Susanne Barbera-Ramsey	     Lawrence Livermore National Laboratory
 . o o . 7000 East Avenue L-630	  |  (415) 423-9530
 .>>v<<. Livermore Ca 94550	  |  ramsey@sundance.llnl.gov
 _mm.mm_____________________________________________________________________

thurlow@convex.com (Robert Thurlow) (02/10/91)

In <ramsey.666056384@sundance> ramsey@sundance.llnl.gov (Susanne Ramsey) asks:
[Will the world break if I move the stuff in /tftpboot?]

From my experience, I think you'll be fine, as long as you check your
work with tftp.  I'd suggest just replacing /tftpboot with a symbolic
link to where the disk space is; as long as tftpd can get there, you
should be fine.  One caveat: starting tftpd with -s is a problem
for SPARC workstations, which decided to change the rules and ask for
"/tftpboot/XXXXXXXX.SUN4C"; because tftpd does a chroot(2), it can't
lookup that path.  The workaround is ridiculously simple - just add
another symlink in the tftpd directory with tftpboot -> . and you'll
be fine.  The fix is very simple with respect to the time it can take
to find this for the first time :-)

Rob T
--
Rob Thurlow, thurlow@convex.com
An employee and not a spokesman for Convex Computer Corp., Dallas, TX

samlb@pioneer.arc.nasa.gov (Sam Bassett RCS) (02/10/91)

	My fading memory tells me that you can move 'tftpboot' without
any problem, but I don't remember the details.
	An even better solution is to buy the ROMS from NCD that let the
X Terminal operate WITHOUT having to use tftpboot over the network.  They
aren't all that expensive -- $200 or so.

Sam'l Bassett, Sterling Software @ NASA Ames Research Center, 
Moffett Field CA 94035 Work: (415) 604-4792;  Home: (415) 969-2644
samlb@well.sf.ca.us                     samlb@ames.arc.nasa.gov 
<Disclaimer> := 'Sterling doesn't _have_ opinions -- much less NASA!'