Jump to content

RUT955 USB Tools: Difference between revisions

No edit summary
Line 57: Line 57:
Devices can be mounted or unmounted manually by using SSH commands.
Devices can be mounted or unmounted manually by using SSH commands.
----
----
The <b>mount</b> command can attach a filesystem to the file tree. The basic syntax for the command is:
The <b>mount</b> command attaches a filesystem to the file hierarchy. The basic syntax for the command is:


  mount -t type device dir
  mount -t type device dir
Line 71: Line 71:


  mount -t ntfs /dev/sda1 /mnt/sda1
  mount -t ntfs /dev/sda1 /mnt/sda1
For more usage options, execute:
mount --help
----
The <b>umount</b> command detaches filesystem from the file hierarchy. he basic syntax for the command is:
umount device
<b>Example command</b>:
umount /dev/sda1
Using the umount command is analogous to clicking the "Safely Remove Disk" button. Therefore, the attached drive can be safely disconnected after using umount to detach it.


===Samba===
===Samba===