Articles in the Bookmarks category

  1. Decompressing sparse files

    When decompressing a sparse file with gzip, the file is not sparsed anymore. In order to decompress it as sparse, we can use dd:

    ~# zcat <sparsefile.bin.gz> | dd conv=sparse of=<sparsefile.bin>
    

    Note that this is not specific to gzip. Also note that some utilities such as xz …

    Tagged as : gzip
  2. Force NetworkManager to ignore an interface

    Continuing my Bookmarks serie, here is how to tell NetworkManager to not manage an interface, thank you very much:

    ~# sudo cat >> /etc/NetworkManager/NetworkManager.conf << EOF
    plugins+=keyfile
    [keyfile]
    unmanaged-devices=interface-name:IFNAME
    EOF
    

    Where IFNAME is the interface name. For example:

    unmanaged-devices=interface-name:eth0
    

    Will prevent NetworkManager to manage eth0 …

    Tagged as : NetworkManager

Page 1 / 1