Re: Some enhancements for nfsroot

Ulrich Windl (Ulrich.Windl@rz.uni-regensburg.de)
Tue, 16 Apr 1996 10:49:07 +0100


On 15 Apr 96 at 18:09, Swen Thuemmler wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
[...]
> - --- linux/init/main.c.orig Mon Apr 15 18:01:27 1996
> +++ linux/init/main.c Mon Apr 15 18:02:21 1996
> @@ -521,7 +521,7 @@
> int n;
> line += 8;
> ROOT_DEV = MKDEV(UNNAMED_MAJOR, 255);
> - - if (line[0] == '/' || (line[0] >= '0' && line[0] <= '9')) {

^^^^^ Please don't PGP-clearsign patch files"; they are not too
useful!

> + if (line[0] == '/' || line[0] == ',' || (line[0] >= '0' && line[0] <= '9')) {
> strncpy(nfs_root_name, line, sizeof(nfs_root_name));
> nfs_root_name[sizeof(nfs_root_name)-1] = '\0';
> continue;
[...]

------------
Ulrich Windl Klinikum der Universitaet Regensburg
Rechenzentrum DV-med Franz-Josef-Strauss-Allee 11
Tel: +49 941 944-5879 D-93053 Regensburg
FAX: +49 941 944-5882
Just imagine my mail address were <Ulrich.Windl@rz.uni.r.de>...