Date: Thu, 2 Mar 2006 23:54:21 +0100 From: "Pietro Cerutti" <pietro.cerutti@gmail.com> To: freebsd <freebsd-questions@freebsd.org> Subject: How to dump a nullfs? Message-ID: <e572718c0603021454s3ffdc436u9c542efbf41db769@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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 <pietro.cerutti@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e572718c0603021454s3ffdc436u9c542efbf41db769>