Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 95 22:36:14 +0100
From:      jmz@cabri.obs-besancon.fr (Jean-Marc Zucconi)
To:        rgrimes@gndrsh.aac.dev.com
Cc:        freebsd-bugs@freefall.cdrom.com
Subject:   Re: ls -R does not recurse (on cdrom)
Message-ID:  <9502212136.AA12486@cabri.obs-besancon.fr>
In-Reply-To: <199502212114.NAA22558@gndrsh.aac.dev.com> (rgrimes@gndrsh.aac.dev.com)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Rodney" == Rodney W Grimes <rgrimes@gndrsh.aac.dev.com> writes:

 >> 
 >> 'ls -R /cdrom' sometimes lists only the /cdrom directory and does not
 >> recurse, but 'ls -lR /cdrom' works. This nevers happens after a
 >> reboot, but only  after a number of file access on the cdrom. One
 >> can trigger the bug with eg. 'find /cdrom -type f -exec file {} \;' 

 > For the find problem we need to pull over some patches made to 1.X find,
 > try this and let me know if it works for you (I don't have a cdrom
 > on a 2.x system here :-().

The find command works, it is just used to access files so that 'ls'
fails. You can try on freefall, this happens here too:
Script started on Tue Feb 21 13:32:40 1995
bash$ ls -R /cdrom |wc
      11      11      90
bash$ ls -R /cdrom |wc
     297     285    2960
bash$ ls -R /cdrom |wc
      74      69     750
bash$ ls -R /cdrom |wc
      11      11      90
bash$ ls -R /cdrom |wc
     268     258    2640
bash$ ls -R /cdrom |wc
      11      11      90
bash$ ls -R /cdrom |wc
     335     320    3413
bash$ hostname
freefall.cdrom.com
bash$ exit

Script done on Tue Feb 21 13:33:26 1995


 > Find /cdrom -fstype cd9660 -type f -exec file {} \;

cd9660 is an unsupported type! ("find: cd9660: unknown file type")

 > This may be the default file system type used by find not containing
 > cd9660 (this was the problem in 1.x, only it was missing isofs).

 > -- 
 > Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
 > Accurate Automation Company                   Custom computers for FreeBSD

Jean-Marc

-- 
    ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
    Jean-Marc Zucconi             |         jmz@cabri.obs-besancon.fr
    Observatoire de Besancon      |    
    F 25010 Besancon cedex        | PGP Key: finger jmz@cabri.obs-besancon.fr
    =========================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9502212136.AA12486>