Page 1 of 1

Compiling Mksquashfs - XATTR_SUPPORT question

Posted: Thu 11 Apr 2013, 14:53
by anikin
Please, help me make a choice: is XATTR_SUPPORT needed in Mksquashfs tool?
###############################################
# Extended attribute (XATTRs) build options #
###############################################
#
# Building XATTR support for Mksquashfs and Unsquashfs
#
# If your C library or build/target environment doesn't support XATTRs then
# comment out the next line to build Mksquashfs and Unsquashfs without XATTR
# support
XATTR_SUPPORT = 1

# Select whether you wish xattrs to be stored by Mksquashfs and extracted
# by Unsquashfs by default. If selected users can disable xattr support by
# using the -no-xattrs option
#
# If unselected, Mksquashfs/Unsquashfs won't store and extract xattrs by
# default. Users can enable xattrs by using the -xattrs option.
XATTR_DEFAULT = 1
Thank you in advance.

Posted: Fri 12 Apr 2013, 12:28
by mavrothal
AFAIK, xattr, acl are not supported by Aufs.
You may even have difficulties compiling with options, if you run frugal.
So, you may want to comment out XATTR_DEFAULT and maybe XATTR_SUPPORT

Posted: Fri 12 Apr 2013, 13:11
by anikin
Thank you very much, mavrothal!