What steps will reproduce the problem?
a.manjunatha@a-manjunatha~$# cd ~/myrootfs
a.manjunatha@a-manjunatha~$# ls
bin boot csa dev etc home lib lost+found manju media mnt opt proc
root run sbin sdcard smack srv sys tmp usr var
a.manjunatha@a-manjunatha~$# cd ..
bash# sudo attr -s "Key001" -V "9999" ./myrootfs/usr/bin/file
Attribute "Key001" set to a 4 byte value for ./myrootfs/usr/bin/file:
9999
a.manjunatha@a-manjunatha~$# getfattr -d ./myrootfs/usr/bin/file
# file: myrootfs/usr/bin/file
user.Key001="9999"
a.manjunatha@a-manjunatha:~$# sudo mkyaffs2 --yaffs-ecclayout ./myrootfs/
yaffsrootfs.img
mkyaffs2 0.2.9_20120815: image building tool for YAFFS2.
stage 1: scanning directory './myrootfs/'... [done]
scanning complete, total objects: 7918.
stage 2: creating image 'yaffsrootfs.img'
[===============================================================================
================================================================================
================================================================================
========] 7918/7918 100%
operation complete,
7918 objects in 90015 NAND pages.
a.manjunatha@a-manjunatha:~/$# sudo unyaffs2 --yaffs-ecclayout
./yaffsrootfs.img extracted_folder
unyaffs2 0.2.9_20120815: image extracting tool for YAFFS2.
scanning image './yaffsrootfs.img'... [done]
scanning complete, total objects: 7918
building fs tree ... [done]
building complete, total objects: 7918
extracting image into 'extracted_folder'
[===============================================================================
================================================================================
================================================================================
========] 7918/7918 100%
modify files attributes... [done]
operation complete,
files were extracted into 'extracted_folder'.
a.manjunatha@a-manjunatha:~/$# getfattr -d ./extracted_folder/usr/bin/file
<Extended attribute is missing after mkyaff2 and unyaff2>
Is there is Way to Fix this issue?
http://www.yaffs.net/documents/faq
in the above link it is mentioned it supports the extended attributes.
What is the expected output? What do you see instead?
It should show extended attributes after mkyaffs2 and unyaff2
What version of the product are you using? On what operating system?
mkyaffs2 0.2.9_20120815 - A utility to make the yaffs2 image.
Please provide any additional information below.
Is there is Way to Fix this issue?
http://www.yaffs.net/documents/faq
in the above link it is mentioned it supports the extended attributes.
Original issue reported on code.google.com by Manjunat...@gmail.com on 28 Feb 2014 at 7:04
Original issue reported on code.google.com by
Manjunat...@gmail.com
on 28 Feb 2014 at 7:04