the BSD or
Linux code can help with understanding the details.  Especially if docs are hard
to come by (I haven't looked)
OK maybe I was not clear enough. Since there is a Solaris UDFS driver, it would be a good idea to modify the code so to include the new features, etc. After all, I assume the basic functionality should be there alrea

I took "libdvdread" from udf-192 to udf-260 a few years back, from memory the largest changes were

Add FileEntry redirect (TagID 250)
Add ExtFile (TagID 266).



The old patch has the following change to extfile_entry:

+/* TagID 266
+ * The differences in ExtFile are indicated below:
+ * struct extfile_entry {
+ *         struct desc_tag         tag;
+ *         struct icb_tag          icbtag;
+ *         uint32_t                uid;
+ *         uint32_t                gid;
+ *         uint32_t                perm;
+ *         uint16_t                link_cnt;
+ *         uint8_t                 rec_format;
+ *         uint8_t                 rec_disp_attr;
+ *         uint32_t                rec_len;
+ *         uint64_t                inf_len;
+ *         uint64_t                obj_size;        // NEW
+ *         uint64_t                logblks_rec;
+ *         struct timestamp        atime;
+ *         struct timestamp        mtime;
+ *         struct timestamp        ctime;           // NEW
+ *         struct timestamp        attrtime;
+ *         uint32_t                ckpoint;
+ *         uint32_t                reserved1;       // NEW
+ *         struct long_ad          ex_attr_icb;
+ *         struct long_ad          streamdir_icb;   // NEW
+ *         struct regid            imp_id;
+ *         uint64_t                unique_id;
+ *         uint32_t                l_ea;
+ *         uint32_t                l_ad;
+ *         uint8_t                 data[1];
+ * } __packed;
+ *
+ * So old "l_ea" is now +216


And my comments on 250 nwere

+ * Handle ExtFileInfo with FileType (250). This acts as a redirect entry. + * Follow it by add on the "location" to partition->Start, and try again.



Lund



-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to