Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wimboot and vdisk_name_len 31 macro
2018-08-02, 14:52
Post: #2
RE: wimboot and vdisk_name_len 31 macro
(2018-08-02 09:15)Mad Butcher Wrote:  I like winboot's functionality added by this commit:
https://git.ipxe.org/wimboot.git/commit/...5ae01eeb23

It allow to inject additional files to the loaded WIM, but I want to use long filenames when I add files. I looked at sources and saw in the vdisk.h file 'vdisk_name_len 31' macro.
Is it restriction for virtual disk file system or something else?
Why length set to 31?

It has to be set to some figure, since there is no dynamic memory allocation within wimboot. The 31 is fairly arbitrary. Increasing to 63 (i.e. 64 when the NUL is included) would be fine, if there's a need for it.

Quote:I was a little bit confused when build wimboot from source, because I didn't find any build instructions with description of the build targets, depences etc. These build instructions exist?

The build instruction is just "run 'make' within the source directory".

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: wimboot and vdisk_name_len 31 macro - mcb30 - 2018-08-02 14:52



User(s) browsing this thread: 2 Guest(s)