fstab type "dp"

Jeremie Le Hen jeremie at le-hen.org
Tue Jan 13 17:11:36 PST 2009


Dear Kostik,

On Tue, Jan 13, 2009 at 11:23:55PM +0200, Kostik Belousov wrote:
> What are the supposed advantages of this approach over the dumpdev
> variable in rc.conf ? I see that having whole partition usage
> configuration in fstab is natural, so the idea of the patch is
> probably right.

This is exactly the point.  fstab(5) will describe every partition
usage.

>                 One the other hand, is it possible to enchance
> this to allow specification of the swap partition that is also
> a dump partition, in fstab ?


Well, actually I think it makes more sense to automatically add "dp"
device as swap.  You will find an updated patch attached where swapon(8)
has been modified to implement this behaviour.  Is it better now?

Thank you.
Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fstab_dp_2.patch
Type: text/x-diff
Size: 12223 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090114/c2bee101/fstab_dp_2.bin


More information about the freebsd-current mailing list