aboutsummaryrefslogtreecommitdiff
path: root/sbin/mdconfig/mdconfig.c
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>2007-02-20 22:04:23 +0000
committerNick Hibma <n_hibma@FreeBSD.org>2007-02-20 22:04:23 +0000
commit7090e3d10c0e7d2ccf90f08dea64c683b8157407 (patch)
treeb4f2cb35e74d82eee92e055f42acbe3bccb5617f /sbin/mdconfig/mdconfig.c
parent35ce0ff2f20a35997c4be1a87f034651df7da71c (diff)
downloadsrc-7090e3d10c0e7d2ccf90f08dea64c683b8157407.tar.gz
src-7090e3d10c0e7d2ccf90f08dea64c683b8157407.zip
Kris suggested that swap is a better choice as a default than malloc.
MFC: 1 week
Notes
Notes: svn path=/head/; revision=166854
Diffstat (limited to 'sbin/mdconfig/mdconfig.c')
-rw-r--r--sbin/mdconfig/mdconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/mdconfig/mdconfig.c b/sbin/mdconfig/mdconfig.c
index 068aaba64a0a..4de9057db909 100644
--- a/sbin/mdconfig/mdconfig.c
+++ b/sbin/mdconfig/mdconfig.c
@@ -200,9 +200,9 @@ main(int argc, char **argv)
cmdline = 1;
}
if (cmdline == 1) {
- /* Imply ``-t malloc'' */
- mdio.md_type = MD_MALLOC;
- mdio.md_options = MD_AUTOUNIT | MD_COMPRESS;
+ /* Imply ``-t swap'' */
+ mdio.md_type = MD_SWAP;
+ mdio.md_options = MD_CLUSTER | MD_AUTOUNIT | MD_COMPRESS;
cmdline = 2;
}
if (cmdline != 2)