Hi,

Man pages for vnconfig state that one of the useful things for "vnd"
devices (not svnd ones) is to make them be used for swap.

Given that vnconfig associates a vnd device with a regular file -- the
above comments reduce to allowing one to use regular file as a swap
space... only... why would one do all of this when swapctl/swapon
accept regular file as arg anyway?

In other words what are the advantages to using vnconfig for swapping
as opposed to just calling swapctl/swapon directly on a regular file?
Moreover, fstab also takes regular file for swap partitions just fine
and subsequent (implicit) call to swapon also appears to work just
fine...

Does it have to do, may be, with earlier versions of swapctl not
working with regular files... or some other historical differences in
the early days?

Also, if there is no distinct advantage of using vnconfig's vnd for
swap (vs swapctl)... what other uses are there for explicit '/dev/vnd'
(not 'svnd') devices?

Kind regards
Leon.

Reply via email to