git: mount_msdos - Add /dev prefix if necessasry

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 23 13:51:34 PST 2022


commit 974c9e400dab5141569a871a400ffe23c6d7159d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Feb 23 13:50:12 2022 -0800

    mount_msdos - Add /dev prefix if necessasry
    
    * Automatically add the /dev prefix if a relative device path is
      specified.  For example 'vn0' turns into '/dev/vn0'.
    
    * Fixes gpt init sequences that short-hand the device.
    
    Reported-by: ferz

Summary of changes:
 sbin/mount_msdos/mount_msdos.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/974c9e400dab5141569a871a400ffe23c6d7159d


-- 
DragonFly BSD source repository



More information about the Commits mailing list