3 # Mount a currently unmounted filesystem
5 require './mount-lib.pl';
8 @mounts = &list_mounts();
9 $mount = $mounts[$in{'index'}];
10 &error_setup(&text('mount_err', $mount->[0]));
11 &can_edit_fs(@$mount) || &error($text{'edit_ecannot'});
12 $err = &mount_dir(@$mount);
13 &error($err) if ($err);
14 &webmin_log("mount", undef, undef, { 'dev' => $mount->[0],
15 'type' => $mount->[2],
16 'dir' => $mount->[1] });