xfs
[Top] [All Lists]

Re: Can't get initial console

To: Steve Lord <lord@xxxxxxx>
Subject: Re: Can't get initial console
From: utz lehmann <xfs@xxxxxxxxxx>
Date: Thu, 18 Jan 2001 22:28:42 +0100
Cc: utz lehmann <xfs@xxxxxxxxxx>, "Marcelo E. Magallon" <marcelo.magallon@xxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <200101181920.f0IJK8t23420@jen.americas.sgi.com>
References: <lord@sgi.com> <200101181920.f0IJK8t23420@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
hi

it works. not mounting the root fs read only works too (without the patch).

thanks.

utz lehmann


Steve Lord [lord@xxxxxxx] wrote:
> OK, I have to go off the air for a while here, but I think the problem is
> due to opening the console read/write before the filesystem is read/write,
> a very basic work around would be to comment out this check:
> 
>         if ((mode & IWRITE) && !WRITEALLOWED(XFS_ITOV(ip)))
>                 return XFS_ERROR(EROFS);
> 
> at line 3486 of fs/xfs/xfs_inode.c
> 
> This is a guess and is not the correct final solution. It all has to do
> with xfs doing its own permission checks I think. Can someone try and
> let me know.
> 
> Steve
> 


<Prev in Thread] Current Thread [Next in Thread>