Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2004 19:27:58 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Poul-Henning Kamp <phk@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/rc.d initdiskless
Message-ID:  <20040427162758.GA74867@ip.net.ua>
In-Reply-To: <200404271542.i3RFgYwr078494@repoman.freebsd.org>
References:  <200404271542.i3RFgYwr078494@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tue, Apr 27, 2004 at 08:42:34AM -0700, Poul-Henning Kamp wrote:
> phk         2004/04/27 08:42:34 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     etc/rc.d             initdiskless 
>   Log:
>   When using this in non-NFSroot circumstances, `mount -t nfs` may
>   return empty.  Add a dummy element to prevent the alternate action
>   of the shell builtin "set"
>   
>   Revision  Changes    Path
>   1.35      +2 -1      src/etc/rc.d/initdiskless
> 
A better fix would be to:

-set `mount -t nfs`
+set -- `mount -t nfs`


Cheers,
-- 
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAjooOUkv4P6juNwoRAkqxAJ4qXrSv5GP2vuNrcTH8XEBlWJVCeQCfQCun
A95e9HzF7r8M0s6WE+NUxxk=
=OBYN
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040427162758.GA74867>