ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] хардлинки
@ 2005-10-07  9:13 Guest007
  2005-10-07 10:50 ` [Comm] хардлинки Vitaly Ostanin
  0 siblings, 1 reply; 3+ messages in thread
From: Guest007 @ 2005-10-07  9:13 UTC (permalink / raw)
  To: ALT Linux Community

Приветствую!

Тупой вопрос. При копировании на другой ЖД (с XFS на ext3) хардлинки как 
скопируются?


-- 
WBR Guest007
JID: guest007@jabber.ru


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Comm] Re: хардлинки
  2005-10-07  9:13 [Comm] хардлинки Guest007
@ 2005-10-07 10:50 ` Vitaly Ostanin
  2005-10-07 11:21   ` Pavel Shurubura
  0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Ostanin @ 2005-10-07 10:50 UTC (permalink / raw)
  To: ALT Linux Community

Guest007 пишет:
> Приветствую!
> 
> Тупой вопрос. При копировании на другой ЖД (с XFS на ext3) хардлинки как 
> скопируются?

Как скажете. Для rsync есть ключ '-H'. Лучше копировать так:
rsync -avxPH /old/ /new/

Для cp вроде бы '-a' включает копирование жёстких ссылок, но 
нужно убедиться.

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] Re: хардлинки
  2005-10-07 10:50 ` [Comm] хардлинки Vitaly Ostanin
@ 2005-10-07 11:21   ` Pavel Shurubura
  0 siblings, 0 replies; 3+ messages in thread
From: Pavel Shurubura @ 2005-10-07 11:21 UTC (permalink / raw)
  To: ALT Linux Community

On Fri, 07 Oct 2005 14:50:10 +0400
Vitaly Ostanin <vyt@vzljot.ru> wrote:

> Guest007 пишет:
> > Приветствую!
> > 
> > Тупой вопрос. При копировании на другой ЖД (с XFS на ext3)
> > хардлинки как  скопируются?
> 
> Как скажете. Для rsync есть ключ '-H'. Лучше копировать так:
> rsync -avxPH /old/ /new/
> 
> Для cp вроде бы '-a' включает копирование жёстких ссылок, но 
> нужно убедиться.
> 

  cp -aR нормально переносит каталоги (вместе с hardlink'ами).


-- 
With kindest regards, pvs.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-07 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-07  9:13 [Comm] хардлинки Guest007
2005-10-07 10:50 ` [Comm] хардлинки Vitaly Ostanin
2005-10-07 11:21   ` Pavel Shurubura

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