NetBSD Problem Report #17801

Received: (qmail 13693 invoked by uid 605); 2 Aug 2002 01:48:32 -0000
Message-Id: <200208020151.g721pDM23845@mofo.grunta.com>
Date: Fri, 2 Aug 2002 11:51:13 +1000 (EST)
From: grant@netbsd.org
Sender: gnats-bugs-owner@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: sysinst doesn't correctly handle changing mount points or conflicting mount points
X-Send-Pr-Version: 3.95

>Number:         17801
>Category:       install
>Synopsis:       sysinst doesn't correctly handle changing mount points or conflicting mount points
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 02 01:49:00 +0000 2002
>Closed-Date:    
>Last-Modified:  Sun Aug 04 14:09:01 +0000 2002
>Originator:     grant beattie
>Release:        NetBSD 1.6_BETA5, 20020729
>Organization:
>Environment:
NetBSD  1.6_BETA5 NetBSD 1.6_BETA5 (GENERIC) #0: Tue Jul 30 12:29:28 EST 2002 grant@mofo:/raid/netbsd/netbsd-1-6/20020729/sparc64/obj/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
>Description:
While using the disklabel editor, I changed my mind about which
partition I wanted to be root. I changed a's mount point to be / and
tried to remove h's mount point by simply pressing <enter> at the
mount point prompt. This did not clear the mount point, it just left
it as-is.

I then changed it to ' ' (space), which was visually "correct", but
both a and h were mounted on /mnt.

/dev/sd0a        254119        1    241412     0%    /mnt
/dev/sd0h         97919        4     93019     0%    /mnt

(sd0h is mounted on top of sd0a, making sd0a inaccessible).
>How-To-Repeat:
attempt to change some duplicate mountpoints in sysinst, notice that
the result are not what you might expect.
>Fix:
correctly undef mount points (maybe 'none' or something?). check for
duplicate mount points.
>Release-Note:
>Audit-Trail:

From: Havard Eidnes <he@netbsd.org>
To: grant@netbsd.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: install/17801: sysinst doesn't correctly handle changing mount
 points or conflicting mount points
Date: Fri, 02 Aug 2002 16:43:00 +0200 (CEST)

 I suspect a possible workaround would have been to define sd0h to have
 fstype "unused" if it was indeed not going to be used (or you did not
 want sysinst to think it would be used), or to insert its real
 intended mount point (different from "/").

 Regards,

 - Havard
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.