From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0746C15802C for ; Fri, 20 Dec 2024 20:53:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3BF2E098E; Fri, 20 Dec 2024 20:53:10 +0000 (UTC) Received: from mail.muc.de (mail.muc.de [193.149.48.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84081E0922 for ; Fri, 20 Dec 2024 20:53:09 +0000 (UTC) Received: (qmail 19442 invoked by uid 3782); 20 Dec 2024 21:53:08 +0100 Received: from muc.de (pd953a3d6.dip0.t-ipconnect.de [217.83.163.214]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 20 Dec 2024 21:53:07 +0100 Received: (qmail 4430 invoked by uid 1000); 20 Dec 2024 20:53:07 -0000 Date: Fri, 20 Dec 2024 20:53:07 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Fun with mdadm (Software RAID) Message-ID: References: <20241220145053.B361C85A435A@turkos.aspodata.se> <20241220174453.4E33285A435A@turkos.aspodata.se> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Archives-Salt: c19176f9-f788-48cd-85aa-0d05230aebda X-Archives-Hash: a33ac969466efc96255787bc7cda48e5 Hello, Hoël. On Fri, Dec 20, 2024 at 21:38:42 +0100, Hoël Bézier wrote: > Am Fr, Dez 20, 2024 am 08:19:55 +0000 schrieb Alan Mackenzie: > >By the way, do you know an easy way for copying an entire filesystem, > >such as the root system, but without copying other systems mounted in > >it? I tried for some while with rsync and various combinations of > >find's and xargs's, and in the end booted up into the rescue disc to do > >it. I shouldn't have to do that. > rsync -x / /some-other-place > From man rsync: > --one-file-system, -x don’t cross filesystem boundaries Thanks! I'll remember that. For some reason I didn't find it when searching the rsync man page. -- Alan Mackenzie (Nuremberg, Germany).