Entries tagged “#linux”

Sun 09 November 2014

Usage of encrypted file containers

Lots of modern systems (Linux, BSDs) support encryption of block devices, or file containers, in a similar way that TrueCrypt does it. It is basically (more or less) a built-in TrueCrypt that gives you the possibility to build a secure medium and store your sensitive files inside. Device-mapper There is … read more
Fri 12 September 2014

Sending ATA commands on Linux

It appears that any user can send an ATA message on Linux. The function that allows this is called ioctl, by using message identifier 0x31F (HDIO_DRIVE_CMD). It is possible to send, i.e. ATA IDENTIFY message by using 0xEC message. This command should return a device identification information. Other status … read more
Mon 08 September 2014

Fixing ugly Java fonts

Today I got an e-mail from Jetbrains about the release of their new Integrated Development Environment called CLion ("SeaLion"). Being a curious creature I decided to check it out by using the Early Access Program which is open to public. After running the IDE, my biggest problem was the font … read more
Thu 11 July 2013

Friendly GDB

The gdb debugger is a very old application, used widely in the past, when a computer was not yet a part of every house's inventory. Contrary to what many people say, it's very usable even today, mainly because of its extensibility, which lets the user to adapt it to his … read more
Sat 19 January 2013

Accessing libvirt's virtual machines from a script

Everyone who has ever used the libvirt library probably knows that it's impossible to use it from scripts without previous authorization in the polkit daemon. This complicates things when the user would like to create a script to control some virtual machines. The script that is probably configured to be … read more
Fri 02 November 2012

Compiling glibmm on Windows

Here is a short list of steps which need to be taken to successfully install the glibmm library, using gcc 4.7.1, in Windows environment. Use-case scenario for this install would be to use a virtual machine, not a physical one. In the case anyone would choose to use … read more
Sat 16 June 2012

The Linux binfmt subsystem

The binfmt subsystem is a special mechanism which allows the kernel to extend its ability to recognize different executable binary formats. It's invoked by the kernel when the user wants to execute a file with the executable (+x) flag, and its purpose is to help the kernel to understand the … read more