How to dump a nullfs?

2006-03-02 Thread Pietro Cerutti
Hi List,
I use dump(8) as backup system, and I would like to dump only a
subtree of a filesystem, say /usr/local/etc, which is on the /usr
filesystem.

Since dump(8) only dumps filesystems, and not directories, I mounted
/usr/local/etc on /mnt/tmp, type nullfs:

$ mount

/dev/ad0s2e on /usr (ufs, local, soft-updates)

/usr/local/etc on /mnt/tmp (nullfs, local)


but I can't dump it:

$ dump -0 -u -a -f usr.local.etc /mnt/tmp
dump: /mnt/tmp: unknown file system

If I put an entry in fstab:

/usr/local/etc/mnt/tmp nullfs rw,noauto   0  0

I mount it:
$ mount

/usr/local/etc on /mnt/tmp (nullfs, local)

and try to dump it, dump(8) crashes:

$ dump -0 -u -a -f usr.local.etc /mnt/tmp
  DUMP: SIGSEGV: ABORTING!
Segmentation fault (core dumped)


Any idea, workarounds or other ideas to dump only a directory are welcome!

Tnx, cheers!

--
Pietro Cerutti
[EMAIL PROTECTED]

   Non lasciar calpestare i TUOI diritti!
   Don't let 'em take YOUR rights!

   NO al Trusted Computing!
   Say NO to Trusted Computing!

   www.no1984.org
   www.againsttcpa.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to dump a nullfs?

2006-03-02 Thread Kris Kennaway
On Thu, Mar 02, 2006 at 11:54:21PM +0100, Pietro Cerutti wrote:

 $ dump -0 -u -a -f usr.local.etc /mnt/tmp
   DUMP: SIGSEGV: ABORTING!
 Segmentation fault (core dumped)

Please submit a PR about this bug.

Kris


pgpspI2NsvCPT.pgp
Description: PGP signature