diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-03-30 09:19:53 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-03-30 21:57:02 +0200 |
commit | c3ea407dc403e49c9dbbf8c5dd89625a54f1fefb (patch) | |
tree | e38d79cf1eaff3d1644cb8644633051658c65e21 | |
parent | a564df415a1899334191a0a2b3a52f4a2ee5caa1 (diff) | |
download | drakx-c3ea407dc403e49c9dbbf8c5dd89625a54f1fefb.tar drakx-c3ea407dc403e49c9dbbf8c5dd89625a54f1fefb.tar.gz drakx-c3ea407dc403e49c9dbbf8c5dd89625a54f1fefb.tar.bz2 drakx-c3ea407dc403e49c9dbbf8c5dd89625a54f1fefb.tar.xz drakx-c3ea407dc403e49c9dbbf8c5dd89625a54f1fefb.zip |
log fdisk -l output before/after partitionning
-rw-r--r-- | perl-install/install/steps.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm index 508794d2d..96b40b314 100644 --- a/perl-install/install/steps.pm +++ b/perl-install/install/steps.pm @@ -176,6 +176,7 @@ sub selectInstallClass { #------------------------------------------------------------------------------ sub doPartitionDisksBefore { my ($o) = @_; + log::l("fdisk before:\n" . `fdisk -l`); eval { eval { fs::mount::umount("$::prefix/sys/kernel/debug/usb") }; eval { fs::mount::umount("$::prefix/sys") }; @@ -190,6 +191,7 @@ sub doPartitionDisksAfter { my ($o) = @_; fs::any::write_hds($o->{all_hds}, $o->{fstab}, !$o->{isUpgrade}, sub { $o->rebootNeeded }, $o); + log::l("fdisk after\n" . `fdisk -l`); if ($::local_install) { my $p = fs::get::mntpoint2part($::prefix, [ fs::read_fstab('', '/proc/mounts') ]); |