On Mon, 7 Sep 2009, Jacky Malcles wrote: > runltp can not run acl_test01 by default, we need a mounted partition > with ACL options. > > To have acl_test01 started by runltp (or manually) without any acl aware > partition,
> --- acl_test01.ori 2009-09-01 16:12:53.000000000 +0200 > +++ acl_test01 2009-09-01 16:12:39.000000000 +0200 > +mount | grep ext2 > +if [ $? != 0 ] > +then > + mkfs -t ext3 /dev/loop0 #> /dev/null 2>&1 > + mkdir -m 777 tacl/mount-ext3 > + mount -t ext3 -o defaults,acl,user_xattr /dev/loop0 tacl/mount-ext3 > + if [ $? != 0 ] > + then > + echo "" > + echo "FAILED: [ mount ] Make sure that ACL (Access Control > List)" > + echo -e "\t and Extended Attribute are built into the kernel" > + echo -e "\t Can not mount ext3 file system with acl and > user_xattr options" > + exit 1 > + fi Shouldn't this return success, with TCONF? However, it seems mount doesn't fail when trying this on a kernel with CONFIG_EXT3_FS_ACL=n, so this is not a good way to detect the absence of the ACL/XA feature. With kind regards, Geert Uytterhoeven Software Architect Techsoft Centre Technology and Software Centre Europe The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium Phone: +32 (0)2 700 8453 Fax: +32 (0)2 700 8622 E-mail: [email protected] Internet: http://www.sony-europe.com/ A division of Sony Europe (Belgium) N.V. VAT BE 0413.825.160 · RPR Brussels Fortis · BIC GEBABEBB · IBAN BE41293037680010 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
