How to mount

See NFS Sharing, Raw devices, How to set up SAMBA on linux
#Shows all currently mounted file systems
mount

#checks the /etc/fstab for the required options and the mount point to mount the device.
#reports an error message "mount point doesn't exist" if the entry for /dev/hda8 doesn't exist in the /etc/fstab
mount /dev/hda8
 
Change a filesystem to read-write
mount -o rw,remount /dev/sda1 /
 
Mounting a windows ntfs partition
    
download and install an rpm 
(Please refer to http://linux-ntfs.sourceforge.net/rpm/instructions.html for the correct rpm)
on my Red Hat 9 kernel-ntfs-2.4.20-8.i686.rpm
on my Red Hat AS 3 kernel-ntfs-2.4.21-4.EL.i686.rpm
on my Fedora Core 3 kernel-module-ntfs-2.6.9-1.667-2.1.20-0.rr.3.3.i686.rpm
create a directory 
>mkdir /mnt/win
See existing NTFS partition using:
>fdisk -l /dev/hda
to mount now execute:
>mount -t ntfs /dev/hdc1 /mnt/win/
to mount at boot, modify /etc/fstab adding this line:
    
(I used this on Red Hat 9)
/dev/hdc1 /mnt/win ntfs auto,users,ro 0 0
(I used this on Fedora Core 3)
/dev/hdc1	/mnt/win	ntfs	ro,defaults,umask=0222	0 0

This is an example of my /etc/fstab mounting many partition:

LABEL=/1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdc3 swap swap defaults 0 0
/dev/hdc1 /mnt/win ntfs auto,users,ro 0 0
/dev/hdc2 /mnt/rhaS ext3 defaults 1 1
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

 

Mounting a linux partition
#Creating the partition if needed
fdisk -l | grep "doesn't contain a valid partition table" 
#format the partition using ext3 if new. CAUTION existing data will be lost
mke2fs -j /dev/sdb1
#create the partition table or just save it if you are not creating partitions
fdisk /dev/hdc
Command (m for help): w
The partition table has been altered!

#create a directory /mnt/rhaS 
to mount now execute: 
mount -t ext3 /dev/hdc2 /mnt/rhaS
to mount at boot, modify /etc/fstab adding this line:
    /dev/hdc2 /mnt/rhaS ext3 defaults 1 1
This is an example of my /etc/fstab mounting many partition:
  LABEL=/1 / ext3 defaults 1 1
  none /dev/pts devpts gid=5,mode=620 0 0
  none /proc proc defaults 0 0
  none /dev/shm tmpfs defaults 0 0
  /dev/hdc3 swap swap defaults 0 0
  /dev/hdc1 /mnt/win ntfs auto,users,ro 0 0
  /dev/hdc2 /mnt/rhaS ext3 defaults 1 1
  /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
  /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
 
Mount a Pen Drive
mkdir /mnt/pendrive
To immediately mount
mount /dev/sda1 /mnt/pendrive
Add this line to /etc/fstab
/dev/sda1 /mnt/pendrive vfat noauto,owner,exec,umask=000 0 0

 

Automount (untested!)
Edit both the /etc/auto.home and /etc/auto.master files