Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Aug 1998 09:55:54 +0200
From:      Antonio Nati <A.Nati@cisco.it>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        Freebsd-questions@FreeBSD.ORG
Subject:   Re: system ("makemap") error...
Message-ID:  <3.0.1.32.19980807095554.006cbadc@posta.cisco.it>
In-Reply-To: <Pine.BSF.4.00.9808061424410.28098-100000@resnet.uoregon.ed u>
References:  <35C98180.41C67EA6@cisco.it>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 
>> The line
>> 	system ("/usr/sbin/makemap hash /etc/virtusertable <
>> /etc/virtusertable")
>> returns error 18688 (no /etc/virtusertable.db created),
>> while 
>
>That looks wierd.  You're modifying the file you're piping in. Shouldn't
>that be
>
>makemap hash /etc/virtusertable.db < /etc/virtusertable
>
>or something like that??
>

The command is correct because makemap appends automatically .db as
extension of the file-to-be-created (the extension depends on the type
declared; hash is a Berkeley .db file).

Tonino

------------------------------------------------------------------------
      Antonio Nati                        Cisco Consulting S.r.l.
    A.Nati@cisco.it                    Divisione reti e telematica
 tel. +39 06 72990.419               Via G. Carmignani, 2 - 00173 Roma
  fax. +39 06 7230660                       http://www.cisco.it 
------------------------------------------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.19980807095554.006cbadc>