Mounting Devices With Fstab

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Mounting Devices With Fstab as PDF for free.

More details

  • Words: 246
  • Pages: 2
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: apt­get install kdf The program will appear in your menu as KdiskFree

Mounting devices through fstab  ­  Marijke van der Sijde                                                                                                                        2

Related Documents

Mounting Devices With Fstab
November 2019 16
Fstab
November 2019 7
Mounting System
June 2020 0
Devices
November 2019 50
Mounting Angle
November 2019 21