Date: Fri, 18 Nov 2011 11:59:44 -0500 From: "Daniel Staal" <DStaal@usa.net> To: freebsd-questions@freebsd.org Subject: Re: Shouldn't GNU tar be ignoring /proc with --one-file-system? Message-ID: <6de19086dd1301d00679b0e51ca10a5b.squirrel@www.magehandbook.com> In-Reply-To: <99414592-7FC7-4F24-8FEA-6F2F7B03551A@strauser.com> References: <99414592-7FC7-4F24-8FEA-6F2F7B03551A@strauser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, November 18, 2011 10:34 am, Kirk Strauser wrote: > I use Amanda to make nightly backups of a bunch of servers using GNU tar. > However, gtar doesn't seem to respect its --one-file-system flag with > /proc. Amanda runs a variation of this command: > > # /usr/local/bin/gtar --create --file - --directory / > --one-file-system --sparse --ignore-failed-read --totals . > /dev/null > /usr/local/bin/gtar: ./proc: file changed as we read it > > Before I file a bug report, can anyone think of a legitimate reason why > gtar would be touching /proc at all? Just a guess, really but: /proc is a file on /. /proc/* are files on /proc. The former is still on the root filesystem (if only as a directory stub to be used as a mountpoint), so reading it isn't leaving that filesystem. Reading anything *in* it would be. Just a thought. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6de19086dd1301d00679b0e51ca10a5b.squirrel>