[lkml]   [2007]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Why is /dev on a different filesystem ? [Kernel]
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?


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-03-21 20:41    [W:0.034 / U:32.280 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site