Re: lsattr: Invalid argument ?

Stephen C. Tweedie (sct@redhat.com)
Wed, 11 Nov 1998 12:36:20 GMT


On Tue, 10 Nov 1998 00:07:53 +0000, <dietmar.kling@usa.net> said:

> this happens on 2.1.127, no time to check with 2.0.
> but i believe this shouldn't happen

> minitiger:# ls -l miniserver
> prw-r--r-- 1 root root 0 Nov 2 16:10 miniserver
> minitiger:# lsattr miniserver
> lsattr 1.12, 9-Jul-98 for EXT2 FS 0.5b, 95/08/09
> lsattr: Invalid argument While reading flags on miniserver

It should, given the way lsattr is designed: it uses an ioctl() to
access the flags, and ioctls work very differently on device files.
We are aware of the problem, and it is not yet too late to add a
separate flags syscall to 2.2 for this.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/