summaryrefslogtreecommitdiffstats
path: root/move/tools/busy-files
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-17 12:55:39 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-17 12:55:39 +0000
commitc0fc9f49955f718e14c47bf901d56ae981f291a4 (patch)
tree778473a2c1c7e2715a142c1aafa3e86b4bb54abd /move/tools/busy-files
parentd151cf9f3076baffa485e60305a15c6f0bae8645 (diff)
downloaddrakx-c0fc9f49955f718e14c47bf901d56ae981f291a4.tar
drakx-c0fc9f49955f718e14c47bf901d56ae981f291a4.tar.gz
drakx-c0fc9f49955f718e14c47bf901d56ae981f291a4.tar.bz2
drakx-c0fc9f49955f718e14c47bf901d56ae981f291a4.tar.xz
drakx-c0fc9f49955f718e14c47bf901d56ae981f291a4.zip
move /image_raw to /cdrom
Diffstat (limited to 'move/tools/busy-files')
-rwxr-xr-xmove/tools/busy-files4
1 files changed, 2 insertions, 2 deletions
diff --git a/move/tools/busy-files b/move/tools/busy-files
index 5c770c561..7426e785a 100755
--- a/move/tools/busy-files
+++ b/move/tools/busy-files
@@ -13,13 +13,13 @@ my @l = map {
push @l, grep { $_ } map { (split)[5] } map { cat_("/proc/$_/maps") } @pids;
if ($ARGV[0] eq '--totem') {
- @l = grep { m!/image(_boot|_raw)?/! } @l;
+ @l = grep { m!/(image(_boot)?|cdrom)/! } @l;
$ARGV[0] = '--server';
}
foreach (uniq @l) {
if ($ARGV[0] eq '--server') {
s!/image(_always|_boot|_totem)?/!/tmp/live_tree/!;
- s!/image_raw/live_tree!/tmp/live_tree!;
+ s!/cdrom/live_tree!/tmp/live_tree!;
}
print "$_\n";
}