Subject: install/17801: sysinst doesn't correctly handle changing mount points or conflicting mount points
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 08/02/2002 11:51:13
>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:   Thu Aug 01 18:49:00 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: