/[42-fs]/42-lvm.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /42-lvm.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9 by dpavlin, Sun Jul 19 15:33:55 2009 UTC revision 10 by dpavlin, Sun Jul 19 16:30:13 2009 UTC
# Line 91  my $log = "$mnt/log/$file"; Line 91  my $log = "$mnt/log/$file";
91  my $to = "/dev/$vg/$lv";  my $to = "/dev/$vg/$lv";
92  symlink( $to , $fs ) || die "can't create $fs: $!";  symlink( $to , $fs ) || die "can't create $fs: $!";
93    
94  my $cmd = "dd_rescue -w -l $log \"$path\" $to";  my $cmd = "dd_rescue -w -l \"$log\" \"$path\" $to";
95  print "+ $cmd\n";  print "+ $cmd\n";
96  exec $cmd;  exec $cmd;

Legend:
Removed from v.9  
changed lines
  Added in v.10

  ViewVC Help
Powered by ViewVC 1.1.26