diff --git a/generator/actions.ml b/generator/actions.ml index e34ad4bab..0d92d272e 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -2954,6 +2954,21 @@ it is set to the empty string (but never C)." }; longdesc = "\ Get the program name. See C." }; + { defaults with + name = "add_drive_scratch"; + style = RErr, [Int64 "size"], [OString "name"; OString "label"]; + blocking = false; + fish_alias = ["scratch"]; + shortdesc = "add a temporary scratch drive"; + longdesc = "\ +This command adds a temporary scratch drive to the handle. The +C parameter is the virtual size (in bytes). The scratch +drive is blank initially (all reads return zeroes until you start +writing to it). The drive is deleted when the handle is closed. + +The optional arguments C and C