commit babddd74dae2574824381c0bef9b80ed35dbf9df
Author: Tomohiro Kusumi <[email protected]>
Date:   Sun Apr 9 19:46:20 2017 +0300

    sbin/hammer: Make info command properly handle non HAMMER path
    
    This shouldn't be needed if i/f of libhammer were carefully designed,
    but this seems to be the only guaranteed way to detect non HAMMER path,
    and print a proper error message that makes sense for UFS, etc.
    
    -- before this commit
     # hammer info /boot
     hammer: libhammer_get_fsinfo     <--- ???
    
    -- with this commit
     # hammer info /boot
     hammer: /boot is probably not a HAMMER filesystem: Inappropriate ioctl for 
device

Summary of changes:
 sbin/hammer/cmd_info.c | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

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


-- 
DragonFly BSD source repository

Reply via email to