An open API service indexing awesome lists of open source software.

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

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`