Linux Archive

Accessing Network Attached Storage from Linux

Network attached storage allows using TCP/IP network to backup files. This enables multiple servers in an IDC to share the same storage for backup at once, which minimizes overhead by centrally managing hard disks. The protocol used with NAS is a file-based protocol such as NFS or Microsoft's Common Internet File System. Both of them allow storing backups using UNIX and Linux systems. NAS are not just common in IDC or offices anymore, you can use them for file sharing and backup at home. You can purchase 200+GB NAS for less than $200. However, many new Linux or UNIX sys admin or home users find it difficult to use NAS for backup and sharing purpose. This tutorial covers how to access NAS from Linux using various methods.

Interview: Linus Torvalds

"Torvalds works full time overseeing the development of Linux which he created back in 1991 while at university in Helsinki. Usually media shy, the 36-year-old Finn invited Kristie Lu Stout and the Global Office team into his home for an insight into life at the helm of the operating system that is giving Microsoft some serious headaches."

A Linux Distribution for an Old Laptop

"I am faced with a challenge: I need to find a Linux distribution that is both small enough, efficient enough and easy enough to maintain for my laptop. Realizing that all Linux distributions are not created equal, I did my research and was able to narrow my list to a handful of distributions that may be suitable for my needs and my laptop. Throughout the course of this article, I am going to test each of these distributions on my laptop and discuss my experiences. I will attempt to install and evaluate each distribution for a period of a couple of days. Based on my findings, I will select the distribution that best suits my needs."

Out the Window

"Can the ordinary computer user ditch Windows for Linux? The question came up when I decided that my six-year-old version of Microsoft's Windows operating system had to be replaced. My Sony Vaio computer was still too young for the trash heap. And I was hesitant to spend $200 on the Windows XP operating system, especially with Microsoft planning to launch XP's replacement, Vista, in January. So, I decided to give the operating systems that run on Linux technology a try."

Book Review: User Mode Linux

User Mode Linux is a virtualization technology which can be used to create Linux virtual machines within a Linux host. What is unique about UML is that unlike other virtualization technologies, the UML patch has been already incorporated into the official Linux kernel source. This is a review of a book on User Mode Linux authored by Jeff Dike. The fact that Jeff is the creator of UML lends some credibility to this book which pursues a niche area.

Enable SELinux from Scratch

"SELinux, the US National Security Agency's implementation of mandatory access control, is the most prominent new security subsystem in Linux. It comes installed by default in Fedora and Red Hat Enterprise Linux and is available in easy-to-install packages in other distributions. This article shows you how to convert a non-SELinux system by hand in order to expose details about how SELinux is integrated into a system."

Setting Processor Affinity for a Certain Task or Process

"When you are using SMP you might want to override the kernel’s process scheduling and bind a certain process to a specific CPU(s). CPU affinity is nothing but a scheduler property that “bonds” a process to a given set of CPUs on the SMP system. With the help of Linux scheduler utilities you can set up processor affinity for a certain task or process." On a related note, here's a short guide on kernel compilation.

Morton: Linux Kernel Getting Buggier

Andrew Morton, the lead maintainer of the Linux production kernel, is worried that an increasing number of defects are appearing in the 2.6 kernel and is considering drastic action to resolve it. "I believe the 2.6 kernel is slowly getting buggier. It seems we're adding bugs at a higher rate than we're fixing them," Morton said, in a talk at the LinuxTag conference in Wiesbaden, Germany, on Friday.

Review: Pepper Pad

MadPengiun has a review of the PepperPad, a Linux-powered competitor to Microsoft's Origami concept, and concludes: "Overall, the Pepper Pad is a sleek ultra mobile PC in a nice form factor with a great touchscreen for navigating, launching applications, watching video and surfing the web. With the advent of AJAX web-based applications for calendaring, editing video, word processing, creating spreadsheets, and more, you can have some good fun with the Pepper Pad and get a wee bit of work done as well. The Pepper Pad won't replace a Sony PSP-type game platform, or a PDA, or a notebook, but it will do some things that those devices won't do."

strace: a Powerful Troubleshooting Tool for Linux Users

"Many times I have come across seemingly hopeless situations where a program when compiled and installed in GNU/Linux just fails to run. In such situations after I have tried every trick in the book like searching on the net and posting questions to Linux forums, and still failed to resolve the problem, I turn to the last resort which is trace the output of the misbehaving program. Tracing the output of a program throws up a lot of data which is not usually available when the program is run normally. And in many instances, sifting through this volume of data has proved fruitful in pin pointing the cause of error."

Introducing LKM Programming

"This is the first part of a series of articles regarding Linux Kernel Modules. In this series we will see some examples of module programming and some techniques and general rules that we must keep in mind when we work in kernel mode. This is not an in-depth series of articles, but and introduction for those people who want to know more about kernel internals. A background in C programming will be helpful."