ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Хихин Руслан" <hihin@rambler.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Как узнать UUID свежеотформатированного раздела ? ( произвольное изменение =?utf-8?b?IFVVSUQ=?=)
Date: Sun, 20 Mar 2016 19:47:37 +0300
Message-ID: <201603201947.41960@ruslandh> (raw)
In-Reply-To: <201603202031.45010.a_s_y@sama.ru>

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

Здравствуйте Sergey
  В сообщении от 20 марта 2016 Sergey написал(a):
> То есть, если переформатировать раздел и прописать его в fstab
> с тем UUID, который показывает blkid, то, потом, при
> перезагрузке вылезет проблема.
>
> Кто знает, как узнать, что получается после mkfs ? Подозреваю,
> что помогло бы что-то вроде blockdev --rereadpt /dev/sda, но
> "Device or resource busy".

1. blkid показывает из кэша, поэтому вы видите старый uuid
2. Без учёта кэша blkid -c /dev/null (есть и другие варианты)
mkfs.ext4 -U [UUID]  позволяет создать произвольный UUID, полагаю 
в том числе и старый

-- 
  А ещё говорят так  (fortune):
 
 .

________________________________________________________________________
С уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2016-03-20 16:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-20 16:31 Sergey
2016-03-20 16:47 ` Хихин Руслан [this message]
2016-03-20 17:07   ` [Sysadmins] Как узнать UUID свежеотформатированного раздела ? Sergey

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=201603201947.41960@ruslandh \
    --to=hihin@rambler.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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