Hi, I am trying to add mounts to fstab, but I am quite a biggininner. Here is the line I have came up:
Code:
# Basic USB filesystem
sysfs /sys sysfs defaults 0 0
usbfs /proc/bus/usb usbfs rw,devmode=0666 0 0
# example of a VFAT USB pendrive
#/dev/sda1 /mnt/pendrive vfat fmask=111,dmask=0,noauto,user,quiet,shortname=mixed 0 0
#***********************Mount sda3 on main drive to /mnt/main
**********************/dev/sda3 /mnt/main
# Swap partitions
# The 'sw' option means auto activating with 'swapon -a'.
*******************************************sw -a /dev/sda2
#Local Area Network Shares
*********************//192.168.1.9/Desktop /mnt/win cifs 0 0
The lines with huge amounts of asteriks are the ones that I am trying to add, I have tried to read the tutorials online, but fstab file is quite an important file at bootup, I don't want to mess it up.
the /dev/sda3 is a logical partition in the hard disk that I am trying to map to mnt main.
I am trying to create a swap and map it to /dev/sda2 ~500mb roughly this amount of space (I am not sure how to check if the swap is successfully up and running as well).
Lastly, I am trying to map a local area share on to a folder in the mnt folder.
Thank you,
Ted.