[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-diffutils] diff on char device files
From: |
Paul Eggert |
Subject: |
Re: [bug-diffutils] diff on char device files |
Date: |
Thu, 15 Jul 2010 15:46:47 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5 |
On 07/13/10 12:33, Alexander Stein wrote:
> Hello,
>
> once I tried to compare char device files in 2 root file systems for embedded
> devices. I noticed I always get a difference on char device files though they
> have the same major and minor number. It seems this is unrecognized by diff.
> After some searching I found the following patch: http://www.mail-
> archive.com/address@hidden/msg01172.html
> This addresses the current problem.
I was dubious about that proposal, since it relied on a new option.
diff should just Do The Right Thing without the user having to
specify a new option. It's on the list of things to do. POSIX
allows diff to work the way you like on your example, so we should
fix it to do that.