From nobody Tue May 3 04:49:40 2022 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A205F1AACD81 for ; Tue, 3 May 2022 04:49:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19: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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KsnYw2XlVz4sgs for ; Tue, 3 May 2022 04:49:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 379C017A7C for ; Tue, 3 May 2022 04:49:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2434neCO055200 for ; Tue, 3 May 2022 04:49:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2434new2055199 for doc@FreeBSD.org; Tue, 3 May 2022 04:49:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 263746] Exercise caution before suggesting commands that will destroy data Date: Tue, 03 May 2022 04:49:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Documentation X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651553380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=x1EEN5Z9gDcxtJZ5+XYToCBAKZJTicd8kUK9OOFRx0M=; b=Yy8Mw60CmeEn2rI+NtDCDOnPjk96SwfuFL67zinOQ7lbiFmtz9jcCAPdzOkTok550Hfbvz mbdI91fSWBR9R+THTqka3yWqFNtzlsLkUPibWMncLJHZBwbMOP/62owHLLk5fv9UbhWgN2 ssAsMsSNIlJYCCXUdHMUNoJR1y7ptfxiSBSePiukI/Q0IDWJrsdmIlN10ffZ3LN1siJS5h BJsf7GJWKy/2B2q1RT711M1deRq2eV6FSCx99dFrdoo7XdpUaYuz+iObNlLSgcywYyL+i/ 9SNWCFUkrur3O0tQqVmKoW4rjqk1jjj0yT76KwAwH5Z0swlj3zWCkmWEVCxx+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651553380; a=rsa-sha256; cv=none; b=G2mz7Us6MueWKs1uQ7pfZE87ZrCB0Xd2N/9kkrE/Re1mLiX+CzxLlJ55mOwcixhAhs12xX LwwdZ74gGyPjCSOZePNC/hBPtfebn9bfWSN4CpaBivEqEjDw3MyQj3pSoilMGDR/01guBX ohyHe8zoZdMyfOHHitd5Vcxv/BkNFPFFb0qGe5d8uvJorlqf9tvRr7I09MvxmKeb2mlkyF XtQv7rW8QqcgJz0CIiSH/rcbT6OJPolbHPwKE851iU8vfjMtOagzo98ipu5YKgcivoHpSy Ao509I8cspmwCuEm/cf8n2XDD5+YdM5MVJ8LyAjZNpYGGZcUB7HWWC0QXRtvSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263746 Bug ID: 263746 Summary: Exercise caution before suggesting commands that will destroy data Product: Documentation Version: Latest Hardware: Any URL: https://github.com/freebsd/freebsd-doc/blob/main/docum entation/content/en/books/faq/_index.adoc#810-how-do-i -use-a-new-removable-drive OS: Any Status: New Severity: Affects Many People Priority: --- Component: Documentation Assignee: doc@FreeBSD.org Reporter: grahamperrin@gmail.com For example, under :=20 > # dd if=3D/dev/zero of=3D/dev/da0 count=3D2 > # gpart create -s GPT /dev/da0 > # gpart add -t freebsd-ufs /dev/da0 =E2=80=93 there is no forewarning to check that the required drive is truly= at=20 0 i.e. /dev/da0 before destroying (overwriting) what's there.=20 Risk: dataloss (the required drive might be at /dev/da1 or elsewhere).=20 I noticed this from a quick look at part of the book of frequently asked questions. Whether there's a comparable lack of caution anywhere in the Fre= eBSD Handbook, I don't know. --=20 You are receiving this mail because: You are the assignee for the bug.=