Lines Matching refs:initrd
35 initrd: PathBuf,
49 initrd: PathBuf,
74 fn detach_bootconfig(initrd_bc: PathBuf, initrd: PathBuf, bootconfig: PathBuf) -> Result<()> { in detach_bootconfig()
77 let mut initrd = File::create(initrd)?; in detach_bootconfig() localVariable
94 copyfile2file(&mut initrd_bc, &mut initrd, initrd_size)?; in detach_bootconfig()
101 fn attach_bootconfig(initrd: PathBuf, bootconfigs: Vec<PathBuf>, output: PathBuf) -> Result<()> { in attach_bootconfig()
103 let mut initrd_file = File::open(initrd)?; in attach_bootconfig()
129 Opt::Attach { initrd, bootconfigs, output } => { in try_main()
130 attach_bootconfig(initrd, bootconfigs, output)? in try_main()
132 Opt::Detach { initrd_with_bootconfigs, initrd, bootconfigs } => { in try_main()
133 detach_bootconfig(initrd_with_bootconfigs, initrd, bootconfigs)? in try_main()