ALT Linux Bugzilla
– Attachment 5669 Details for
Bug 28181
перемонтировать файловые системы с EVMS-томов на обычные
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
swapoff/swapon
0001-TMP-swap.patch (text/plain), 1015 bytes, created by
Michael Shigorin
on 2012-12-07 17:29:25 MSK
(
hide
)
Description:
swapoff/swapon
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2012-12-07 17:29:25 MSK
Size:
1015 bytes
patch
obsolete
>From 2f5204c791431dd0687f42964d1f9678d7e81026 Mon Sep 17 00:00:00 2001 >From: Michael Shigorin <mike@altlinux.org> >Date: Fri, 7 Dec 2012 15:03:36 +0200 >Subject: [PATCH 1/4] TMP: swap > >--- > installer/preinstall.d/11-remount.sh | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/installer/preinstall.d/11-remount.sh b/installer/preinstall.d/11-remount.sh >index 42eff1f..a82638e 100755 >--- a/installer/preinstall.d/11-remount.sh >+++ b/installer/preinstall.d/11-remount.sh >@@ -4,6 +4,8 @@ > > ME=11-remount > >+# NB: use 'set -x' here to debug >+ > exec 2>/tmp/"$ME".log >&2 > > . install2-init-functions >@@ -24,6 +26,8 @@ if [ -f "$destdir/etc/lvm/lvm.conf" ]; then > cp -p "$destdir/etc/lvm/lvm.conf" /etc/lvm > fi > >+chroot "$destdir" swapoff -a >+ > umount "$destdir/dev/pts" > chroot "$destdir" umount -a > >@@ -80,4 +84,6 @@ mount -t sysfs sysfs "$destdir/sys" > mount -t proc proc "$destdir/proc" > chroot "$destdir" mount -a ||: > >+chroot "$destdir" swapon -a >+ > # NB: use "sleep 3600" here to debug :) >-- >1.7.12.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28181
:
5663
|
5664
|
5667
|
5668
| 5669 |
5670