Re: NFS-mounted, read-only /dev unusable in 2.6

From: Frank Steiner
Date: Wed Aug 04 2004 - 05:37:11 EST


Neil Brown wrote:

But I just tried to reproduce this on 2.6.7-rc2 (it's what my
workstation happens to be running) and I can't. I can mount an
nfs-exported /dev from both 2.4 and 2.6 servers read-only and
I can open devices on that read-only mount just fine.


Yes, it was a bug in the NFS server in 2.6 that was fixed fairly
recently.

Hi Neil,

it still occurs in 2.6.8rc3 in some way:

Server and client both running 2.6.8rc3. The client mounts the /dev
directory from the server *read-only always*:

- when the server exports its /dev ro, the client cannot echo sth.
to the mounted dev/console
- when the server exports its /dev rw, the client can echo to dev/console,
although it has mounted it ro.

A client running kernel 2.4 can echo to dev/console in both cases,
even with the server exporting /dev ro.

So I'm not sure if this is a client or server issue, but I guess that
Trond is reading NFS stuff here, too...


cu,
Frank

--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/