Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 May 2022 04:49:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 263746] Exercise caution before suggesting commands that will destroy data
Message-ID:  <bug-263746-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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 <https://docs.freebsd.org/en/books/faq/#removable-drives=
>:=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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263746-9>