[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071022125504.GB29220@thunk.org>
Date: Mon, 22 Oct 2007 08:55:04 -0400
From: Theodore Tso <tytso@....edu>
To: Eric Sandeen <sandeen@...hat.com>
Cc: ext4 development <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH e2fsprogs] return status from chattr
On Fri, Oct 19, 2007 at 01:55:07PM -0500, Eric Sandeen wrote:
> Eric Sandeen wrote:
> > This is for RH bug #180596, Chattr command doesn't provide expected
> > exit code in case of failure.
> >
> > (trying to clear out an e2fsprogs bug backlog, can you tell?) :)
>
> Any comments on this one? Can we commit it if it looks ok?
It turns out you didn't quite completely fix the problem, since the
iterate_on_directory() command wasn't reflecting errors up.
Also, while I was at it I cleaned up the code so that it more it
attempts to set the flags on special files, instead of just ignoring
them. On Linux this will result in an error message, but at least
this way the user knows that those files didn't get set, and you can
suppress them using the -f flag, just like chmod/chown.
- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists