mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 14:14:17 +02:00
automount: add page (#13328)
Co-authored-by: spageektti <git@spageektti.cc>
This commit is contained in:
parent
9250ebe301
commit
7872e91f8d
1 changed files with 17 additions and 0 deletions
17
pages/osx/automount.md
Normal file
17
pages/osx/automount.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
# automount
|
||||
|
||||
> Read the `/etc/auto_master` file and mount `autofs` on the appropriate mount points to trigger the on-demand mounting of directories. Essentially, it's a way to manually initiate the system's automounting process.
|
||||
> Note: You'll most likely need to run with `sudo` if you don't have the necessary permissions.
|
||||
> More information: <https://keith.github.io/xcode-man-pages/automount.8.html>.
|
||||
|
||||
- Run automount, flush the cache(`-c`) beforehand, and be verbose(`-v`) about it (most common use):
|
||||
|
||||
`automount -cv`
|
||||
|
||||
- Automatically unmount after 5 minutes (300 seconds) of inactivity:
|
||||
|
||||
`automount -t 300`
|
||||
|
||||
- Unmount anything previously mounted by automount and/or defined in `/etc/auto_master`:
|
||||
|
||||
`automount -u`
|
Loading…
Add table
Reference in a new issue