| Summary: | FAQ: Exercise caution before suggesting commands that will destroy data | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Graham Perrin <grahamperrin> |
| Component: | Books & Articles | Assignee: | Sergio Carlavilla Delgado <carlavilla> |
| Status: | Closed Overcome By Events | ||
| Severity: | Affects Many People | CC: | carlavilla, doc, fernape, pauamma |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
| URL: | https://github.com/freebsd/freebsd-doc/blob/main/documentation/content/en/books/faq/_index.adoc#810-how-do-i-use-a-new-removable-drive | ||
| See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254191 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263339 |
||
|
Description
Graham Perrin
2022-05-03 04:49:40 UTC
Comment 1
xxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxx
2022-05-03 06:08:38 UTC
This section specifically says: "How do I use a new removable drive?" New implies no need to worry about data loss. (In reply to JustIgnoreMe from comment #1) 1. imagine my entire photo collection at /dev/da0p1 2. you hand me a "new" drive 3. I plug it in, alongside the drive that includes my photos 4. you tell me to overwrite /dev/da0 5. I ask you to pay for restoration of lost data ;-)
Comment 3
xxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxx
2022-05-03 07:02:26 UTC
If the user cannot understand the risks in ANY formatting of a disk, he/she should not be performing such tasks. One assumes a level of knowledge. The example newfs uses has been there for years and I personally have not noticed a wave of people complaining about being misled by an "example". I wonder if others have? But, by all means, offer up the diffs to rectify this Pandora's box. (In reply to JustIgnoreMe from comment #3) Please read https://docs.freebsd.org/en/books/fdp-primer/overview/#overview-documentation-ecosystem before opining on the appropriateness of documentation change requests. (In reply to Graham Perrin from comment #0) Warnings in some Handbook sections eg 2.3.1.1 and 20.3.8, but not in others eg 18.6.8 and 18.13.2 (only looked for uses of dd, so likely not exhaustive).
Comment 6
xxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxx
2022-05-04 01:42:43 UTC
FAQ: "This format does not permit long and comprehensive answers." (In reply to xxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxxXXxx from comment #6) I think it would be fine as long as it's shorter than 16.3. ^Triage: reporter is committer, assign accordingly. ^Triage: Reporter is committer, assign accordingly Any committer may commit to any repository with an accepted review from any committer with existing access to that repository. Committers may obtain review via a Differential in Phabricator, adding the "Contributor Reviewers ($Repository)" group as a Reviewer, reaching out to other committers; directly or via mailing lists, or setting the attachment flag to: maintainer-approval ? <person-youd-like-to-review> |