On Mon, Nov 05, 2007 at 02:40:36PM -0800, FX Charpentier wrote:
> Roland,
> 
> The mention of dump '-L' in your email below has caught my attention.
> Pardon my ignorance, but what is the '-L' option?
> 
> I looked it up in the man pages but wasn't able to find any mention of it.
> Can you point me in the right direction?

It's in dump(8);

     -L      This option is to notify dump that it is dumping a live file sys-
             tem.  To obtain a consistent dump image, dump takes a snapshot of
             the file system in the .snap directory in the root of the file
             system being dumped and then does a dump of the snapshot.  The
             snapshot is unlinked as soon as the dump starts, and is thus
             removed when the dump is complete.  This option is ignored for
             unmounted or read-only file systems.  If the .snap directory does
             not exist in the root of the file system being dumped, a warning
             will be issued and the dump will revert to the standard behavior.
             This problem can be corrected by creating a .snap directory in
             the root of the file system to be dumped; its owner should be
             ``root'', its group should be ``operator'', and its mode should
             be ``0770''.

I use dump with the following options (e.g. for /usr);

dump -0 -B 4589560 -C 8 -h 0 -L -u -P \
'cat - >usr-0-20071106-vol${DUMP_VOLUME}.dump' /usr

This splits dump output in DVD-R sized chunks.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpvj8pXniSED.pgp
Description: PGP signature

Reply via email to