On Tue, Apr 05, 2005 at 03:24:27PM +0200, Santiago Vila wrote:
> On Tue, 5 Apr 2005, Robert Millan wrote:
> 
> > Package: diff
> > Version: 2.8.1-11
> > Severity: normal
> > 
> > [EMAIL PROTECTED]:~$ sudo cp -a /dev/ /tmp/
> > [EMAIL PROTECTED]:~$ diff -ur /dev/ /tmp/dev/ | head
> > File /dev/acd0 is a character special file while file /tmp/dev/acd0 is a 
> > character special file
> > [...]
> > 
> > Both are character files, but diff reports them as if they were different.
> 
> This is already reported as Bug#126668. May I close this duplicate?

I'm sorry I missed this.  I looked at the existing bug list but #126668's
description didn't seem related at first glance (consider retitling..).
Please do as you see fit.

> I promise to tell you when it's fixed.

No need.  I just wanted to make sure it's reported.

> Anyway, I fail to see why would you want to "cp -a /dev" on kfreebsd-i386,
> which has devfs. I have this as one of my boot scripts:

Actualy I found the bug while debugging udev on a linux-gnu system, then used
kfreebsd-gnu just to reproduce it and file the bug. :>

> #!/bin/sh
> root=/chroot-unstable
> mount_linprocfs proc  $root/proc
> mount_devfs  devfs $root/dev
> 
> I suspect there should be a way to do the same using /etc/fstab but
> didn't have the time to ask you :-)

Ah, you picky ;)

The syntax is:

  null $root/proc linprocfs rw 0 0
  null $root/dev devfs rw 0 0

(If you like, you can replace "null" with "foobar", or "this_string_is_useless",
and it'll still work :))

However, for chroots I usualy do:

  /proc $root/proc nullfs rw 0 0
  /dev $root/dev nullfs rw 0 0

-- 
 .''`.   Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `'    http://www.debian.org/ports/kfreebsd-gnu
  `-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to