Skip to content

Instantly share code, notes, and snippets.

@yati-sagade
Created April 22, 2012 13:55
Show Gist options
  • Save yati-sagade/2464225 to your computer and use it in GitHub Desktop.
Save yati-sagade/2464225 to your computer and use it in GitHub Desktop.
# For example, to mount my Windows(NTFS) C:\ on /media/C I use this line:
/dev/sda1 /media/C ntfs defaults 0 0
# So it is basically
#/dev/devicename /path/to/mountpoint <fstype> defaults 0 0
#
# There can be as many spaces as you like between the fields - the last 3 fields can be repeated
# for most devices.
# The mount-point (2nd field) should exist.
# To see the changes after changing /etc/fstab w/o rebooting, execute `mount -a' as root.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment