diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-02-08 12:27:08 -0500 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-02-08 12:27:08 -0500 |
commit | 59240c87059fd207b3ec38238851f6fe6982e48c (patch) | |
tree | c308dcd9622c3f748bc2da542eff9328b4548f8c /scripts/show-image-storage.pl | |
parent | b4275461305f74798c7805ce2a5d25105e82caea (diff) | |
download | vyatta-op-59240c87059fd207b3ec38238851f6fe6982e48c.tar.gz vyatta-op-59240c87059fd207b3ec38238851f6fe6982e48c.zip |
Update debian live mountpoint directories.
Diffstat (limited to 'scripts/show-image-storage.pl')
-rw-r--r-- | scripts/show-image-storage.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/show-image-storage.pl b/scripts/show-image-storage.pl index f8de35e..863b913 100644 --- a/scripts/show-image-storage.pl +++ b/scripts/show-image-storage.pl @@ -40,8 +40,8 @@ sub better_units { # # Figure out where the images live... -my $imagedir = "/live/image/boot"; -my $livecd = "/live/image/live"; +my $imagedir = "/lib/live/mount/persistence/boot"; +my $livecd = "/lib/live/mount/persistence/live"; if (! -e $imagedir) { if (-d $livecd) { die "System running on Live-CD\n"; @@ -73,11 +73,11 @@ foreach my $image (@bootlist_arr) { ($total, $garbage) = split(' ', $string); $total = better_units($total); - $string = `du -s -h $imagedir/$image --exclude live-rw`; + $string = `du -s -h $imagedir/$image --exclude rw`; ($read_only, $garbage) = split(' ', $string); $read_only = better_units($read_only); - $string = `du -s -h $imagedir/$image/live-rw`; + $string = `du -s -h $imagedir/$image/rw`; ($read_write, $garbage) = split(' ', $string); $read_write = better_units($read_write); |