Mount: Difference between revisions
Jump to navigation
Jump to search
(→-v) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* [[Linux#Commands|Linux]] | * [[Linux#Commands|Linux]] | ||
* [[Linux NFS]] | * [[Linux NFS]] | ||
* [[umount]] | |||
=List Filesystems Mounted by a NFS Client= | =List Filesystems Mounted by a NFS Client= | ||
Run <tt>mount</tt> without any argument. | Run <tt>mount</tt> without any argument. | ||
=Mount a Newly Added Filesystem without Reboot= | |||
If a new filesystem was added to [[/etc/fstab]] it can be mounted without reboot: | |||
mount -a | |||
=Options= | =Options= | ||
Line 26: | Line 33: | ||
<pre> | <pre> | ||
mount -t nfs -o "vers=3" ... | mount -t nfs -o "vers=3" ... | ||
</pre> | |||
=Mounting a Filesystem at Boot= | |||
{{Internal|/etc/fstab#Mount_a_File_System_at_Boot|Mounting a Filesystem at Boot}} | |||
=Mounting a CD/DVD ISO Image= | |||
<pre> | |||
mkdir /mnt/dvd | |||
mount -o loop image-file.iso /mnt/dvd | |||
</pre> | </pre> |
Latest revision as of 21:56, 19 February 2021
Internal
List Filesystems Mounted by a NFS Client
Run mount without any argument.
Mount a Newly Added Filesystem without Reboot
If a new filesystem was added to /etc/fstab it can be mounted without reboot:
mount -a
Options
-v
Verbose mount.
Useful to troubleshoot NFS client problems.
-o
Specifies other mount options.
For NFS, the following can be specified:
- NFS version to use:
mount -t nfs -o "vers=3" ...
Mounting a Filesystem at Boot
Mounting a CD/DVD ISO Image
mkdir /mnt/dvd mount -o loop image-file.iso /mnt/dvd