Re: Executing binaries on new filesystem

Mike Fedyk (mfedyk@matchmail.com)
Sat, 17 Nov 2001 14:24:59 -0800


On Sat, Nov 17, 2001 at 02:18:21PM -0800, Rock Gordon wrote:
> Hi,
>
> I've written a modest filesystem for fun, it works
> pretty ok, but when I try to execute binaries from it,
> bash says "cannot execute binary file" ... If I copy
> the same binary elsewhere, it executes perfectly.
>

There's probably a way for the FS to tell the rest of the kernel that the
file is executable.... You'll probably need to set that for all files.
That is, unless you have a chmod interface for your "FS for fun"...

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