Translate

Image of Modern Operating Systems (3rd Edition)
Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)
Image of Beginning Google Maps API 3
Image of Operating System Concepts

Systemd Snapshots

This post examines the current state of snapshots in systemd.

We don’t need no stinkin bootloaders!

I have been saying for a number of years now that bootloaders such as GRUB2, rEFit, Clover and others have no place in modern EFI-based Linux systems and that the only reason to use such a bootloader is if you are on older system where you wish to be able to boot into one of a number of operating systems. The Linux Foundation is now a member of Unified EFI Forum (about time!) and has now got full access to the resources of that forum. As a result, kernel developer Greg Kroah-Hartman has been working on the procedures for how

Convert Integer to Float in Korn Shell

There is no explicit mechanism, such as float(integer), in the Korn Shell (ksh93) to convert an integer to a float which in the Korn Shell is by default a long double. By default, dividing integer 1 by 3 produces 0: $ integer x=1 $ echo $(( x/3 )) 0 $ So how to you get the result, 0.3333 …, which you probably were expecting? You can convert x to floating point and then do the division by replacing the 3 with either 3. or, as I normally do, with 3.0: $ integer x=1 $ echo $(( x/3. )) 0.333333333333333333 $