Messages in this thread | | | Date | Wed, 21 Mar 2007 12:37:33 -0700 | From | Greg KH <> | Subject | Re: Why is /dev on a different filesystem ? [Kernel 2.6.20.3] |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |