From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 3 23:44:39 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1B81787 for ; Tue, 3 Feb 2015 23:44:39 +0000 (UTC) Received: from mail-yh0-x22e.google.com (mail-yh0-x22e.google.com [IPv6:2607:f8b0:4002:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81EA6FA for ; Tue, 3 Feb 2015 23:44:39 +0000 (UTC) Received: by mail-yh0-f46.google.com with SMTP id c41so19866417yho.5 for ; Tue, 03 Feb 2015 15:44:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wsjT8fvPPWXM5wppMhx/oufylWa6LBizNkUaBXK42SY=; b=cVE+4UektvhWmlfR4tCrNMLHZoYymxH6k3O+bZZYuOk5se2OT//QhXzmaHSxgg155U 3ii/NGtG8uf//3n1Dhp+7glAF/74jCqRQ6oAEr83Ldkd0x569fbw2nl1yfqBVVr4kANd hgKJcsH97anXKLz1ozTDAAGmFQZoAd9Hqp2PVnZDNTxoGmnJLbg1QsiN7fQTxnsR/Spd 3H2o71LxFbbucyU+UJz5VvK0ordUA9FhxdS0n4yjw1izNgGSNqPltyfZCEZBC66UL3JU 4SghohhunCRXmqeNRn+/kgdazeDT+xlroOAi3D3J53mRNK7NP87MyH3FDxH5bzJ0SWka 3VPA== MIME-Version: 1.0 X-Received: by 10.170.157.5 with SMTP id y5mr12690978ykc.123.1423007078628; Tue, 03 Feb 2015 15:44:38 -0800 (PST) Received: by 10.170.124.206 with HTTP; Tue, 3 Feb 2015 15:44:38 -0800 (PST) Date: Tue, 3 Feb 2015 19:44:38 -0400 Message-ID: Subject: OT: tail nuance From: Paul Halliday To: hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2015 23:44:39 -0000 I figured someone here would likely know the answer to this one. On freebsd if I do: ~% mkdir dirA ~% tail -n0 -F dirA/afile.txt ~% echo test > dirA/afile.txt >> test ~% mv dirA dirB ~% rm dirB/afile.txt ~% mkdir dirA ~% echo test > dirA/afile.txt >> test Which is what I would expect to happen. When I do the same test on a linux box it doesn't report the last echo (or any other redirection to the file). What am I missing? Thanks! -- Paul Halliday http://www.pintumbler.org/