From owner-freebsd-bugs Tue Feb 21 13:37:10 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA16251 for bugs-outgoing; Tue, 21 Feb 1995 13:37:10 -0800 Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id NAA16245 for ; Tue, 21 Feb 1995 13:37:02 -0800 Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA12486; Tue, 21 Feb 95 22:36:14 +0100 Date: Tue, 21 Feb 95 22:36:14 +0100 From: jmz@cabri.obs-besancon.fr (Jean-Marc Zucconi) Message-Id: <9502212136.AA12486@cabri.obs-besancon.fr> To: rgrimes@gndrsh.aac.dev.com Cc: freebsd-bugs@freefall.cdrom.com In-Reply-To: <199502212114.NAA22558@gndrsh.aac.dev.com> (rgrimes@gndrsh.aac.dev.com) Subject: Re: ls -R does not recurse (on cdrom) X-Mailer: Emacs Sender: bugs-owner@FreeBSD.org Precedence: bulk >>>>> "Rodney" == Rodney W Grimes 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 =========================================================================