LOL ! Yup, you realy got me. I'm coming from FreeBSD. And, yes, I'am little bit confused, and some time totally out in the wild :-) That's why it's so nice to have someone to lean on. Thanks for your answer. /Hasse.
-----Oprindelig meddelelse----- Fra: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] Pe vegne af ropers Sendt: den 8 september 2011 21:06 Til: Admin ValhallaProjectet Cc: misc@openbsd.org Emne: Re: dump -L On 8 September 2011 17:59, Admin ValhallaProjectet <ad...@thorshammare.org> wrote: > > I intend to use dump for backups, but got a bit confused about the lack of > the "-L" switch > > I would usually issue a command like " /sbin/dump -0Lauf " to make a > snapshot of a living file system to back up. I'm not sure why you want to use the -L, given that your above command line doesn't include a label (and that's what the -L is for, cf. <http://linux.die.net/man/8/dump>). Uncritical copypasta? The -L parameter is something available in this version of dump: <http://dump.sf.net/> Note that it says there (emphasis added): > This is the home page of the **Linux** Ext2 filesystem dump/restore utilities. Philosophy-wise, the thousands of different parts that Linux OSes consist of tend to be developed in a thousand different places -- and then pulled from those places by Linux distro makers who assemble their particular brand of Linux from those many pieces (or from others who make a similar flavour and have already done some pulling and assembling). These Linux dump/restore utils are one such piece. *BSDs don't tend to do that. *BSDs tend to be monolithic. The parts that *BSDs consist of are generally "not sold separately", and are all in the (main code-) base tree and maintained there. As is the dump that comes with OpenBSD. Even where (as here) the license is the same on the *BSD and Linux side, *BSD commands are not always or not typically the same as their Linux counterparts. An important philosophical difference is that on the Linux side, commands and utilities (particularly GNU ones) tend to have more knobs and buttons than on the *BSD side. And that is the case here. The -L doesn't exist in OpenBSD's dump(8) <http://www.openbsd.org/cgi-bin/man.cgi?query=dump>. The rationale for the fewer knobs is that less is more -- and often more POSIX-conform (though dump/restore aren't in the POSIX spec anyway, so whatever <http://pubs.opengroup.org/onlinepubs/9699919799/utilities/contents.html>). Seeing that both the Linux dump and OpenBSD's dump are BSD licensed, it *might* be possible to write a diff and add that feature to OpenBSD's dump -- however, you'd probably have to have a pretty good reason for adding another knob to OpenBSD's dump, and I reckon getting a diff that does do that accepted into base might be an uphill battle, as it might be seen to run counter to *BSD philosophy. But hey, I don't make the rules, I don't even write ANY of the code, so don't let my outside-looking-in observations put you off. regards, --ropers PS: AHA! http://www.freebsd.org/cgi/man.cgi?query=dump You little rogue and rascally scoundrel! ;-P Gotcha! ;-D 'Figured it out about your use of -L! Now, repeat after me: "I will not use FreeBSD documentation for OpenBSD." "I will not use FreeBSD documentation for OpenBSD." "I will not use FreeBSD documentation for OpenBSD."