9 let input_file_list = ref []
11 let cur_slice = ref ""
15 ("-backend",Arg.Set_string(Globals.backend), "Backend directory");
16 ("-frontend",Arg.Tuple[Arg.String(fun s->cur_dir:=s);Arg.String(fun s->cur_slice:=s;input_file_list:=(!cur_dir,!cur_slice)::!input_file_list)], "frontendN,slicenameN")
22 printf "Vsys v%s\n" Globals.vsys_version;flush stdout;
23 Arg.parse cmdspeclist (fun x->()) "Usage: vsys <list of mount points>";
24 if (!Globals.backend == "" || !input_file_list == []) then
25 printf "Try vsys --help\n"
28 Dirwatcher.initialize ();
29 Fifowatcher.initialize ();
30 let felst = List.map (fun lst->new frontendHandler lst) !input_file_list in
31 let _ = new backendHandler !Globals.backend felst in
32 Fdwatcher.start_watch ()