https://github.com/sixarm/umount-nexus
umount-nexus: unmount a Nexus device from a Unix filesystem
https://github.com/sixarm/umount-nexus
nexus script shell unmount
Last synced: 7 months ago
JSON representation
umount-nexus: unmount a Nexus device from a Unix filesystem
- Host: GitHub
- URL: https://github.com/sixarm/umount-nexus
- Owner: SixArm
- Created: 2016-02-10T06:15:42.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2025-04-14T09:23:35.000Z (10 months ago)
- Last Synced: 2025-04-14T10:32:48.776Z (10 months ago)
- Topics: nexus, script, shell, unmount
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# umount-nexus:
unmount a Nexus device from a Unix filesystem
Syntax:
umount-nexus [path]
Example:
umount-nexus
Example using a specific device:
umount-nexus /media/nexus6
The path defaults to the most recent directory that matches:
/media/nexus*
This script tries these steps to unmount:
* use `umount` to unmount the directory
* test if the directory still exists
* if so, then try `lsof`, then try `fuser`