tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Sheryl A. Campbell" <campbell () lvc ! edu>
To: tru64-unix-managers
Subject: Q: Comments in bootptab?
Date: Wed, 10 Sep 1997 19:35:37 +0000	[thread overview]
Message-ID: <96078617110321.tru64-unix-managers.marc@archive.invalid> (raw)

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!            %
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %

                 reply	other threads:[~1997-09-10 19:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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