diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-01-26 18:39:26 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-01-26 18:39:26 +0000 |
commit | 66db23e591f34d5c66e126ba1d56b877a16df47b (patch) | |
tree | 5ddec0e55cfa066d0610e10e9e79bb1ab72000e6 | |
parent | cfb0cd8440a9d2670aeeba1b8c3876a5c010e7c0 (diff) | |
download | debootstrap-66db23e591f34d5c66e126ba1d56b877a16df47b.tar.gz |
Revert "Device major number can vary, even for null-device, illumos sucks even here"
This reverts commit 55e6e13dcc6b6603e695137e1d6bf44bb68ee5b2.
Conflicts:
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 |