Mounting devices through fstab Author: Marijke van der Sijde
Usbstick First you have to make a directory where you want to mount the usbstick. I made a directory called 'usb' in media: mkdir /media/usb/ Then you have to add a line in the etc/fstab file, which lists all the devices Linux has to mount at startup. Open the file and add the following line: /dev/sda1 /media/usb/ vfat
iocharset=utf8,umask=0222 0 0
Save the file and run as root: mount a The usbstick is now mounted under /media/usb. Windows NTFS partitions In case you still have some Windows installation sitting on your system somewhere you can mount your partitions in the same way as the usbstick, through fstab. Mkdir /media/Windows_C Mkdir /media/Windows_D Add the following lines to etc/fstab: /dev/hda1 /media/Windows_C ntfs users,owner,ro,umask=000 0 0 /dev/hda5 /media/Windows_D ntfs users,owner,ro,umask=000 0 0 Run mount a and the NTFS partitions will be mounted as well. Remember that you have no write properties in NTFS! In order to have these properties you have to have FAT32 partitions.
Mounting devices through fstab Marijke van der Sijde 1
KwikDisk To mount and unmount my devices quickly I use the KwikDisk tool provided by KDE in debian. This tool stays in your systemtray and allows you to mount and unmount simply by clicking on the device. You can get KwikDisk through APT: aptget install kdf The program will appear in your menu as KdiskFree
Mounting devices through fstab Marijke van der Sijde 2