Kris suggested that swap is a better choice as a default than malloc.
MFC: 1 week
This commit is contained in:
parent
35ce0ff2f2
commit
7090e3d10c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166854
@ -125,7 +125,7 @@ which
|
||||
denotes byte, kilobyte, megabyte, gigabyte and terabyte respectively. Options
|
||||
.Fl a
|
||||
and
|
||||
.Fl t Ar malloc
|
||||
.Fl t Ar swap
|
||||
are implied if not specified.
|
||||
.It Fl S Ar sectorsize
|
||||
Sectorsize to use for malloc backed device.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user