Sunday, February 28, 2010

Mounting Hard Disk Partitions in Linux

Don't know how to access your hard disk partitions in linux? or may be for every restart, you might have been forced to enter your password. Mounting Hard Disk Partitions in Linux is very simple only if you follow the right procedures.
First you need to find out your partiions and preferably with their labels. Tools like gParted can be used to observe the hard disk partitions.

Now that you know which partition to mount, it's time to do some typing. Open up your terminal and edit /etc/fstab file with your favourite editor. As specified in the file, while mounting a partition, you need to provide the file system, mount point, type, options, dump and pass [commented in the file with <>]. Mount point is the absolute address of the directory in linux where you want to view your partitions. Without bothering into the details, dump and pass options are normally provided a 0 value.

You could observe the mounted partitions after restarting the computer. Open up your terminal and type dmesg, you could see your mounted drives. :)

Thursday, February 11, 2010

lil bit of fun with eSpeak in ubuntu

Until today, i had never used eSpeak. Nor did i get the opportunity to hear about it. Well now that i have used it, i thought i could share my experience with this speech synthesizer tool. No more worries about your eyes now. You can call eSpeak from the terminal without any hassle and enjoy the somewhat machine sounding voice pronouncing the text. Good news for ubuntu users! it's installed by default. For others, here's where you should look at.
As just a simple demonstration of this tool, you can try this at terminal;
kailash@kailash-desktop:~/Desktop$ espeak "hello world!"

In order to read a text file, all you need to do is insert an extra parameter;
kailash@kailash-desktop:~/Desktop$ espeak -f filename

Though the sound seems quite unclear, you can still enjoy the way he speaks. There are whole bunch of other features. For more details, here's the documentation.