diff options
author | jpaetzel <jpaetzel@FreeBSD.org> | 2013-03-03 23:07:27 +0000 |
---|---|---|
committer | jpaetzel <jpaetzel@FreeBSD.org> | 2013-03-03 23:07:27 +0000 |
commit | 2b4e636b244795c1b6f7fd8c71009d903a03fd40 (patch) | |
tree | 59901987c797e6ee4d9977801f300e91dde67dc1 /usr.sbin/pc-sysinstall/backend/functions-disk.sh | |
parent | 3da475a963077e2df4022d88c2fba553595f4e9b (diff) | |
download | FreeBSD-src-2b4e636b244795c1b6f7fd8c71009d903a03fd40.zip FreeBSD-src-2b4e636b244795c1b6f7fd8c71009d903a03fd40.tar.gz |
Use GNOP to force ZFS pools to 4k.
Obtained from: PC-BSD
Diffstat (limited to 'usr.sbin/pc-sysinstall/backend/functions-disk.sh')
-rwxr-xr-x | usr.sbin/pc-sysinstall/backend/functions-disk.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pc-sysinstall/backend/functions-disk.sh b/usr.sbin/pc-sysinstall/backend/functions-disk.sh index b1b815d..eac10d9 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-disk.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-disk.sh @@ -33,6 +33,7 @@ is_disk() for _dsk in `sysctl -n kern.disks` do [ "$_dsk" = "${1}" ] && return 0 + [ "/dev/$_dsk" = "${1}" ] && return 0 done return 1 |