lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070321193733.GA18778@kroah.com>
Date:	Wed, 21 Mar 2007 12:37:33 -0700
From:	Greg KH <greg@...ah.com>
To:	Paul Rolland <rol@...917.net>
Cc:	'LKML' <linux-kernel@...r.kernel.org>
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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ