Debian Bug report logs - #397435
findutils: -ls does not show major/minor device number

version graph

Package: findutils; Maintainer for findutils is Andreas Metzler <ametzler@debian.org>; Source for findutils is src:findutils (PTS, buildd, popcon).

Reported by: Marc Haber <mh+debian-bugs@zugschlus.de>

Date: Tue, 7 Nov 2006 11:48:10 UTC

Severity: normal

Found in version findutils/4.2.28-1

Fixed in version findutils/4.5.11-1

Done: Andreas Metzler <ametzler@debian.org>

Bug is archived. No further changes may be made.

Forwarded to http://savannah.gnu.org/bugs/?18227

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#397435; Package findutils. (full text, mbox, link).


Acknowledgement sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
New Bug report received and forwarded. Copy sent to Andreas Metzler <ametzler@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Marc Haber <mh+debian-bugs@zugschlus.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: findutils: -ls does not show major/minor device number
Date: Tue, 07 Nov 2006 12:39:28 +0100
Package: findutils
Version: 4.2.28-1
Severity: normal

The docs say that find -ls behaves as ls -dils. This is not true:

$ find /dev/hda -ls
  1629    0 brw-rw----   1 root     disk              Nov  7 12:23 /dev/hda
$ ls -dils /dev/hda
1629 0 brw-rw---- 1 root disk 3, 0 Nov  7 12:23 /dev/hda
$

Find should print the device numbers for device nodes.

Greetings
Marc

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages findutils depends on:
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries

findutils recommends no packages.

-- no debconf information



Message sent on to Marc Haber <mh+debian-bugs@zugschlus.de>:
Bug#397435. (full text, mbox, link).


Message #8 received at 397435-submitter@bugs.debian.org (full text, mbox, reply):

From: Andreas Metzler <INVALID.NOREPLY@gnu.org>
To: 397435-submitter@bugs.debian.org, Andreas Metzler <gnu@downhill.at.eu.org>, bug-findutils@gnu.org
Subject: [bug #18227] find -ls does not display device numbers for device nodes.
Date: Tue, 07 Nov 2006 18:26:52 +0000
URL:
  <http://savannah.gnu.org/bugs/?18227>

                 Summary: find -ls does not display device numbers for device
nodes.
                 Project: findutils
            Submitted by: ametzler
            Submitted on: Dienstag 07.11.2006 um 19:26
                Category: find
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 4.2.28
           Fixed Release: None

    _______________________________________________________

Details:

This is <http://bugs.debian.org/397435>, it also applies to 4.3.x:

Marc Haber writes:
The docs say that find -ls behaves as ls -dils. This is not true:

$ find /dev/hda -ls
  1629    0 brw-rw----   1 root     disk              Nov  7 12:23 /dev/hda
$ ls -dils /dev/hda
1629 0 brw-rw---- 1 root disk 3, 0 Nov  7 12:23 /dev/hda
$

Find should print the device numbers for device nodes.

Greetings
Marc



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
Available only the item webpage     | 




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18227>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




Noted your statement that Bug has been forwarded to http://savannah.gnu.org/bugs/?18227. Request was from Andreas Metzler <ametzler@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Message sent on to Marc Haber <mh+debian-bugs@zugschlus.de>:
Bug#397435. (full text, mbox, link).


Message #13 received at 397435-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: 397435-submitter@bugs.debian.org, James Youngman <jay@gnu.org>, bug-findutils@gnu.org
Subject: [bug #18227] find -ls does not display device numbers for device nodes.
Date: Sat, 09 Jun 2007 17:54:40 +0000
Follow-up Comment #1, bug #18227 (project findutils):

I am (as yet) undecided on whether it's better to fix the documentation here,
or enhance the software.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18227>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




Message sent on to Marc Haber <mh+debian-bugs@zugschlus.de>:
Bug#397435. (Sun, 05 Jul 2009 23:03:05 GMT) (full text, mbox, link).


Message #16 received at 397435-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: James Youngman <jay@gnu.org>, 397435-submitter@bugs.debian.org, bug-findutils@gnu.org
Subject: [bug #18227] find -ls does not display device numbers for device nodes.
Date: Sun, 05 Jul 2009 23:00:22 +0000
Update of bug #18227 (project findutils):

                  Status:                    None => Need Info              
             Assigned to:                    None => jay                    

    _______________________________________________________

Follow-up Comment #2:

If there's no clear mandate from the user base generally, I would say it's
better not to change the functionality, but instead change the documentation
to describe more accurately what the program does.   Thoughts?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18227>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





Message sent on to Marc Haber <mh+debian-bugs@zugschlus.de>:
Bug#397435. (Wed, 07 Apr 2010 23:42:08 GMT) (full text, mbox, link).


Message #19 received at 397435-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: James Youngman <jay@gnu.org>, 397435-submitter@bugs.debian.org, bug-findutils@gnu.org
Subject: [bug #18227] find -ls does not display device numbers for device nodes.
Date: Wed, 07 Apr 2010 23:12:47 +0000
Update of bug #18227 (project findutils):

                  Status:               Need Info => None                   

    _______________________________________________________

Follow-up Comment #3:

Looks like nobody has a strong contrary opinion.   I'll update the
documentation.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18227>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





Message sent on to Marc Haber <mh+debian-bugs@zugschlus.de>:
Bug#397435. (Sun, 15 May 2011 22:06:03 GMT) (full text, mbox, link).


Message #22 received at 397435-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: James Youngman <jay@gnu.org>, 397435-submitter@bugs.debian.org, bug-findutils@gnu.org
Subject: [bug #18227] find -ls does not display device numbers for device nodes.
Date: Sun, 15 May 2011 21:38:41 +0000
Update of bug #18227 (project findutils):

                 Release:                  4.2.28 => 4.1.20                 

    _______________________________________________________

Follow-up Comment #4:

It turns out that this difference is caused by the fact that listfile.c checks
HAVE_ST_RDEV in order to figure out if it can print the major and minor
numbers.   However, the configure script actually defines the preprocessor
macro HAVE_STRUCT_STAT_ST_RDEV to indicate this instead (by calling
AC_CHECK_MEMBERS([struct stat.st_rdev])).

I've updated the check in listfile.c.

HAVE_ST_RDEV was defined by the obsolete Autoconf macro AC_STRUCT_ST_RDEV.  
In other words, this bug was introduced by an Autoconf upgrade which should
have been preceded by a change to use 

I think this bug was introduced in change
5ad489925af16440017573e20f6f53c7d2cd5358:-

commit 5ad489925af16440017573e20f6f53c7d2cd5358
Author: Kevin Dalley <kevin@seti.org>
Date:   Wed Apr 5 07:26:43 2000 +0000

    * configure.in: add Galition and Estonian languages.
    Miscellaneous other fixes.

It turns out that this difference is caused by the fact that listfile.c checks
HAVE_ST_RDEV in order to figure out if it can print the major and minor
numbers.   However, the configure script actually defines the preprocessor
macro HAVE_STRUCT_STAT_ST_RDEV to indicate this instead (by calling
AC_CHECK_MEMBERS([struct stat.st_rdev])).

I've updated the check in listfile.c.

HAVE_ST_RDEV was defined by the obsolete Autoconf macro AC_STRUCT_ST_RDEV.  
In other words, this bug was introduced by an Autoconf upgrade which should
have been preceded by a change to use 

I think this bug was introduced in change
5ad489925af16440017573e20f6f53c7d2cd5358:-

commit 5ad489925af16440017573e20f6f53c7d2cd5358
Author: Kevin Dalley <kevin@seti.org>
Date:   Wed Apr 5 07:26:43 2000 +0000

    * configure.in: add Galition and Estonian languages.
    Miscellaneous other fixes.


Hence this bug probably first affects findutils-4.1.7.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18227>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





Message sent on to Marc Haber <mh+debian-bugs@zugschlus.de>:
Bug#397435. (Sun, 15 May 2011 22:06:04 GMT) (full text, mbox, link).


Message #25 received at 397435-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: James Youngman <jay@gnu.org>, 397435-submitter@bugs.debian.org, bug-findutils@gnu.org
Subject: [bug #18227] find -ls does not display device numbers for device nodes.
Date: Sun, 15 May 2011 21:41:00 +0000
Update of bug #18227 (project findutils):

                  Status:                    None => Fixed                  
                 Release:                  4.1.20 => 4.1.7                  


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18227>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





Message sent on to Marc Haber <mh+debian-bugs@zugschlus.de>:
Bug#397435. (Sat, 02 Feb 2013 14:57:03 GMT) (full text, mbox, link).


Message #28 received at 397435-submitter@bugs.debian.org (full text, mbox, reply):

From: James Youngman <INVALID.NOREPLY@gnu.org>
To: James Youngman <jay@gnu.org>, 397435-submitter@bugs.debian.org, bug-findutils@gnu.org
Subject: [bug #18227] find -ls does not display device numbers for device nodes.
Date: Sat, 02 Feb 2013 14:54:34 +0000
Update of bug #18227 (project findutils):

             Open/Closed:                    Open => Closed                 
           Fixed Release:                    None => 4.5.11                 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18227>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




Reply sent to Andreas Metzler <ametzler@debian.org>:
You have taken responsibility. (Sat, 02 Feb 2013 17:51:05 GMT) (full text, mbox, link).


Notification sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
Bug acknowledged by developer. (Sat, 02 Feb 2013 17:51:06 GMT) (full text, mbox, link).


Message #33 received at 397435-close@bugs.debian.org (full text, mbox, reply):

From: Andreas Metzler <ametzler@debian.org>
To: 397435-close@bugs.debian.org
Subject: Bug#397435: fixed in findutils 4.5.11-1
Date: Sat, 02 Feb 2013 17:47:36 +0000
Source: findutils
Source-Version: 4.5.11-1

We believe that the bug you reported is fixed in the latest version of
findutils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 397435@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <ametzler@debian.org> (supplier of updated findutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Sat, 02 Feb 2013 18:31:22 +0100
Source: findutils
Binary: findutils locate
Architecture: source i386
Version: 4.5.11-1
Distribution: experimental
Urgency: low
Maintainer: Andreas Metzler <ametzler@debian.org>
Changed-By: Andreas Metzler <ametzler@debian.org>
Description: 
 findutils  - utilities for finding files--find, xargs
 locate     - maintain and query an index of a directory tree
Closes: 397435 626907 687358
Changes: 
 findutils (4.5.11-1) experimental; urgency=low
 .
   * New upstream version.
     + 10_bashism.diff - Fix new bashisms in testsuite.
     + Documents differences between oldfind and find in manpages find.1,
       and oldfind.1. Use this one instead of symlinking find.1.
       Closes: #626907 (LP: #1026586)
     + Fixes excessive memory usage when using -printf and %A %C or %T.
       Closes: #687358
     + findutils: -ls shows major/minor device number. Closes: #397435
     + Uses last entry in mtab instead of first one for -printf '%F', i.e. it
       won't show rootfs for files on / anymore.
Checksums-Sha1: 
 6b2da85e43219c889deb200668c97e4d0fd4af68 1398 findutils_4.5.11-1.dsc
 d56f9027dfbde529b15e53eee354ceb2ee91e524 3116431 findutils_4.5.11.orig.tar.gz
 0da1b292f831b24a3a8995b0b6cfa78b47e6e641 23157 findutils_4.5.11-1.debian.tar.gz
 27b55af3bea75ec018dddbc370e68713ddfb1d73 725430 findutils_4.5.11-1_i386.deb
 81f4d01e871c06eb4dd3cf707f2e68bbe28d7173 206436 locate_4.5.11-1_i386.deb
Checksums-Sha256: 
 dcf3655fd7aa492295d5e44ac6431e784368b4c85250b5fe2dc03274476ecd0b 1398 findutils_4.5.11-1.dsc
 75e823592d917f1ac853a35cf46d6deeeb3b984240331ad1723f60da1a725d22 3116431 findutils_4.5.11.orig.tar.gz
 639b57fc079cbd9586057ddea7b03a179ebdb65c0b44dab7d64315feb7b9dfa6 23157 findutils_4.5.11-1.debian.tar.gz
 754b31eab87b7b2ea1767e8a85b34abe452ce2fdcca36fef010a37e44c2a87d0 725430 findutils_4.5.11-1_i386.deb
 358e46217ad4359417699ee6d1159f81875a847945c5ca428b3ca782cff15178 206436 locate_4.5.11-1_i386.deb
Files: 
 0af14e7758696c9f38ee6c4bae841c51 1398 utils required findutils_4.5.11-1.dsc
 05307c7b283873d6da03fd6ada36895a 3116431 utils required findutils_4.5.11.orig.tar.gz
 94ff974035b6f9e61f6d39c056d5de67 23157 utils required findutils_4.5.11-1.debian.tar.gz
 a7ec34edb655ce537f5ba619ca321083 725430 utils required findutils_4.5.11-1_i386.deb
 adf9e4242f54e955f63f01fe0864deae 206436 utils optional locate_4.5.11-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEAREDAAYFAlENTvgACgkQHTOcZYuNdmMTYgCcD95qExJnvJwB3ErSHK+ncz+s
rSkAn2eMwPdhvDQo2b4yLqpch3AJNeXF
=Xo6J
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 30 Jun 2016 07:29:44 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Dec 23 16:31:34 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.