From: Greg KH <greg@kroah.com>
To: Paul Rolland <rol@as2917.net>
Cc: "'LKML'" <linux-kernel@vger.kernel.org>
Subject: Re: Why is /dev on a different filesystem ? [Kernel 2.6.20.3]
Date: Wed, 21 Mar 2007 12:37:33 -0700 [thread overview]
Message-ID: <20070321193733.GA18778@kroah.com> (raw)
In-Reply-To: <04ea01c76bed$11b0d050$4b00a8c0@donald>
On Wed, Mar 21, 2007 at 08:13:50PM +0100, Paul Rolland wrote:
> Hello,
>
> I was trying to backup a machine using tar and the --one-file-system option
> and I was getting an archive without /dev, but tar was spitting :
> /dev: file is on a different filesystem; not dumped
That is probably because your distro is using udev which usually means
tmpfs is mounted at /dev/
> So, I had a look at the code in tar, and the comparison is done on the
> stat.st_dev field...
> I then wrote a simple program to stat("/", ...) and stat("/dev", ...),
> and got :
What does /proc/mounts show?
thanks,
greg k-h
next prev parent reply other threads:[~2007-03-21 19:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-21 19:13 Why is /dev on a different filesystem ? [Kernel 2.6.20.3] Paul Rolland
2007-03-21 19:20 ` Valdis.Kletnieks
2007-03-21 19:30 ` Paul Rolland
2007-03-21 19:37 ` Greg KH [this message]
2007-03-21 19:59 ` David Schwartz
2007-03-21 20:58 ` Alistair John Strachan
2007-03-21 21:32 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070321193733.GA18778@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rol@as2917.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox