Table of Contents

fstab

FIXME Right now this page was just thrown together to highlight some successes with smb mounting.

This page details the /etc/fstab file, which configures mounting points and options for various local and network devices.

example file

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda6       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda7       /home           ext3    defaults        0       2
/dev/hda5       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
//bill/Backup_steph /media/Backup_steph smbfs users,noauto,uid=1000,gid=1000,username=steph,rw 0 0

* make sure the mount point exists prior to attempting to mount a device

users allow normal users to mount (AND UNMOUNT!)
noauto do not automatically mount
uid mount with permissions of this user id
gid mount with permissions of this group id
usernamelogin using this username (samba specific)
rw mount with read/write privileges

samba specific information

To allow ordinary users to mount samba shares (not using built-in gui tools), make sure to do the following: