Em 15/12/16 11:12, Hongyi Zhao escreveu:
> On Thu, 15 Dec 2016 10:52:05 +0100, Gert Doering wrote:
>
>> A *tar* file is a container, that contains files plus header
>> information.
> I also tried the bz2 format just for testing, see the following commands:
>
> $ diff vpngate_1.0.126.222_tcp_995.ovpn_JP <( bzcat
> vpngate_1.0.126.222_tcp_995.ovpn_JP.bz2 )
> $
>
     I'm really curious to know your reasons for using a compressed 
config file, knowing that that will not save you space at all, as even 
the bigger files, with all certs inline, will hardly get bigger than 
15-20k. You may save 1 or 2 storage inodes, depending on the filesystem 
type, but that shouldn't do any real difference at all !!!

     Anyway, in your case, i would write an init script that 
decompresses the config file to the RAM disk /dev/shm and call OpenVPN 
from the decompressed file. Being stored on RAM, one single 15-20k file 
will make no difference at all on your system. I never did that, but 
maybe you can even erase the file after calling OpenVPN on it.


-- 


        Atenciosamente / Sincerily,
        Leonardo Rodrigues
        Solutti Tecnologia
        http://www.solutti.com.br

        Minha armadilha de SPAM, NÃO mandem email
        gertru...@solutti.com.br
        My SPAMTRAP, do not email it




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to