Re: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Daniel Staal
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 --fi

Re: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Michael Sierchio
On Fri, Nov 18, 2011 at 8:59 AM, Daniel Staal wrote: > /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. >

Re: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Fri Nov 18 09:36:09 2011 > From: Kirk Strauser > Date: Fri, 18 Nov 2011 09:34:18 -0600 > To: FreeBSD Questions ML > Subject: Shouldn't GNU tar be ignoring /proc with --one-file-system? > > I use Amanda to make nightly backups of a bunch of servers using

Re: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Matthew Seaman
On 18/11/2011 17:18, Michael Sierchio wrote: > On Fri, Nov 18, 2011 at 8:59 AM, Daniel Staal wrote: > >> > /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

Re: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Kirk Strauser
On Nov 18, 2011, at 11:27 AM, Robert Bonomi wrote: > See the output of 'mount(8)' for the names of all the mounted filesystems on > your machine. $ mount | grep proc procfs on /proc (procfs, local) > > *NOTE*WELL* that '/proc' is *not* a separate filesystem. It is merely a > _directory_ with

Re: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Michael Sierchio
On Fri, Nov 18, 2011 at 9:27 AM, Matthew Seaman wrote: > I find it quite astonishing that /proc would deliberately behave > differently to *every other* filesystem available.  The mountpoint > should belong to the filesystem mounted on it. I have an idea what you mean by "belong to" in this case

Re: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Daniel Feenberg
On Fri, 18 Nov 2011, Kirk Strauser wrote: On Nov 18, 2011, at 11:27 AM, Robert Bonomi wrote: See the output of 'mount(8)' for the names of all the mounted filesystems on your machine. $ mount | grep proc procfs on /proc (procfs, local) *NOTE*WELL* that '/proc' is *not* a separate filesy

Re: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread perryh
Kirk Strauser wrote: > On Nov 18, 2011, at 11:27 AM, Robert Bonomi wrote: > > > See the output of 'mount(8)' for the names of all the mounted > > filesystems on your machine. > > $ mount | grep proc > procfs on /proc (procfs, local) > > > *NOTE*WELL* that '/proc' is *not* a separate filesystem.

RE: Shouldn't GNU tar be ignoring /proc with --one-file-system?

2011-11-18 Thread Terrence Koeman
> -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of Daniel Staal > Sent: Friday, November 18, 2011 18:00 > To: freebsd-questions@freebsd.org > Subject: Re: Shouldn't GNU tar be ignorin