2019-11-09 13:27:41 +00:00
|
|
|
# mount
|
|
|
|
|
|
|
|
> Mount Network File System (NFS) network shares.
|
2022-10-04 16:06:23 +01:00
|
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/mount>.
|
2019-11-09 13:27:41 +00:00
|
|
|
|
|
|
|
- Mount a share to the "Z" drive letter:
|
|
|
|
|
|
|
|
`mount \\{{computer_name}}\{{share_name}} {{Z:}}`
|
|
|
|
|
|
|
|
- Mount a share to the next available drive letter:
|
|
|
|
|
|
|
|
`mount \\{{computer_name}}\{{share_name}} *`
|
|
|
|
|
|
|
|
- Mount a share with a read timeout in seconds (defaults to 0.8, can be 0.9 or 1 to 60):
|
|
|
|
|
|
|
|
`mount -o timeout={{seconds}} \\{{computer_name}}\{{share_name}} {{Z:}}`
|
|
|
|
|
|
|
|
- Mount a share and retry up to 10 times if it fails:
|
|
|
|
|
2024-08-20 13:11:42 +01:00
|
|
|
`mount -o retry=10 \\{{computer_name}}\{{share_name}} {{Z:}}`
|
2019-11-09 13:27:41 +00:00
|
|
|
|
|
|
|
- Mount a share with forced case sensitivity:
|
|
|
|
|
|
|
|
`mount -o casesensitive \\{{computer_name}}\{{share_name}} {{Z:}}`
|
|
|
|
|
|
|
|
- Mount a share as an anonymous user:
|
|
|
|
|
|
|
|
`mount -o anon \\{{computer_name}}\{{share_name}} {{Z:}}`
|
|
|
|
|
|
|
|
- Mount a share using a specific mount type:
|
|
|
|
|
|
|
|
`mount -o mtype={{soft|hard}} \\{{computer_name}}\{{share_name}} {{Z:}}`
|