Changeset 2772


Ignore:
Timestamp:
Apr 22, 2011, 2:00:07 AM (8 years ago)
Author:
bruno
Message:
  • Adds support of ext attr through the GUI. Fix second part of #468
Location:
branches/2.2.9/mondo/src/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-cli.c

    r2713 r2772  
    4545
    4646/* Do we use extended attributes and acl ?
    47  * By default no, use --acl & --attr options to force their usage */
     47 * By default no, use -z option to force their usage */
    4848extern char *g_getfacl;
    4949extern char *g_getfattr;
  • branches/2.2.9/mondo/src/common/libmondo-devices.c

    r2771 r2772  
    3838
    3939extern char *which_compression_type();
     40/* Do we use extended attributes and acl ?  */
     41extern char *g_getfacl;
     42extern char *g_getfattr;
    4043
    4144extern int g_current_media_number;
     
    27452748            finish(1);
    27462749        }
     2750        if (ask_me_yes_or_no("Do you want to backup extended attributes?")) {
     2751            if (find_home_of_exe("getfattr")) {
     2752                mr_asprintf(&g_getfattr,"getfattr");
     2753            }
     2754            if (find_home_of_exe("getfacl")) {
     2755                mr_asprintf(&g_getfacl,"getfacl");
     2756            }
     2757        }
    27472758// Interactive mode:
    27482759#ifdef __IA64__
Note: See TracChangeset for help on using the changeset viewer.