1 -- $Id: 400_mount_target_system.lua,v 1.1 2005/03/27 23:19:29 cpressey Exp $
4 name = "mount_target_system",
5 title = "Mount Target System",
8 -- If there is a target system mounted, unmount it before starting.
10 if App.state.target ~= nil and App.state.target:is_mounted() then
11 if not App.state.target:unmount() then
13 _("Warning: already-mounted target system could " ..
14 "not be correctly unmounted first.")
20 App.state.target = TargetSystem.new(App.state.sel_part, "mnt")
21 if not App.state.target:probe() then
23 "The target system could not be successfully probed."
27 if not App.state.target:mount() then
29 "The target system could not be successfully mounted."