Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
archive: use Mkdev, Major and Minor functions from golang.org/x/sys/unix
Now that golang.org/x/sys/unix provides the Mkdev, Major and Minor functions for every OS, use them instead of the locally defined version which uses the Linux specific device major/minor encoding. This also means that the device number should now be properly encoded on e.g. Darwin, FreeBSD or Solaris. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
- Loading branch information