Using bsdtar to change an archive format
Classified in : Homepage, Debian, Command line, To remember
Streamable archive formats
Archive formats such as tar(5) and cpio(5) have the advantage of being streamable, so you can use them for transferring data with pipes and remote shells, without having to store the archive in the middle of the process, for instance:
$ cd public_html/blog $ rgrep -lF "archive" data/articles \ | pax -w \ | ssh newserver "mkdir public_html/blog ; cd public_html/blog ; pax -r"
Re: About choice
This is a reply to Josselin Mouette's blog article About choice, since his blog does not seem to accept comments¹.
Please note that this is not meant to be systemd-bashing, just a criticism base one a counter-example refutation of Josselin's implication that there is no use case better covered by SysV init: this is false, as there is at least one. And yes, there are probably many cases better covered by systemd, I am making no claims about that.
Trying systemd [ OK ] Switching back to SysV [ OK ]
Classified in : Homepage, Debian, Command line, Grumble
Since systemd is now the default init system under Debian Jessie, it got installed to my system and I had a chance to test it. The result is disappointing: it does not work well with cryptsetup, so I am switching back to SysV init and RC.
Read more Trying systemd [ OK ] Switching back to SysV [ OK ]
Nous sommes nazaréens
Vous avez peut-être pu voir le symbole ﻥ dans les messages ou les profils de certaines personnes. Il s'agit de la lettre arabe N, du mot « nazaréen », utilisé par les islamistes en Irak pour marquer les maisons de chrétiens afin d'organiser leur persécution. Dans des profils et messages, ce symbole est utilisé comme une marque de soutien à ces martyrs, victimes d'un génocide religieux et d'une déportation organisée par l'auto-proclamé État Islamique, qualifiées de crime contre l'humanité par le secrétaire général des Nations unies.
GNU/Linux graphic sessions: suspending your computer
Classified in : Homepage, Debian, Command line, To remember
Major desktop environments such as Xfce or KDE have a built-in computer suspend feature, but when you use a lighter alternative, things are a bit more complicated, because basically: only root can suspend the computer. There used to be a standard solution to that, using a D-Bus call to a running daemon upowerd. With recent updates, that solution first stopped working for obscure reasons, but it could still be configured back to be usable. With newer updates, it stopped working again, but this time it seems it is gone for good:
$ dbus-send --system --print-reply \ --dest='org.freedesktop.UPower' \ /org/freedesktop/UPower org.freedesktop.UPower.Suspend Error org.freedesktop.DBus.Error.UnknownMethod: Method "Suspend" with signature "" on interface "org.freedesktop.UPower" doesn't exist
Read more GNU/Linux graphic sessions: suspending your computer