mfsbsd# dd if=/dev/zero of=/dev/ada0 bs=512 count=10 mfsbsd# fdisk -I ada0 ******* Working on device ada0 ******* fdisk: invalid fdisk partition table found this is ambigious: a) it was error message, command fail b) this is error message but command success c) this is just some message, command success May be that will be better: ******* Working on device ada0 ******* fdisk: invalid fdisk partition table found fdisk: partition was fixed and initialized sucessfully
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2af5769e3431f6b5d1bc0ddaac9082e53096e308 commit 2af5769e3431f6b5d1bc0ddaac9082e53096e308 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2024-10-11 16:13:08 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-10-11 18:06:33 +0000 fdisk: Make confusing fdisk messages a little less ambiguous We print an error when we can't read the MBR. Add minimal messages about continuing anyway. PR: 167036 Sponsored by: Netflix sbin/fdisk/fdisk.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
I have no plans to MFC this, since fdisk is in the glide path for removal.