Both the Extended Attribute Record in the base ISO-9660 standard and
the RockRidge timestamp extension support a file creation timestamp.
Use this to populate the birthtime if present.
Details
Details
- Reviewers
des emaste markj - Commits
- rG3d945604ef8e: cd9660: Add support for birth times
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 74108 Build 70991: arc lint + arc unit
Event Timeline
| sys/fs/cd9660/cd9660_node.c | ||
|---|---|---|
| 181 | Why is it okay to ignore a conversion failure here? Ah, the birthtime will just be zeroed out in that case. I'd at least add an explicit cast to void for the return value. | |
| sys/fs/cd9660/cd9660_node.c | ||
|---|---|---|
| 181 | I've addressed this in the parent review I think where I use a more explicit memset just as in the RRIP code. I ended up doing a bit more work in that parent review as upon closer review, the parsing of the timestamps in this function before was just odd. | |
| sys/fs/cd9660/cd9660_node.h | ||
|---|---|---|
| 50 | Why not iso_btime for consistency with others? | |
| sys/fs/cd9660/cd9660_node.h | ||
|---|---|---|
| 50 | It actually is consistent with stat(2). | |
| sys/fs/cd9660/cd9660_node.h | ||
|---|---|---|
| 50 | Oh, I see, thanks. Then I guess it's too late to ask this question about stat(2) now. :-) | |