<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My jottings on GNU/Linux</title>
	<atom:link href="http://gnutolinux.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gnutolinux.wordpress.com</link>
	<description>GNU/LINUX</description>
	<lastBuildDate>Tue, 18 Jan 2011 15:28:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gnutolinux.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My jottings on GNU/Linux</title>
		<link>http://gnutolinux.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gnutolinux.wordpress.com/osd.xml" title="My jottings on GNU/Linux" />
	<atom:link rel='hub' href='http://gnutolinux.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Debian 5.0(Lenny)Released.</title>
		<link>http://gnutolinux.wordpress.com/2009/02/17/debian-50lennyreleased/</link>
		<comments>http://gnutolinux.wordpress.com/2009/02/17/debian-50lennyreleased/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 16:52:05 +0000</pubDate>
		<dc:creator>jestinjoy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://gnutolinux.wordpress.com/?p=16</guid>
		<description><![CDATA[After several months of delays(after 22 months of constant development), the next new stable release of Debian Lenny was announced. This release features many changes not least of which is a newer kernel and supporting tools allowing for improved hardware support. Debian Etch was released in April 2007, which means this release is just short [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gnutolinux.wordpress.com&amp;blog=5837530&amp;post=16&amp;subd=gnutolinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<address> After several months of delays(after 22 months of constant development), the next new stable release of Debian Lenny was announced. This release features many changes not least of which is a newer kernel and supporting tools allowing for improved hardware support. </address>
<p>Debian Etch was released in April 2007, which means this release is just short of two years in the making.</p>
<p><a title="Screenshots" href="http://screenshots.debian.net/" target="_blank">CLICK HERE</a> to view the screen shots</p>
<p><a href="http://distrowatch.com/table.php?distribution=debian" target="_blank">CLICK HERE</a> for more download link and more news</p>
<p><strong>What to expect</strong></p>
<blockquote><p>Almost every piece of software in the repository has been updated to a newer version, and many new packages have been added.</p>
<p>The following are some of the highlights:</p>
<ul>
<li>Kernel 2.6.26</li>
<li>GNOME 2.22</li>
<li>Emacs 22.</li>
<li>X.Org 7.3</li>
<li>OpenOffice.org 2.4</li>
<li>Iceweasel/Firefox 3</li>
<li>MySQL 5.051a</li>
<li>GCC 4.3</li>
<li>PHP 5.2.6</li>
</ul>
<p>The Debian Wiki has a list of notable changes in Lenny, and we&#8217;re almost certainly going to cover some of the new additions upon this site (such as the useful iotop package which was recently added to the Lenny distribution, and requires the use of a &#8220;modern&#8221; kernel.)</p>
<p>Debian GNU/Linux 5.0 <q>Lenny</q> adds support for Marvell&#8217;s Orion platform which is used in many storage devices. Supported storage devices include the QNAP Turbo Station series, HP Media Vault mv2120, and Buffalo Kurobox Pro. Additionally, <q>Lenny</q> now supports several Netbooks, in particular the Eee PC by Asus. <q>Lenny</q> also contains the build tools for Emdebian which allow Debian source packages to be cross-built and shrunk to suit embedded ARM systems.</p>
<p>Debian GNU/Linux 5.0 <q>Lenny</q> includes the new ARM EABI port, <q>armel</q>. This new port provides a more efficient use of both modern and future ARM processors. As a result, the old ARM port (arm) has now been deprecated.</p>
<p>This release includes numerous updated software packages, such as the K Desktop Environment 3.5.10 (KDE), an updated version of the GNOME desktop environment 2.22.2, the Xfce 4.4.2 desktop environment, LXDE 0.3.2.1, the GNUstep desktop 7.3, X.Org 7.3, OpenOffice.org 2.4.1, GIMP 2.4.7, Iceweasel 3.0.6 (an unbranded version of Mozilla Firefox), Icedove 2.0.0.19 (an unbranded version of Mozilla Thunderbird), PostgreSQL 8.3.6, MySQL 5.0.51a, GNU Compiler Collection 4.3.2, Linux kernel version 2.6.26, Apache 2.2.9, Samba 3.2.5, Python 2.5.2 and 2.4.6, Perl 5.10.0, PHP 5.2.6, Asterisk 1.4.21.2, Emacs 22, Inkscape 0.46, Nagios 3.06, Xen Hypervisor 3.2.1 (dom0 as well as domU support), OpenJDK 6b11, and more than 23,000 other ready-to-use software packages (built from over 12,000 source packages).</p>
<p>With the integration of X.Org 7.3 the X server autoconfigures itself with most hardware. Newly introduced packages allow the full support of NTFS filesystems and the use of most multimedia keys out of the box. Support for Adobe® Flash® format files is available via the swfdec or Gnash plugins. Overall improvements for notebooks have been introduced, such as out of the box support of CPU frequency scaling. For leisure time several new games have been added, including puzzle games as well as first-person shooters. Also notable is the introduction of <q>goplay</q>, a graphical games browser offering filters, search, screenshots and descriptions for games in Debian.</p>
<p>The availability and updates of OpenJDK, GNU Java compiler, GNU Java bytecode interpreter, Classpath and other free versions of Sun&#8217;s Java technology, into Debian GNU/Linux 5.0 allow us to ship Java-based applications in Debian&#8217;s <q>main</q> repository.</p>
<p>Further improvements in system security include the installation of available security updates before the first reboot by the Debian Installer, the reduction of setuid root binaries and open ports in the standard installation, and the use of GCC hardening features in the builds of several security-critical packages. Various applications have specific improvements, too. PHP for example is now built with the Suhosin hardening patch.</p>
<p>For non-native English speaking users the package management systems now support translated package descriptions and will automatically show the description of a package in the native language of the user, if available.</p>
<p>Debian GNU/Linux can be installed from various installation media such as DVDs, CDs, USB sticks and floppies, or from the network. GNOME is the default desktop environment and is contained on the first CD. Other desktop environments — KDE, Xfce, or LXDE — can be installed through two new alternative CD images. Again available with Debian GNU/Linux 5.0 are multi-arch CDs and DVDs supporting installation of multiple architectures from a single disc; and this release adds Blu-ray Discs, allowing the archive for an entire architecture to be shipped on a single BD.</p>
<p>In addition to the regular installation media, Debian GNU/Linux can now also be directly used without prior installation. The special images used, known as live images, are available for CDs, USB sticks, and netboot setups. Initially, these are provided for the amd64 and i386 architectures only.</p>
<p>The installation process for Debian GNU/Linux 5.0 has been improved in many ways: among many other improvements, support for installation from more than one CD or DVD has been restored, firmware required by some devices can be loaded by using removable media, and installations via Braille display are supported. The installer boot process has also received much attention: a graphical menu can be used to choose front-ends and desktop environments, and to select expert or rescue mode. The installation system for Debian GNU/Linux has now been translated to 63 languages.</p>
<p>Debian GNU/Linux can be downloaded right now via bittorrent (the recommended way), jigdo or HTTP; see <a href="http://www.debian.org/CD/">Debian GNU/Linux on CDs</a> for further information. It will soon be available on DVD, CD-ROM and Blu-ray Disc from numerous <a href="http://www.debian.org/CD/vendors">vendors</a>, too.</p>
<p>Upgrades to Debian GNU/Linux 5.0 from the previous release, Debian GNU/Linux 4.0 (codenamed <q>Etch</q>) are automatically handled by the aptitude package management tool for most configurations, and to a certain degree also by the apt-get package management tool. As always, Debian GNU/Linux systems can be upgraded painlessly, in place, without any forced downtime, but it is strongly recommended to read the <a href="http://www.debian.org/releases/lenny/releasenotes">release notes</a> for possible issues, and for detailed instructions on installing and upgrading. The release notes will be further improved and translated to additional languages in the weeks after the release.</p>
<h2>Dedication</h2>
<p>Debian GNU/Linux 5.0 <q>Lenny</q> is dedicated to Thiemo Seufer, a Debian Developer who died on December 26th, 2008 in a tragic car accident. Thiemo was involved in Debian in many ways. He has maintained several packages and was the main supporter of the Debian port to the MIPS architectures. He was also a member of our kernel team, as well as a member of the Debian Installer team. His contributions reached far beyond the Debian project. He also worked on the MIPS port of the Linux kernel, the MIPS emulation of qemu, and far too many smaller projects to be named here.</p>
<p>Thiemo&#8217;s work, commitment, broad technical knowledge and ability to share this with others will be missed. Thiemo&#8217;s contributions will not be forgotten. The high standards of his work make it hard to pick up.</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gnutolinux.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gnutolinux.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gnutolinux.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gnutolinux.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gnutolinux.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gnutolinux.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gnutolinux.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gnutolinux.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gnutolinux.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gnutolinux.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gnutolinux.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gnutolinux.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gnutolinux.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gnutolinux.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gnutolinux.wordpress.com&amp;blog=5837530&amp;post=16&amp;subd=gnutolinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gnutolinux.wordpress.com/2009/02/17/debian-50lennyreleased/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e8e5b837c6b3ef5e0482c2203d112645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jestinjoy</media:title>
		</media:content>
	</item>
		<item>
		<title>Super fast Ext4 filesystem arrives in Ubuntu 9.04‏</title>
		<link>http://gnutolinux.wordpress.com/2009/01/16/super-fast-ext4-filesystem-arrives-in-ubuntu-904%e2%80%8f/</link>
		<comments>http://gnutolinux.wordpress.com/2009/01/16/super-fast-ext4-filesystem-arrives-in-ubuntu-904%e2%80%8f/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 14:44:24 +0000</pubDate>
		<dc:creator>jestinjoy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://gnutolinux.wordpress.com/?p=14</guid>
		<description><![CDATA[The next version of Ubuntu(Ubuntu 9.04) is codenamed Jaunty Jackalope.Ubuntu releases are issued every six months and include the latest versions of popular open source software applications. Ext4, the next generation of Linux's Ext3 filesystem, is now available in the latest Ubuntu 9.04 installer images. Ext4 was officially declared stable in version 2.6.28 of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gnutolinux.wordpress.com&amp;blog=5837530&amp;post=14&amp;subd=gnutolinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>The next version of Ubuntu(Ubuntu 9.04) is codenamed Jaunty
Jackalope.Ubuntu releases are issued every six months and include the
latest versions of popular open source software applications.

<strong>Ext4, the next generation of Linux's Ext3 filesystem, is now available
in the latest Ubuntu 9.04 installer images. Ext4 was officially
declared stable in version 2.6.28 of the Linux kernel, which was
released last month.</strong>

Ext4 is designed to provide better performance and increase
reliability. It also increases the maximum filesystem size to one
exabyte and reduces the amount of time that is required to perform a
fsck operation.

Linux hardware site Phoronix has released benchmarks based on
extensive Ext4 performance testing that was conducted with a solid-
state drive. The most impressive results can be seen in the IOzone
test, which measures write performance for a large file. In this test,
Ext4 annihilated the competition and significantly outperformed XFS,
JFS, ReiserFS, and Ext3. The new filesystem also outpaced its peers in
the Intel IOMeter File Server Access Pattern Test.

Mark Shuttleworth on Ubuntu Release 9.04:
<a href="https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-September/000481.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-September/000481.html</a>

Softpedia reports that Jaunty boots in about 21.4 Sec :
<a href="http://news.softpedia.com/news/Ubuntu-9-04-Boots-in-21-4-Seconds-101885.shtml" target="_blank">http://news.softpedia.com/news/Ubuntu-9-04-Boots-in-21-4-Seconds-101885.shtml</a></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gnutolinux.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gnutolinux.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gnutolinux.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gnutolinux.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gnutolinux.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gnutolinux.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gnutolinux.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gnutolinux.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gnutolinux.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gnutolinux.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gnutolinux.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gnutolinux.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gnutolinux.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gnutolinux.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gnutolinux.wordpress.com&amp;blog=5837530&amp;post=14&amp;subd=gnutolinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gnutolinux.wordpress.com/2009/01/16/super-fast-ext4-filesystem-arrives-in-ubuntu-904%e2%80%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e8e5b837c6b3ef5e0482c2203d112645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jestinjoy</media:title>
		</media:content>
	</item>
		<item>
		<title>How to edit fstab.</title>
		<link>http://gnutolinux.wordpress.com/2009/01/03/how-to-edit-fstab/</link>
		<comments>http://gnutolinux.wordpress.com/2009/01/03/how-to-edit-fstab/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 09:45:35 +0000</pubDate>
		<dc:creator>jestinjoy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gnutolinux.wordpress.com/2009/01/03/how-to-edit-fstab/</guid>
		<description><![CDATA[fstab is a configuration file that contains information of all the partitions and storage devices in your computer. The file is located under /etc, so the full path to this file is /etc/fstab. /etc/fstab contains information of where your partitions and storage devices should be mounted and how. If you can&#8217;t access your Windows partition [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gnutolinux.wordpress.com&amp;blog=5837530&amp;post=12&amp;subd=gnutolinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[</p>
<p>
<strong></strong></p>
</p>
<p>
fstab is a configuration file that contains information of all the partitions and storage devices in your computer. The file is located under /etc, so the full path to this file is /etc/fstab.</p>
</p>
<p>
/etc/fstab contains information of where your partitions and storage devices should be mounted and how. If you can&#8217;t access your Windows partition from Linux, aren&#8217;t able to mount your CD or write to your floppy as a normal user, or have problems with your CD-RW, you probably have a misconfigured /etc/fstab file. So, you can usually fix your mounting problems by editing your fstab file.</p>
</p>
<p>
/etc/fstab is just a plain text file, so you can open and edit it with any text editor you&#8217;re familiar with. However, note that you must have the root privileges before editing fstab. So, in order to edit the file, you must either log in as root or use the su command to become root.</p>
</p>
<p>
<strong></strong></p>
</p>
<p>
Of course everybody has a bit different /etc/fstab file because the partitions, devices and their properties are different on different systems. But the basic structure of fstab is always the same. Here&#8217;s an example of the contents of /etc/fstab:</p>
<p>
/dev/hda2 	/ 	ext2 	defaults 	1 1</p>
<p>
/dev/hdb1 	/home 	ext2 	defaults 	1 2</p>
<p>
/dev/cdrom 	/media/cdrom 	auto 	ro,noauto,user,exec 	0 0</p>
<p>
/dev/fd0 	/media/floppy 	auto 	rw,noauto,user,sync 	0 0</p>
<p>
proc 	/proc 	proc 	defaults 	0 0</p>
<p>
/dev/hda1 	swap 	swap 	pri=42 	0 0</p>
</p>
<p>
What does all this gibberish mean? As you see, every line (or row) contains the information of one device or partition. The first column contains the device name, the second one its mount point, third its filesystem type, fourth the mount options, fifth (a number) dump options, and sixth (another number) filesystem check options. Let&#8217;s take a closer look at this stuff.</p>
</p>
<p>
<strong></strong></p>
</p>
<p>
The first and second columns should be pretty straightforward. They tell the mount command exactly the same things that you tell mount when you mount stuff manually: what is the device or partition, and what is the mount point. The mount point specified for a device in /etc/fstab is its default mount point. That is the directory where the device will be mounted if you don&#8217;t specify any other mount point when mounting the device.</p>
</p>
<p>
Like you already learned from the Mounting tuXfile, most Linux distros create special directories for mount points. Most distros create them under /mnt, but some (at least SuSE) under /media. As you probably noticed when looking at the example fstab, I use SuSE&#8217;s mount points as an example.</p>
</p>
<p>
What does all this mean? If I type the following command:</p>
<p>
$ mount /dev/fd0</p>
<p>
&#8230; my floppy will be mounted in /media/floppy, because that&#8217;s the default mount point specified in /etc/fstab. If there is no entry for /dev/fd0 in my fstab when I issue the command above, mount gets very confused because it doesn&#8217;t know where to mount the floppy.</p>
</p>
<p>
You can freely change the default mount points listed in /etc/fstab if you&#8217;re not satisfied with the defaults your distro has given you. Just make sure the mount point is a directory that already exists on your system. If it doesn&#8217;t, simply create it.</p>
</p>
<p>
Some partitions and devices are also automatically mounted when your Linux system boots up. For example, have a look at the example fstab above. There are lines that look like this:</p>
</p>
<p>
/dev/hda2 / ext2 defaults 1 1</p>
<p>
/dev/hdb1 /home ext2 defaults 1 2</p>
</p>
<p>
As you&#8217;ve learned, these lines mean that /dev/hda2 will be mounted to / and /dev/hdb1 to /home. This is done automatically when your Linux system boots up&#8230; if it wouldn&#8217;t, you&#8217;d have a hard time using your cool Linux system because all the programs you use are in / and you wouldn&#8217;t be able to run them if / wasn&#8217;t mounted! But how does the system know where you want to mount /dev/hda2 and /dev/hdb1? By looking at the /etc/fstab file of course.</p>
</p>
<p>
<strong></strong></p>
</p>
<p>
The third column in /etc/fstab specifies the filesystem type of the device or partition. Many different filesystems are supported but we&#8217;ll take a look at the most common ones only.</p>
</p>
<p>
ext2 and ext3 Very likely your Linux partitions are Ext3. Ext2 used to be the standard filesystem for Linux, but these days, Ext3 and ReiserFS are usually the default filesystems for almost every new Linux distro. Ext3 is a newer filesystem type that differs from Ext2 in that it&#8217;s journaled, meaning that if you turn the computer off without properly shutting down, you shouldn&#8217;t lose any data and your system shouldn&#8217;t spend ages doing filesystem checks the next time you boot up.</p>
</p>
<p>
reiserfs Your Linux partitions may very well be formatted as ReiserFS. Like Ext3, ReiserFS is a journaled filesystem, but it&#8217;s much more advanced than Ext3. Many Linux distros (including SuSE) have started using ReiserFS as their default filesystem for Linux partitions.</p>
</p>
<p>
swap The filesystem name is self-explanatory. The filesystem type &#8220;swap&#8221; is used in your swap partitions.</p>
</p>
<p>
vfat and ntfs Your Windows partitions are probably either Vfat or NTFS. The 9x series (95, 98, ME) all use Vfat (more widely known as FAT32), and the NT series (NT, 2000, XP) use NTFS. In 2000 and XP you can choose the filesystem type, so 2000 and XP partitions may be formatted as Vfat, too. If you want to be able to write to your Windows partitions from Linux, I suggest formatting them as Vfat, because Linux&#8217;s support for writing to NTFS partitions is a bit shabby at this moment.</p>
</p>
<p>
auto No, this isn&#8217;t a filesystem type <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  The option &#8220;auto&#8221; simply means that the filesystem type is detected automatically. If you take a look at the example fstab above, you&#8217;ll see that the floppy and CD-ROM both have &#8220;auto&#8221; as their filesystem type. Why? Their filesystem type may vary. One floppy might be formatted for Windows and the other for Linux&#8217;s Ext2. That&#8217;s why it&#8217;s wise to let the system automatically detect the filesystem type of media such as floppies and cdroms.</p>
</p>
<p>
<strong></strong></p>
</p>
<p>
The fourth column in fstab lists all the mount options for the device or partition. This is also the most confusing column in the fstab file, but knowing what some of the most common options mean, saves you from a big headache. Yes, there are many options available, but I&#8217;ll take a look at the most widely used ones only. For more information, check out the man page of mount.</p>
</p>
<p>
auto and noauto With the auto option, the device will be mounted automatically (at bootup, just like I told you a bit earlier, or when you issue the mount -a command). auto is the default option. If you don&#8217;t want the device to be mounted automatically, use the noauto option in /etc/fstab. With noauto, the device can be mounted only explicitly.</p>
</p>
<p>
user and nouser These are very useful options. The user option allows normal users to mount the device, whereas nouser lets only the root to mount the device. nouser is the default, which is a major cause of headache for new Linux users. If you&#8217;re not able to mount your cdrom, floppy, Windows partition, or something else as a normal user, add the user option into /etc/fstab.</p>
</p>
<p>
exec and noexec exec lets you execute binaries that are on that partition, whereas noexec doesn&#8217;t let you do that. noexec might be useful for a partition that contains binaries you don&#8217;t want to execute on your system, or that can&#8217;t even be executed on your system. This might be the case of a Windows partition.</p>
</p>
<p>
exec is the default option, which is a good thing. Imagine what would happen if you accidentally used the noexec option with your Linux root partition&#8230;</p>
</p>
<p>
ro Mount the filesystem read-only.</p>
</p>
<p>
rw Mount the filesystem read-write. Again, using this option might cure the headache of many new Linux users who are tearing their hair off because they can&#8217;t write to their floppies, Windows partitions, or something else.</p>
</p>
<p>
sync and async How the input and output to the filesystem should be done. sync means it&#8217;s done synchronously. If you look at the example fstab, you&#8217;ll notice that this is the option used with the floppy. In plain English, this means that when you, for example, copy a file to the floppy, the changes are physically written to the floppy at the same time you issue the copy command.</p>
</p>
<p>
However, if you have the async option in /etc/fstab, input and output is done asynchronously. Now when you copy a file to the floppy, the changes may be physically written to it long time after issuing the command. This isn&#8217;t bad, and may sometimes be favorable, but can cause some nasty accidents: if you just remove the floppy without unmounting it first, the copied file may not physically exist on the floppy yet!</p>
</p>
<p>
async is the default. However, it may be wise to use sync with the floppy, especially if you&#8217;re used to the way it&#8217;s done in Windows and have a tendency to remove floppies before unmounting them first.</p>
</p>
<p>
defaults Uses the default options that are rw, suid, dev, exec, auto, nouser, and async.</p>
</p>
<p>
<strong></strong></p>
</p>
<p>
Dump and, uh, what options? Well, dump is a backup utility and fsck is a filesystem check utility. I won&#8217;t discuss them in great length here (they would both need their own tuXfile), but I&#8217;ll mention them, because otherwise you&#8217;d spend the rest of the day wondering what on God&#8217;s green Earth do these things mean.</p>
</p>
<p>
The 5th column in /etc/fstab is the dump option. Dump checks it and uses the number to decide if a filesystem should be backed up. If it&#8217;s zero, dump will ignore that filesystem. If you take a look at the example fstab, you&#8217;ll notice that the 5th column is zero in most cases.</p>
</p>
<p>
The 6th column is a fsck option. fsck looks at the number in the 6th column to determine in which order the filesystems should be checked. If it&#8217;s zero, fsck won&#8217;t check the filesystem.</p>
</p>
<p>
<strong></strong></p>
</p>
<p>
As an example, we&#8217;ll take a look at a couple of fstab entries that have been a source of endless frustration for new Linux users: floppy and CD-ROM (although these days floppies aren&#8217;t that important anymore).</p>
</p>
<p>
/dev/fd0 /media/floppy auto rw,noauto,user,sync 0 0</p>
</p>
<p>
This line means that the floppy is mounted to /media/floppy by default and that its filesystem type is detected automatically. This is useful because the type of the floppy may wary. Note especially the rw and user options: they must be there if you want to be able to mount and write to the floppy as a normal user. If you have trouble with this, check your fstab file to see if these options are there. Also note the sync option. It can be async just as well, but it&#8217;s sync because of reasons discussed a bit earlier.</p>
</p>
<p>
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0</p>
</p>
<p>
Note, again, the user option that enables you to mount the CD as a normal user. The CD-ROM has the ro option because it&#8217;s no use mounting a CD-ROM read-write because you wouldn&#8217;t be able to write to it anyway. Also note the exec option. It&#8217;s especially useful if you&#8217;d like to be able to execute something from your CD.</p>
</p>
<p>
Also note that the noauto option is used with the floppy and CD-ROM. This means that they won&#8217;t be automatically mounted when your Linux system boots up. This is useful for removable media, because sometimes there won&#8217;t be any floppy or CD-ROM when you boot up your system, so there isn&#8217;t any reason to try to mount something that doesn&#8217;t even exist.</p>
</p>
<p>
SOURCE:<a href="http://www.tuxfiles.org/linuxhelp/fstab.html">TUXFILES</a></p></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gnutolinux.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gnutolinux.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gnutolinux.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gnutolinux.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gnutolinux.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gnutolinux.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gnutolinux.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gnutolinux.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gnutolinux.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gnutolinux.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gnutolinux.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gnutolinux.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gnutolinux.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gnutolinux.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gnutolinux.wordpress.com&amp;blog=5837530&amp;post=12&amp;subd=gnutolinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gnutolinux.wordpress.com/2009/01/03/how-to-edit-fstab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e8e5b837c6b3ef5e0482c2203d112645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jestinjoy</media:title>
		</media:content>
	</item>
		<item>
		<title>How to reset root password in Linux</title>
		<link>http://gnutolinux.wordpress.com/2008/12/28/how-to-reset-root-password-in-linux/</link>
		<comments>http://gnutolinux.wordpress.com/2008/12/28/how-to-reset-root-password-in-linux/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 06:29:29 +0000</pubDate>
		<dc:creator>jestinjoy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[password recovery]]></category>

		<guid isPermaLink="false">http://gnutolinux.wordpress.com/2008/12/28/how-to-reset-root-password-in-linux/</guid>
		<description><![CDATA[It is a common thing for linux users to forget the password set. There are a lot of ways to reset it. Method depends on the type of Boot loader you use,LILO/GRUB&#8230;&#8230;. Probably the simplest way to solve a forgotten root password problem is to boot your system in the single-user mode. For LILO users: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gnutolinux.wordpress.com&amp;blog=5837530&amp;post=11&amp;subd=gnutolinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is a common thing for linux users to forget the password set. There are a lot of ways to reset it. Method depends on the type of Boot loader you use,LILO/GRUB&#8230;&#8230;.</p>
<p>Probably the simplest way to solve a forgotten root password problem is to boot your system in the single-user mode.</p>
<p>For LILO users:</p>
<p>If you are using LILO, at the LILO boot prompt (graphical LILO users can press Ctrl-x to exit the graphical screen and go to the boot: prompt), and then enter:</p>
<p>Code:</p>
<p>linux single</p>
<p>This will make you the &#8220;root&#8221; user without asking for a password. Once the system has booted, you can change the root password using the password command:</p>
<p>Code:</p>
<p>passwd</p>
<p>For GRUB users:</p>
<p>boot machine<br />
when the GRUB menu appears, use arrow keys to choose OS to be booted<br />
press letter &#8220;e&#8221; on the keyboard to enter edit mode<br />
use arrow keys to select the kernel line for kernel to be booted<br />
press &#8220;e&#8221; to edit line<br />
go to end of line and type &#8220;single&#8221; (without quotes) as a separate word<br />
press ESC key to exit the edit mode<br />
press &#8220;b&#8221; to boot into single user mode</p>
<p>Reset Root Password &#8211; Not As Easy Method:</p>
<p>If the easy method doesn&#8217;t work on your machine, another way to solve the &#8220;lost root password&#8221; problem is to boot your computer from your Linux Installation CD/DVD, or from a live-CD/DVD such as Knoppix.</p>
<p>Boot with the live-disk then go to a terminal and su to root (no password is required) then issue the following commands (be sure to replace each /sda1 with your own root partition device):</p>
<p>Code:</p>
<p>mount -o dev,rw /mnt/sda1</p>
<p>cd /mnt/sda1/etc</p>
<p>Once you are into your system /etc directory, you can use a text editor (vim, nano, pico, etc.) to edit the /etc/shadow file where the password is stored. Various information about root and user accounts is kept in this plain-text file but we are only concerned with the password portion.</p>
<p>For example, the /etc/shadow entry for the &#8220;root&#8221; account may look something like this:</p>
<p>Code:</p>
<p>root:$1$aB7mx0Licb$CTbs2RQrfPHkz5Vna0.fnz8H68tB.:10852:0:99999:7:::</p>
<p>Now, using your favorite editor (I&#8217;ll use vim) delete the password hash. For this example, the password is in green text and is all those characters between the 1st and 2nd colons.</p>
<p>Code:</p>
<p>vim shadow</p>
<p>After you&#8217;ve edited this field, it should look like this:</p>
<p>Code:</p>
<p>root::10852:0:99999:7:::</p>
<p>Now save the file and change back to the root directory and unmount the system root partition (don&#8217;t forget to change the /sda1) as follows:</p>
<p>Code:</p>
<p>cd /<br />
umount /mnt/sda1</p>
<p>Now reboot the computer.</p>
<p>Once the computer has booted and you&#8217;re at the login prompt, type &#8220;root&#8221; and when asked for the password just press ENTER (entering no password). After a successful login, you need to set the new password for root using the following command:</p>
<p>Code:</p>
<p>passwd</p>
<p>Note that I&#8217;ve tested both the above methods on my machines but please keep in mind that neither of them will work on every machine.</p>
<p>Reset Forgotten or Lost &#8220;User&#8221; Password:</p>
<p>If a regular user forgets his/her password, the root user can easily reset the user&#8217;s password. For this example, the username will be &#8220;bob&#8221;.</p>
<p>Enter (as root):</p>
<p>Code:</p>
<p>passwd bob</p>
<p>This will prompt for a new password for the user &#8220;bob&#8221;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gnutolinux.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gnutolinux.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gnutolinux.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gnutolinux.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gnutolinux.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gnutolinux.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gnutolinux.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gnutolinux.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gnutolinux.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gnutolinux.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gnutolinux.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gnutolinux.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gnutolinux.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gnutolinux.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gnutolinux.wordpress.com&amp;blog=5837530&amp;post=11&amp;subd=gnutolinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gnutolinux.wordpress.com/2008/12/28/how-to-reset-root-password-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e8e5b837c6b3ef5e0482c2203d112645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jestinjoy</media:title>
		</media:content>
	</item>
		<item>
		<title>How to change the default editor in Ubuntu</title>
		<link>http://gnutolinux.wordpress.com/2008/12/14/how-to-change-is-default-editor-in-ubuntu/</link>
		<comments>http://gnutolinux.wordpress.com/2008/12/14/how-to-change-is-default-editor-in-ubuntu/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 07:49:08 +0000</pubDate>
		<dc:creator>jestinjoy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://gnutolinux.wordpress.com/2008/12/14/how-to-change-is-default-editor-in-ubuntu/</guid>
		<description><![CDATA[Ubuntu uses nano as its default editor to edit files.But most are familiar with Vi.We can easily set vi as the default editor in ubuntu&#8230;.. In the Terminal type: sudo update-alternatives &#8211; -config editor It will give a screen like this: Select the desired editor and it is done&#8230;&#8230;&#8230;..<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gnutolinux.wordpress.com&amp;blog=5837530&amp;post=5&amp;subd=gnutolinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ubuntu uses nano as its default editor to edit files.But most are familiar with Vi.We can easily set vi as the default editor in ubuntu&#8230;..</p>
<p>In the Terminal type:</p>
<blockquote><p><strong>sudo update-alternatives &#8211; -config editor</strong></p></blockquote>
<p>It will give a screen like this:</p>
<div id="attachment_4" class="wp-caption aligncenter" style="width: 470px"><img class="size-full wp-image-4" title="editor" src="http://gnutolinux.files.wordpress.com/2008/12/editor.jpg?w=460&#038;h=345" alt="Terminal view" width="460" height="345" /><p class="wp-caption-text">Terminal view</p></div>
<p>Select the desired editor and it is done&#8230;&#8230;&#8230;..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gnutolinux.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gnutolinux.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gnutolinux.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gnutolinux.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gnutolinux.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gnutolinux.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gnutolinux.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gnutolinux.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gnutolinux.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gnutolinux.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gnutolinux.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gnutolinux.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gnutolinux.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gnutolinux.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gnutolinux.wordpress.com&amp;blog=5837530&amp;post=5&amp;subd=gnutolinux&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gnutolinux.wordpress.com/2008/12/14/how-to-change-is-default-editor-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e8e5b837c6b3ef5e0482c2203d112645?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jestinjoy</media:title>
		</media:content>

		<media:content url="http://gnutolinux.files.wordpress.com/2008/12/editor.jpg" medium="image">
			<media:title type="html">editor</media:title>
		</media:content>
	</item>
	</channel>
</rss>
