Home
last modified time | relevance | path

Searched refs:RootFSCommand (Results 1 – 4 of 4) sorted by relevance

/DADK/dadk/src/actions/rootfs/
H A Dmod.rs1 use crate::{console::rootfs::RootFSCommand, context::DADKExecContext};
8 pub(super) fn run(ctx: &DADKExecContext, rootfs_cmd: &RootFSCommand) -> Result<()> { in run()
10 RootFSCommand::Create(param) => disk_img::create(ctx, param.skip_if_exists), in run()
11 RootFSCommand::Delete => disk_img::delete(ctx, false), in run()
12 RootFSCommand::DeleteSysroot => sysroot::delete(ctx), in run()
13 RootFSCommand::Mount => disk_img::mount(ctx), in run()
14 RootFSCommand::Umount => disk_img::umount(ctx), in run()
15 RootFSCommand::CheckDiskImageExists => disk_img::check_disk_image_exists(ctx), in run()
16 RootFSCommand::ShowMountPoint => disk_img::show_mount_point(ctx), in run()
17 RootFSCommand::ShowLoopDevice => disk_img::show_loop_device(ctx), in run()
/DADK/dadk/src/console/
H A Dmod.rs2 use rootfs::RootFSCommand;
37 Rootfs(RootFSCommand),
H A Dtests.rs31 Action::Rootfs(RootFSCommand::Create(CreateCommandParam { in test_command_line_args_rootfs_subcommand()
39 Action::Rootfs(RootFSCommand::Create(CreateCommandParam { in test_command_line_args_rootfs_subcommand()
50 Action::Rootfs(RootFSCommand::ShowMountPoint) in test_show_mountpoint()
H A Drootfs.rs5 pub enum RootFSCommand { enum