mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 10:55:50 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
37
tldr/windows/mount
Normal file
37
tldr/windows/mount
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mount
|
||||
|
||||
> Mount Network File System (NFS) network shares.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/mount>.
|
||||
|
||||
- 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:
|
||||
|
||||
`mount -o retry={{retries}} \{{computer_name}}\{{share_name}} {{Z:}}`
|
||||
|
||||
- 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:}}`
|
||||
Reference in New Issue
Block a user