From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8790 invoked from network); 29 Dec 2021 17:12:40 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 29 Dec 2021 17:12:40 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id ECE309CFFC; Thu, 30 Dec 2021 03:12:36 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id C0F969CEF3; Thu, 30 Dec 2021 03:12:25 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=dartmouth.edu header.i=@dartmouth.edu header.b="s/f6PQTz"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 5C2819CEF3; Thu, 30 Dec 2021 03:12:24 +1000 (AEST) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by minnie.tuhs.org (Postfix) with ESMTPS id 8CC839CEA9 for ; Thu, 30 Dec 2021 03:12:23 +1000 (AEST) Received: by mail-wr1-f48.google.com with SMTP id d9so45746105wrb.0 for ; Wed, 29 Dec 2021 09:12:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dartmouth.edu; s=google1; h=mime-version:from:date:message-id:subject:to; bh=ik7nV0ZW23lch6mG1RRpm7LEP5rHpD73YeLVZLhBLWg=; b=s/f6PQTz7BWgpKZ2nYTWMI75JHzUBrge1wBNKPzjQmO311+Aj7RWE1QslsCxQ8+t24 v4Nzps4xFMLb6RFdLBCCpp5EmwGh0QfyqYx3YnwtLzh2vPCd65STCQ3J07d4Sx/2jRP+ wDc5RSv1kX+kmpSzsm2gM4TB0hbfQjbC4Yqq9hl003RkUBLFkT2qNonDGIHVVn3DZrQC mFW+pVlar8WjI6i8XGp2SANF3lJBPyjTkKEipTkBKTjYrBEDVlCoUCjQJl0RMbYTTpfL g4u1miIb5zc8bFxu/1JiyRk2k9atH5iQHRWZsQb1YeS0mU8RMTb+HFLTQEtDrz6rmezC UOjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ik7nV0ZW23lch6mG1RRpm7LEP5rHpD73YeLVZLhBLWg=; b=sm9xWpHjkWV0qzF61yOMN7nX7Z2JvSZzlEwCdQKWCxcyELYgWjijlDwG3lRzCYiurC aURdNs9KBYN2saIkDRhX/wXrj48EJLRr/Z1ak8qffmTZSQkF3ZT43OsdmNZbPuWgiJAK BfyqFPp7UFw1rvTPvqCIO8wsVhjJ2MFVnHo4Dtuz8bSWvu8iJqh6c77+d7MH/jzRDwwf 3JC7Z1uwtAn2JhsCkCm1VnXszGazoR46dVi3lb0P6T6XxP0pl4MaLNBJQ7Uo4jSocZnh 2iDHl9yVwVZ589x/uWXG8t0uepQD88+JuiEPJziIUxjO8MHNgNut09kPHSWz5foF3G5x gftA== X-Gm-Message-State: AOAM532LNXeoGNZC/zQaR2pnJtZ8Lx8k0AooKpC9bty8Xw8eqTqrbrHB r4Dfvl5RgTz1dpoaeL81Gel5rJxv6kSTsuCtA+Fvlqw2D2I= X-Google-Smtp-Source: ABdhPJyY+6h7njuXcetNTCuDQ9kPE+/31Hom5jCea3X575X/JlJt/Hsi5jCbi92mjmJqGIMMnPVWGjrt5DpMjvZA/b8= X-Received: by 2002:a05:6000:1ac6:: with SMTP id i6mr21670370wry.373.1640797941994; Wed, 29 Dec 2021 09:12:21 -0800 (PST) MIME-Version: 1.0 From: Douglas McIlroy Date: Wed, 29 Dec 2021 12:12:06 -0500 Message-ID: To: TUHS main list Content-Type: text/plain; charset="UTF-8" Subject: Re: [TUHS] moving directories in svr2 X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" The first specific mention of moving directories in Research is in v10, but I'm sure that was implemented considerably earlier. The only things special about moving a directory were that it needed root privilege and checked against moving a directory into itself. As with ordinary files, copying (with loss of hard links) happened only when moving between different file systems. As far as I know, no atomicity precautions were taken.