From owner-freebsd-current@FreeBSD.ORG Fri Nov 18 09:13:38 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67ADD16A41F for ; Fri, 18 Nov 2005 09:13:38 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A486442B0 for ; Fri, 18 Nov 2005 09:13:36 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 8D13413FD5E; Fri, 18 Nov 2005 10:13:35 +0100 (CET) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 6E3DB9F351; Fri, 18 Nov 2005 10:13:35 +0100 (CET) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 4F91A9F0FB; Fri, 18 Nov 2005 10:13:35 +0100 (CET) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 30ABD13FD5E; Fri, 18 Nov 2005 10:13:35 +0100 (CET) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id jAI9DYKK053818; Fri, 18 Nov 2005 10:13:35 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.4/8.13.4) with ESMTP id jAI9DY6S054345; Fri, 18 Nov 2005 10:13:34 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id jAI9DYbm001509; Fri, 18 Nov 2005 10:13:34 +0100 (CET) (envelope-from q@galgenberg.net) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id jAI9DY9i001508; Fri, 18 Nov 2005 10:13:34 +0100 (CET) (envelope-from q@galgenberg.net) Date: Fri, 18 Nov 2005 10:13:33 +0100 From: Ulrich Spoerlein To: Brian Candler Message-ID: <20051118091333.GA1058@galgenberg.net> Mail-Followup-To: Brian Candler , freebsd-current@freebsd.org References: <20051116161540.GB4383@uk.tiscali.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <20051116161540.GB4383@uk.tiscali.com> X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Cc: freebsd-current@freebsd.org Subject: Re: Order of files with 'cp' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2005 09:13:38 -0000 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Brian Candler wrote: > I've noticed on FreeBSD-5.4 and -6.0 that the order in which 'cp' copies > multiple files does not match the order they're given on the command line. > This is noticeable when the target server is remote and/or slow (e.g. NFS; > USB flash device). >=20 > I guess it's not especially important, but it's slightly annoying in that= I > have a dumb USB MP3 player, and it plays the tracks in the raw order they > appear in the filesystem, not by sorting filenames or anything like that. me too. Right now I cp my files in a for-loop, which will retain the order. Not a really nice solution. > Anyone have any thoughts on this? If it can be done without creating too much confusion in the code, I'm all for it. Sadly I'm not familiar with the code ... Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand? --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDfZs9mArGtfDbn0QRAkV2AKCaUhtxw2ZMh+Peuhi5rG5XeuQAEQCgitKV Ahwl4TDKxr8q1/8c8IQ2PPs= =T9Fq -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--