Tux

...making Linux just a little more fun!

recursively touching files...

Amos Elberg [amos.elberg at gmail.com]
Wed, 29 Nov 2006 21:39:02 -0500

Hi. I attempted to run your script at https://linuxgazette.net/issue66/tag/2.html on a directory on a USB drive, ext3 partition, on a gentoo box with a 2.4 kernel. The result (it seems to be from your script, but maybe I'm wrong) is that many of the subdirectories linux now thinks are not, in fact, directories, and for many others, it gives an "Input/Output Error" on ls. Any suggestions?


Top    Back


Benjamin A. Okopnik [ben at linuxgazette.net]
Wed, 29 Nov 2006 23:59:45 -0500

Hi, Amos -

You're probably unaware of this, but you sent your message in an HTML format, which more than doubled the size of your message unnecessarily, and will create extra work for our Mailbag editor. Please change your mailer's settings to stop it from doing this. For more info, please see https://expita.com/nomime.html.

On Wed, Nov 29, 2006 at 09:39:02PM -0500, Amos Elberg wrote:

> 
>    Hi.  I attempted to run your script at
>    [1]https://linuxgazette.net/issue66/tag/2.html on a directory on a USB drive,
>    ext3 partition, on a gentoo box with a 2.4 kernel.  The result (it seems to
>    be from your script, but maybe I'm wrong) is that many of the subdirectories
>    linux now thinks are not, in fact, directories, and for many others, it
>    gives an "Input/Output Error" on ls.  Any suggestions?

I seriously doubt that it has anything to do with the script; it sounds as though your directory inode is rather badly broken. My suggestion would be to back up everything you can and run '/sbin/e2fsck -p' on your device. In my experience, "Input/Output Error" is the message you get when read() fails on a piece of hardware.

-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * https://LinuxGazette.NET *

Top    Back


Thomas Adam [thomas.adam22 at gmail.com]
Thu, 30 Nov 2006 12:27:40 +0000

On Wed, Nov 29, 2006 at 09:39:02PM -0500, Amos Elberg wrote:

> Hi.  I attempted to run your script at
> https://linuxgazette.net/issue66/tag/2.html on a directory on a USB drive,
> ext3 partition, on a gentoo box with a 2.4 kernel.  The result (it seems to
> be from your script, but maybe I'm wrong) is that many of the subdirectories
> linux now thinks are not, in fact, directories, and for many others, it
> gives an "Input/Output Error" on ls.  Any suggestions?

Heh -- I wrote up a separate script to do this sometime later in issue81, I believe it was. Your errors, however, are as a result of hardware.

It was indeed issue81 - here . - Kat

-- Thomas Adam

-- 
ThisWindow (thomas_adam) Destroy

Top    Back