From: "Хихин Руслан" <hihin@rambler.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] ALD4. Как переделать UUID на обычные метки дисков в fstab?
Date: Sun, 3 Feb 2008 00:23:40 +0300
Message-ID: <200802030023.49376@ruslandh> (raw)
In-Reply-To: <40babb620802021311laa3b4b9wfdc21f65b23eaa0d@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1974 bytes --]
Здравствуйте ALT Linux User
В сообщении от 3 февраля 2008 ALT Linux User написал(a):
> 2008/2/2 Motsyo Gennadi aka Drool <motsyo@gmail.com>:
> > ALT Linux User пишет:
> > > ALD4 -> Branch 4.
> > > Подскажите, пожалуйста, как переделать fstab, что бы вместо UUID
> > > были
> > > обычные метки дисков (/dev/sda5 и т.д.)?
> > Вот так и переделать. Посмотреть разделы можно через
> > fdisk -l
> Прошу прощения, можно уточнить?
> Если было:
> UUID=aa6d7e53-8850-41fa-9081-1c781f7d46a7 / ext3 defaults 1 1
> UUID=5fb4c2ee-08b3-4fd3-ab05-788c8a226afb swap swap defaults 0 0
>
> То после приведения к старой, традиционной форме будет:
> /dev/sda5 / ext3 defaults 1 1
> /dev/sda6 swap swap defaults 0 0
> при условии, что:
> # fdisk -l
> Disk /dev/sda: 120.0 GB, 120034123776 bytes
> 255 heads, 63 sectors/track, 14593 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Device Boot Start End Blocks Id System
>
> /dev/sda1 1 192 1536000 27
> /dev/sda2 * 192 7488 58609664 7 HPFS/NTFS
> /dev/sda3 7488 12234 38122917 7 HPFS/NTFS
> /dev/sda4 12235 14593 18948667+ f W95 Ext'd
> (LBA)
> /dev/sda5 12235 14057 14643216 83 Linux
> /dev/sda6 14058 14319 2104483+ 82 Linux swap /
> Solaris
>
> Так будет правильно?
А вы взгляните в /etc/mtab и проверьте.
> > > Подскажите, пожалуйста, как переделать fstab, что бы вместо UUID
> > > были
> > > обычные метки дисков (/dev/sda5 и т.д.)?
> >
> > vim /etc/fstab ?
>
> К сожалению, только знаю, что есть такой редактор, vim. Пользоваться
> -
> не умею...
Поставьте vimtutor и вызовите его.
--
А ещё говорят так (fortune):
- Что делает системный администратор, проснувшись с похмелья? -
Тестирует память...
________________________________________________________________________
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-02-02 21:23 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-02 20:30 ALT Linux User
2008-02-02 20:49 ` Motsyo Gennadi aka Drool
2008-02-02 21:11 ` ALT Linux User
2008-02-02 21:23 ` Хихин Руслан [this message]
2008-02-03 6:52 ` Motsyo Gennadi aka Drool
2008-02-03 9:04 ` Andrey Rahmatullin
2008-02-03 12:30 ` ALT Linux User
2008-02-03 13:06 ` Евгений Терешков
2008-02-03 14:28 ` ALT Linux User
2008-02-03 14:30 ` ALT Linux User
2008-02-03 15:11 ` Евгений Терешков
2008-02-03 13:39 ` Sergey
2008-02-03 13:37 ` Sergey
2008-02-03 15:11 ` Ilis
2008-02-04 15:32 ` Sergey
2008-02-03 16:14 ` Motsyo Gennadi aka Drool
2008-02-04 15:34 ` Sergey
2008-02-04 19:00 ` Motsyo Gennadi aka Drool
2008-02-02 20:49 ` Andrey Rahmatullin
2008-02-03 5:20 ` Alexey Borovskoy
2008-02-03 6:40 ` Коротков Георгий
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=200802030023.49376@ruslandh \
--to=hihin@rambler.ru \
--cc=community@lists.altlinux.org \
/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