DragonFly-2.1.1.411.gb3c5 master contrib/bsdinstaller-1.1.6/src/lib/libinstaller mount.c

Matthias Schmidt matthias at crater.dragonflybsd.org
Tue Jan 13 10:16:24 PST 2009


commit b3c5854c32068e6930b8bb6ae35d596768247280
Author: Matthias Schmidt <matthias at dragonflybsd.org>
Date:   Tue Jan 13 18:51:54 2009 +0100

    Fix a bug in the installer.
    
    The installer tried to unmount all mount points in order (e.g. /var/tmp
    should be unmounted before /var).  The code had a bug which prevent it from
    doing it correctly.  It seems that nobody noticed the bug, because the default
    file system layout does not suggest subdir mounts.  With the introduction of
    PFS and subdir mounts (e.g. a /var/crash PFS), the bug showed up.
    
    Simplify the code a bit and sort the mounted file systems in reverse
    lexicographical order.
    
    In-collab-with: mneumann@

Summary of changes:
 .../src/lib/libinstaller/mount.c                   |   53 +++++++++-----------
 1 files changed, 23 insertions(+), 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b3c5854c32068e6930b8bb6ae35d596768247280


-- 
DragonFly BSD source repository





More information about the Commits mailing list