DragonFly commits List (threaded) for 2009-01
DragonFly BSD
DragonFly commits List (threaded) for 2009-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthias Schmidt <matthias@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 Jan 2009 10:14:50 -0800 (PST)

commit b3c5854c32068e6930b8bb6ae35d596768247280
Author: Matthias Schmidt <matthias@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



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