summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-10-16 23:04:43 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-10-16 23:04:43 +0400
commit55e6e13dcc6b6603e695137e1d6bf44bb68ee5b2 (patch)
tree8dd0be2b5c5b2882786566dd344adea1b0ecdcd9 /functions
parente38962c7e5b7c3164451ef704aad4549b5b2c8f8 (diff)
downloaddebootstrap-55e6e13dcc6b6603e695137e1d6bf44bb68ee5b2.tar.gz
Device major number can vary, even for null-device, illumos sucks even here
Diffstat (limited to 'functions')
-rw-r--r--functions6
1 files changed, 0 insertions, 6 deletions
diff --git a/functions b/functions
index 61f7b6e..f94056f 100644
--- a/functions
+++ b/functions
@@ -1274,12 +1274,6 @@ check_sane_mount () {
*freebsd*|hurd*)
;;
illumos*)
- 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