Posts tagged ‘fstab’

Manually mount a USB flash drive in Linux

tux.png

I recently got hold of a 1 GB USB memory stick. It is a Kingmax 1 GB flash drive (U201G – U2GMHDWG) which is (believe it or not), half the size of my little finger. In fact, it is so small that there is a good chance I might misplace it somewhere if it was not tethered to a chain. Anyway, the USB stick has a FAT partition on it and contain some data which I wanted to access in GNU/Linux. I was using Ubuntu and it straight away detected the device as soon as I inserted it and it was automatically mounted in the /media/USB DISK location.

But when I tried to mount it in a bare bones Linux distribution (a distribution which has just enough software as is needed), it was not mounted automatically. This is because the auto mounting takes place by means of a program known as hotplug which detects the USB device that is inserted in real time and then mounts it in the desired location.
Continue reading ‘Manually mount a USB flash drive in Linux’ »

How to get your iRiver E100 working nicely in Linux

tux.png

The iRiver E100 is a open standard’s fanatics portable audio player.  It supports OGG and FLAC out of the box.  Though, at first it doesn’t play too well with Linux, this is to help those that have some problems with it connecting and mounting properly.

Continue reading ‘How to get your iRiver E100 working nicely in Linux’ »

Mount Samba share using fstab

samba.gif

To mount a Samba share when Linux system comes up after reboot edit the /etc/fstab file and put entry as follows for your Windows/Samba share:

//ntserver/share /mnt/samba smbfs username=username,password=password 0 0

For example, if you want to mount a share called //ntserver/docs then you need to write following entry in /etc/fstab file:

//192.168.0.1/share /mnt/samba smbfs username=nikesh,password=passwd123 0 0

Source

Speed up your ext3 file system

tux.png

The following tweaks assume that you are using an ext3 filesystem for your Ubuntu OS and they will offer a noticeable performance boost! However, there is also a bad side of them… if you don’t have an UPS and your system will power off accidentally or because of a power loss, YOU WILL LOSE IMPORTANT DATA!

Continue reading ‘Speed up your ext3 file system’ »

Viewing system information in the Commandline

terminal-glossy.jpg

Source

GNU/Linux is bursting with information about the system on which it runs. The system’s hardware and memory, its Internet link and current processes, the latest activity of each user — all this information and more is available. And, despite such desktop tools as the KDE Control Center or GNOME’s System Monitor, the easiest place to get all the system information available is still the command line.

 

In many cases, you can view system information via specific commands. Some of these commands are written specifically to give information, while other commands that are mainly intended to alter the system in some way just happen to include parameters for viewing the current state of the system.

In other cases, you can view system information through log or configuration files or the /proc virtual filesystem. Many such files are written in plain text, so all that you need to view them are basic commands that output a file’s content to the command line, such as cat, less, or more.

Continue reading ‘Viewing system information in the Commandline’ »

How to edit and understand /etc/fstab

terminal-glossy.jpg

First read: How to mount filesystems in Linux

There’s a file called /etc/fstab in your Linux system. Learn what its contents mean and how it’s used in conjunction with the mount command. When you learn to understand the fstab file, you’ll be able to edit its contents yourself, too.

Continue reading ‘How to edit and understand /etc/fstab’ »