diff options
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1274,6 +1274,12 @@ check_sane_mount () { *freebsd*|hurd*) ;; illumos*|solaris*) + mknod "$1/test-dev-null" c 67 2 || return 1 + if ! echo test > "$1/test-dev-null"; then + rm -f "$1/test-dev-null" + return 1 + fi + rm -f "$1/test-dev-null" ;; *) mknod "$1/test-dev-null" c 1 3 || return 1 |