tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Q: Comments in bootptab?
@ 1997-09-10 19:35 Sheryl A. Campbell
  0 siblings, 0 replies; only message in thread
From: Sheryl A. Campbell @ 1997-09-10 19:35 UTC (permalink / raw)
  To: tru64-unix-managers

Hi gurus!

I'd like to insert comments in my bootp table (well, I actually already
have ...) and not have it built into hosts.db. Is there a way to do this?

To be a little more specific, here's my situation:

We are using our bootp table not just to serve bootp (because many of our
hosts are served by DHCP), but for documentation as well. There are many
commented-out lines (i.e., start with a #) for valid hosts with no hardware
address (such as ports on a hub) which I don't mind having built into
hosts.db with make_hosts. These translate just fine into the format
required (host, IN, A, IP address). However, I also want to be able to
include comments within the table to distinguish why a certain machine is
in a certain segment, for instance. When make_hosts builds this entry, I
end up with records such as the following:

following               IN      A               The
entry                   IN      CNAME           following
is                      IN      CNAME           following
for                     IN      CNAME           following
a                       IN      CNAME           following
student                 IN      CNAME           following
working                 IN      CNAME           following

This makes perfect sense when you consider the rest of the entry. However,
I just want the comment line ignored. This is what I am looking for. Anyone
have any ideas?

Thanks so much,

	Sheryl


% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
%  Sheryl A. Campbell                     Internet: campbell@lvc.edu  %
%  Assistant Director                        Voice:    (717)867-6060  %
%  Administrative Computing                    FAX:    (717)867-6019  %
%                                                                     %
%            L E B A N O N    V A L L E Y    C O L L E G E            %
%                                                                     %
% DEC Unix 3.2d-1, Coll: Live 13.11, Dev 14.4, Ben: Live 4.3, Dev 4.3 %
%                                                                     %
%                    Visit my Personal Web Page at                    %
%       http://www.geocities.com/Heartland/Plains/4407/index.html     %
%                                                                     %
%                Never underestimate the power of a smile!            %
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-09-10 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-10 19:35 Q: Comments in bootptab? Sheryl A. Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox