ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: Sysadmins@lists.altlinux.org
Subject: [Sysadmins] /dev backup with cpio
Date: Thu, 11 Jan 2007 10:05:28 +0300
Message-ID: <45A5E1B8.60408@stc.donpac.ru> (raw)

Здравствуйте!

Скажите, а почему некоторые файлы устройств нельзя бэкапить с помощью cpio?

[root@m1 tmp]# find /dev | cpio -o > dev.cpio
1142 blocks
[root@m1 tmp]# cat dev.cpio | cpio -i
...
[root@m1 tmp]# ls /dev > dev.old
[root@m1 tmp]# ls dev > dev.new
[root@m1 tmp]# diff -u dev.old dev.new
--- dev.old     2007-01-11 09:46:31 +0300
+++ dev.new     2007-01-11 09:46:36 +0300
@@ -361,8 +361,6 @@
  dmmidi1
  dmmidi2
  dmmidi3
-drbd0
-drbd1
  dri
  dsp
  dsp1
[root@m1 tmp]# find /dev | grep drbd
/dev/drbd0
/dev/drbd1

udev не используется

-- 
С уважением, Прокопьев Евгений



             reply	other threads:[~2007-01-11  7:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-11  7:05 Eugene Prokopiev [this message]
2007-01-11  7:29 ` Eugene Prokopiev
2007-01-21 12:05 ` Fr. Br. George
2007-01-22 19:06   ` Eugene Prokopiev

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=45A5E1B8.60408@stc.donpac.ru \
    --to=prokopiev@stc.donpac.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