Linux / Unix : Disk usage and identifying biggest files

When working as a systems administrator, you’ll always end up having to solve a file system full error in a hurry. Here are a few commands and hints to help you get out of it quickly on a UNIX like system.
Continue reading Linux / Unix : Disk usage and identifying biggest files

Gentoo : Xorg X Server 3D hardware acceleration

You need to have read/write permissions to /dev/dri/cardX to benefit from 3D hardware acceleration in Xorg X Server. On a Gentoo linux machine, this file has the following permissions set by default :

ls -l /dev/dri/card0 
crw-rw---- 1 root video 226, 0 2009-10-14 16:12 /dev/dri/card0

Continue reading Gentoo : Xorg X Server 3D hardware acceleration

HAL + Xorg X server : Using HAL to set hardware specific configurations for Xorg Xserver

The Xorg X Server can now rely on HAL to get information about the hardware the machine is running. This allows the X Server to auto-configure most of its components such as keyboard / mouse / screen / graphic adapter. But there is still room for tweaking it if needed.

This post explains how to configure extra properties for a keyboard at the HAL level, so that X Server will correctly auto-configure it for you.

Continue reading HAL + Xorg X server : Using HAL to set hardware specific configurations for Xorg Xserver

Linux : SATA hot plug / unplug

I have 3 hard disks in SATA-to-eSATA external enclosure which I occasionally need to plug to perform backups and to unplug when done. I found it annoying to have to restart the whole computer at every turn, especially when SATA is supposed to bring hotplug abilities. If you mainboard / SATA chipset and disks support hot plugging and unplugging, you can do this by following those instructions.
Continue reading Linux : SATA hot plug / unplug