Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169013329
D57527.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D57527.id.diff
View Options
diff --git a/usr.sbin/makefs/cd9660/iso9660_rrip.c b/usr.sbin/makefs/cd9660/iso9660_rrip.c
--- a/usr.sbin/makefs/cd9660/iso9660_rrip.c
+++ b/usr.sbin/makefs/cd9660/iso9660_rrip.c
@@ -740,24 +740,29 @@
int
cd9660node_rrip_tf(struct ISO_SUSP_ATTRIBUTES *p, fsnode *_node)
{
- p->attr.rr_entry.TF.flags[0] = TF_MODIFY | TF_ACCESS | TF_ATTRIBUTES;
+ p->attr.rr_entry.TF.flags[0] = TF_CREATION | TF_MODIFY | TF_ACCESS |
+ TF_ATTRIBUTES;
p->attr.rr_entry.TF.h.length[0] = 5;
p->attr.rr_entry.TF.h.version[0] = 1;
/*
- * Need to add creation time, backup time,
+ * Need to add backup time,
* expiration time, and effective time.
*/
cd9660_time_915(p->attr.rr_entry.TF.timestamp,
- _node->inode->st.st_mtime);
+ _node->inode->st.st_birthtime);
p->attr.rr_entry.TF.h.length[0] += 7;
cd9660_time_915(p->attr.rr_entry.TF.timestamp + 7,
- _node->inode->st.st_atime);
+ _node->inode->st.st_mtime);
p->attr.rr_entry.TF.h.length[0] += 7;
cd9660_time_915(p->attr.rr_entry.TF.timestamp + 14,
+ _node->inode->st.st_atime);
+ p->attr.rr_entry.TF.h.length[0] += 7;
+
+ cd9660_time_915(p->attr.rr_entry.TF.timestamp + 21,
_node->inode->st.st_ctime);
p->attr.rr_entry.TF.h.length[0] += 7;
return 1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 1, 3:14 AM (10 m, 13 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33882452
Default Alt Text
D57527.id.diff (1 KB)
Attached To
Mode
D57527: makefs cd9660: Populate creation time stamps in RockRidge extensions
Attached
Detach File
Event Timeline
Log In to Comment