Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1127 - diff -r /dev
Summary: diff -r /dev
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: diffutils
Version: 5.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-02-12 03:02 UTC by frank
Modified: 2008-05-01 15:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2000-09-11 15:11:32 UTC

Attachments (Terms of Use)

Description frank 1999-02-12 03:02:16 UTC
The following is an error in the diff command.  When
comparing devices in a subdirectory, diff does not recognize
files as the same device even though they may be.

[root@frank /root]# diff d*
File d1/fd is a block special file while file d2/fd is a
block special file
[root@frank /root]# ls -l d*
total 0
brw-rw-r--   1 root     root       2,   0 Feb 11 21:51 fd

total 0
brw-rw-r--   1 root     root       2,   0 Feb 11 21:51 fd
[root@frank /root]#

Comment 1 Tim Waugh 2000-09-11 15:05:31 UTC
I can reproduce this.

Comment 2 Tim Waugh 2000-09-11 15:11:30 UTC
This behaviour seems to be mandated by POSIX and Single UNIX.

Note You need to log in before you can comment on or make changes to this bug.