Revision 13992

Date:
2017/05/10 19:31:22
Author:
tcberner
Revision Log:
Add filesytem support to kdf
Files:

Legend:

 
Added
 
Removed
 
Modified
  • branches/plasma5/KDE/sysutils/kdf/files/patch-git-fstype

     
    1 From 6aeb0c5366a32f571de7e7480ae95f5fd9b394f1 Mon Sep 17 00:00:00 2001
    2 From: "Tobias C. Berner" <tcberner@gmail.com>
    3 Date: Wed, 10 May 2017 21:30:40 +0200
    4 Subject: [PATCH] Fix filesytem type detection on FreeBSD
    5
    6 FreeBSD's df also uses -T to print the filesystem type:
    7 > -T Include file system type.
    8 ---
    9 src/disklist.h | 2 +-
    10 1 file changed, 1 insertion(+), 1 deletion(-)
    11
    12 diff --git a/src/disklist.h b/src/disklist.h
    13 index dd17a68..6e9845e 100644
    14 --- src/disklist.h
    15 +++ src/disklist.h
    16 @@ -33,7 +33,7 @@
    17
    18 static QLatin1String DF_Command = QLatin1String( "df" );
    19
    20 -#if defined(Q_OS_LINUX)
    21 +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
    22 static QLatin1String DF_Args = QLatin1String( "-kT" );
    23 static const bool No_FS_Type = false;
    24 #else
    25 --
    26 2.12.1
    27