[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH f15-branch master] mount needs to be told "nfs" or it assumes any argument is a device (#678414).



On Mon, 2011-03-28 at 16:55 -0400, Chris Lumens wrote:
> ---
>  loader/nfsinstall.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/loader/nfsinstall.c b/loader/nfsinstall.c
> index d313133..3706311 100644
> --- a/loader/nfsinstall.c
> +++ b/loader/nfsinstall.c
> @@ -190,7 +190,7 @@ static unsigned int isNfsIso(struct loaderData_s *loaderData) {
>      parseNfsHostPathOpts(loaderData->instRepo, &host, &path, &opts);
>      checked_asprintf(&url, "%s:%s", host, path);
>  
> -    if (doPwMount(url, "/mnt/isodir", "auto", opts, NULL)) {
> +    if (doPwMount(url, "/mnt/isodir", "nfs", opts, NULL)) {
>          logMessage(ERROR, "couldn't mount %s to look for NFSISO", url);
>          goto cleanup1;
>      }

Don't forget the same doPwMount() call in hdinstall.c.  It looks like
that is impacted by -t auto as well (see
https://bugzilla.redhat.com/show_bug.cgi?id=678086#c14)

Thanks,
James

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]