| Summary: | e2fsprogs: Integrate initial directory into mke2fs | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Darren Hart <dvhart> |
| Component: | deployment | Assignee: | Robert Yang <liezhi.yang> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium+ | CC: | bruce.ashfield, dvhart, ionutx.chisanovici, jason.wessel, mark.hatle, sgw, song.liu |
| Version: | 1.4 | ||
| Target Milestone: | 1.6 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
| Bug Depends on: | |||
| Bug Blocks: | 4106, 4661 | ||
|
Description
Darren Hart
2013-03-21 22:47:41 UTC
Should be 'enhancement' since it's a feature request. Robert, are you actively working this? Or is this pending the debugfs fixes and integration first? (In reply to comment #2) > Robert, are you actively working this? Or is this pending the debugfs fixes > and integration first? Yes, I'm working on it now, the debugfs patches have been sent to the ext4 mailing list, I think that what shall we do next: 1) The draft design for this case: a) Add a [-d <directory>] option to mke2fs to specify the initial directory b) We need copy the following types of files: - directory - regular file | regular empty file - symbolic link - block special file - character special file - fifo c) The hard links d) The sparse file e) Use the following ways to verify the created image: - fsck.ext* -fn - diff -Nur <initial directory> <mounted image> - Verify the sparse file: find -type f -printf "%S\t%p\n" 2>/dev/null | gawk '{if ($1 < 1.0) print $1, $2}' - Use runqemu to test the image 2) Talk with the maintainer of e2fsprogs to see whether such a patch is acceptable. Please feel free to give your comments. The patches have been sent to linux-ext4 mailing list, but it is not impossible to pass the review in 1.5, so move it 1.6. Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5809ce0c895ddb96c4b1dd4c87ebd85dfbe5c1a0 Hi, Verified with da6926bc6a17478bd38f0df176116b6552c124f6. Cheers, Ionut C |