Christopher Vasanth forced the electrons to say:
> Hi Binand:
> 
> This is getting curioser.  I tried rm -fr /misc.  I get no error message but
> the directory stays put.  I checked lsattr -a /misc as suggested by sreangsu.
> I get the message:
> 
>       lsattr: Inappropriate ioctl for device While reading flags on misc/.
>       ------------misc/..

Well, this is indeed crazy. Run the df command and see if something is
mounted on /misc. The inappropriate ioctl error comes from lsattr if it
is run on a non ext2 filesystem. Try umounting /misc.

I have encountered the zero size directory twice - the mount point of
the proc filesystem is of zero size, and once when I tried to mount an
incorrectly cut CD.

Or maybe there are errors in your root filesystem. Boot from a floppy
and run fsck on your root partition.

Personally, i'd go with the wrong filesystem argument, since lsattr succeeded
in reading flags for misc/.., which is presumably your /. It is failing for
misc/.

Let us know about umount and fsck.

Incidentally, did you run lsattr with the -a flag?

Binand

-- 
#define l/* Binand Raj S. <[EMAIL PROTECTED]> */".%\"-\"("
#define s/* Ambition: To write sendmail.cf from scratch  */abs(abs(i)-5)
main(i,j){for(i=-5;i<6;i++){for(j=0;j<35-s;j++,putchar(32));putchar(s[l]^
108);for(j=0;j<2*s-1;j++,putchar(32));s&&putchar(s[l]^108);putchar(10);}}

----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to