ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Korotkov <ziga@udm.ru>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Re: [mdk-re]: Раздел подкачки
Date: Thu Oct 18 23:57:14 2001
Message-ID: <20011019010200.12310a78.ziga@udm.ru> (raw)
In-Reply-To: <5163540426.20011018185135@inbox.ru>

On Thu, 18 Oct 2001 18:51:35 +0400
Sergey Sokolov <renar@inbox.ru> wrote:

<...>
SS> Не монтируется этот файл. Думаю, никто прежде этим вопросом не
SS> интересовался и не занимался. Все как должное приняли, что должен быть
SS> раздел во веки веков. ;)
SS> Вопрос пока отпал, т. к. лёгкого решения не имеет.

Интересовался; занимался; имеет. 

[root@localhost ziga]# dd if=/dev/zero of=/swap bs=1024 count=10240 /*создаём файло 10MB*/
[root@localhost ziga]# mkswap /swap 10240 /*превращаем его в файл подкачки*/
[root@localhost ziga]# sync
[root@localhost ziga]# swapon /swap /*активизируем*/
[root@localhost ziga]# swapon -s /*что имеем?*/
Filename                        Type            Size      Used    Priority
/dev/hda8                       partition       273064    0       -1
/swap                           file            10232     0       -2
[root@localhost ziga]# swapoff /swap /*делаем деактивацию файла подкачки*/
[root@localhost ziga]# rm /swap /*удаляем, т.к. следует использовать _раздел_ подкачки ;-)*/

Для dd: of=/путь к файлу, bs=длина блока в байтах, count=размер в блоках.

man dd
man mkswap
man sync
man swapon

-- 
With best regards,
Alexey Korotkov

mailto:ziga@udm.ru



  parent reply	other threads:[~2001-10-18 23:57 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-14 16:42 [mdk-re] " Sergey Sokolov
2001-10-14 18:48 ` cornet
2001-10-14 22:29   ` [mdk-re] Re[2]: " Sergey Sokolov
2001-10-18  8:28     ` [mdk-re] Re[55]: òÁÚÄÅÌ ÐÏÄËÁÞËÉ Carry Ram
2001-10-18  9:17       ` [mdk-re] Re: [mdk-re]: Раздел подкачки Michael Shigorin
2001-10-18 19:13         ` [mdk-re] " Sergey Sokolov
2001-10-18 22:04           ` [mdk-re] " cornet
2001-10-19  0:39             ` [mdk-re] " Sergey Sokolov
2001-10-18 23:57           ` Alexey Korotkov [this message]
2001-10-19  0:41             ` [mdk-re] Re: [mdk-re] : " Sergey Sokolov
2001-10-19  1:41               ` [mdk-re] " Alexey Korotkov
2001-10-19 12:38                 ` Michael Shigorin
2001-10-19 13:04                   ` cornet
2001-10-19 16:37                     ` [mdk-re] Re[2]: " Sergey Sokolov
2001-10-19 16:46                       ` cornet
2001-10-19 18:56                         ` [mdk-re] Re[2]: " Sergey Sokolov
2001-10-20 11:32                         ` [mdk-re] [JT] " Alexey Korotkov
2001-10-20 20:32                           ` cornet
2001-10-21 12:01                             ` [mdk-re] Re[2]: " Sergey Sokolov
2001-10-21 19:03                               ` cornet
2001-10-22 19:27                                 ` [mdk-re] " Sergey Sokolov
2001-10-20 11:32                     ` Alexey Korotkov
2001-10-20 14:56                       ` Michael Shigorin
2001-10-19 15:13                   ` [mdk-re] Re[2]: [mdk-re] " Sergey Sokolov
2001-10-19 15:18                     ` [mdk-re] [JT] " cornet
2001-10-19 16:45                       ` [mdk-re] " Sergey Sokolov
2001-10-19 16:58                         ` cornet
2001-10-19 18:56                           ` [mdk-re] " Sergey Sokolov
2001-10-19 20:11                             ` Michael Shigorin
2001-10-20 15:15                             ` [mdk-re] " Alexander Sosnin
2001-10-20 11:32                     ` [mdk-re] " Alexey Korotkov
2001-10-19  9:52             ` [mdk-re] Re: [mdk-re]: " cornet
2001-10-19 12:38               ` Michael Shigorin
2001-10-18  8:29     ` Re[55]: Re: [mdk-re] òÁÚÄÅÌ ÐÏÄËÁÞËÉ Carry Ram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011019010200.12310a78.ziga@udm.ru \
    --to=ziga@udm.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git