Category Archives: System

Locale in Windows

2 Comments

The other day I was experimenting with PostgreSQL under Windows and I was very confused setting a locale in the command line when initializing the database cluster. If I didn’t specify a locale in the –locale option of initdb, then the locale that was used was: Greek_Greece.1253. Well, I needed to initialize the cluster with…

Continue reading

How to change the Timezone

Usually, the only time I make a change to the timezone setting of the operating system is during the installation time. But it may happen that a change to that setting is necessary. There are several ways to do this, but, as usual, there is only one Right Way™ to set the timezone info in…

Continue reading

Manually Prepare the RPM Building Environment

About three years ago I had posted a general guide on how to create RPM packages. According to that guide the RPM building environment was prepared using the handy utility rpmdev-setuptree (part of the rpmdevtools package in Fedora). This post describes the manual preparation of the RPM building environment.

Always use a block device label or its UUID in fstab

If there are still references to device nodes for block devices, as they are set by the kernel, for example /dev/hda, in /etc/fstab, you should seriously consider replacing them with the volume’s label or its UUID. Even if you use an LVM setup, the /boot partition shouldn’t be referenced by its device node.