From owner-svn-src-all@freebsd.org Sat Sep 26 18:58:43 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 898BA426384; Sat, 26 Sep 2020 18:58:43 +0000 (UTC) (envelope-from bjkfbsd@gmail.com) Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BzJ365Lm2z3gr5; Sat, 26 Sep 2020 18:58:42 +0000 (UTC) (envelope-from bjkfbsd@gmail.com) Received: by mail-ot1-x32a.google.com with SMTP id q21so5595703ota.8; Sat, 26 Sep 2020 11:58:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QDZbLshpe9GIYTRFk5EgkkUDvnWXoQ35ASeH5scuy70=; b=DYB4G7YWs0E2NP6EjM/Jdf2g7exYzAa3znh73CY1iBLuHxGRz5ShxMip2NP3BtVOOv YmryvbnlF5wyA6++hWQSS8dxxCzdFW+hDpp9TTJp3zL51aiiFuRwz5PQJ2XgalwPb72M FDIFzUu3brzuZzXg2agrK5Aw3NrIubA+oY0rLVaHqkPLVwKlvooFyYnvgdzHO3lOLax3 vQSNHt5JUvp04e/0ZDGniQU9oUELvVzMIgdLF7c/vz2v02gv3PJLuycvQvULeRyBIDYm f68qJ9QvydyCwziPruDELRc4gjHWZC1ls1rNr5edcjVUzECucLmOphP7/28/JdTGkowZ v6GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QDZbLshpe9GIYTRFk5EgkkUDvnWXoQ35ASeH5scuy70=; b=SSxtDR5yIfQc8PvaYWLWiGweJf8oScLv6UKgtTjDGpNbdQD47ymExtBYbJoyRDqfv7 RjG51zAKcE4ICvLCfzproJJKPeEpsk2POFNJ3S7QtG+rWP98RYhYA78uXHPmDaR6+WMZ HlPIWFylP6FJrPkDzJ68uKU4Va+D1sqwpTDiawLxjpnoqNgHoxHXPKcnjEz3lN+WSwKE vKFun9ObwK/OL8My4J8XewZBUrBK0sCweDHp8xxXtDyCaxQgtdzTPSDCUz9z52N7Lu1f JoVq+RJf0BdZNH194Kh6KGbf0rBo+1apkEuxyIE6j93XLU4a6fIozyAtJ6Ev75o/BJhy nE+A== X-Gm-Message-State: AOAM530pEN1N9ljMQndblLf6E0SFCme25kjsVZj3h9Er0epkO/FzRHOO Z5fWEReGR//0uzyQaHrsyBqPvgLPATcTamJG/OOVY+XL8KM= X-Google-Smtp-Source: ABdhPJwn9I/JXPkjAOl9zfU+JPzsewOQbmKAKJ299LCZVZWgt2wEmJ1fwjihkjUK2Pm0pI6gllv/h2S6Ev5sAMlrnbE= X-Received: by 2002:a9d:3407:: with SMTP id v7mr4088257otb.117.1601146721385; Sat, 26 Sep 2020 11:58:41 -0700 (PDT) MIME-Version: 1.0 References: <202009261702.08QH2AQ1055654@gndrsh.dnsmgr.net> In-Reply-To: From: Benjamin Kaduk Date: Sat, 26 Sep 2020 11:58:30 -0700 Message-ID: Subject: Re: svn commit: r365643 - head/bin/cp To: Warner Losh Cc: "Rodney W. Grimes" , Ian Lepore , src-committers , svn-src-all , svn-src-head X-Rspamd-Queue-Id: 4BzJ365Lm2z3gr5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DYB4G7YW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bjkfbsd@gmail.com designates 2607:f8b0:4864:20::32a as permitted sender) smtp.mailfrom=bjkfbsd@gmail.com X-Spamd-Result: default: False [-2.91 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.003]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_SPAM_SHORT(0.11)[0.106]; NEURAL_HAM_LONG(-1.02)[-1.016]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32a:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[svn-src-all,svn-src-head]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2020 18:58:43 -0000 On Sat, Sep 26, 2020 at 11:55 AM Warner Losh wrote: > And there's the rub: how did this file come to exist? I'm certain it isn't > booting or shutting down the system based on when devfs is mounted (before > init) and unmounted (it's not done by the shutdown scripts). Now, it's > always possible there's a hole in my understanding of the sequence of > events. But given the examination of code, it's crazy to think this could > be created by anything but some weird bug. That's why a step-by-step from > scratch guide is needed. Im happy to look into it, but I need a bit more to > go on. > > I don't think it's terribly complicated; either set up a multi-boot system or pull the physical drive with / from one machine, and mount it while booted into a different environment. Then, chroot into it and do ... just about anything. If you didn't mount devfs before chrooting, then you get a file /dev/null (and some really confused errors from, e.g., buildworld!). -Ben