From f56bc8edd5f23c23298bf3f609a98dd6fec5d512 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 2 Nov 2012 09:32:52 +0000 Subject: New API: mklost_and_found --- generator/actions.ml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'generator') diff --git a/generator/actions.ml b/generator/actions.ml index 5d713478..5c3de524 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -10345,6 +10345,21 @@ If the optional C parameter is given, then the suffix See also: C." }; + { defaults with + name = "mklost_and_found"; + style = RErr, [Pathname "mountpoint"], []; + proc_nr = Some 374; + tests = [ + InitBasicFS, Always, TestRun ( + [["rm_rf"; "/lost+found"]; + ["mklost_and_found"; "/"]]) + ]; + shortdesc = "make lost+found directory on an ext2/3/4 filesystem"; + longdesc = "\ +Make the C directory, normally in the root directory +of an ext2/3/4 filesystem. C is the directory under +which we try to create the C directory." }; + ] (* Non-API meta-commands available only in guestfish. -- cgit