Bug 246604 - When the device is missing a filesystem, mount(8) cites the device as non-existent
Summary: When the device is missing a filesystem, mount(8) cites the device as non-exi...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: dogfood
Depends on:
Blocks:
 
Reported: 2020-05-20 14:40 UTC by Mikhail Teterin
Modified: 2020-05-20 14:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Teterin freebsd_committer freebsd_triage 2020-05-20 14:40:21 UTC
When invoked to mount an existing device, that has no filesystem on it, mount claims the device itself does not exist:

% mount /dev/ada0f /mnt
mount: /dev/ada0f: No such file or directory

After running newfs on /dev/ada0f, the mount succeeds. The error-message should be more helpful...