On Fri, 26 Aug 2022 23:00:42 +0200, Alexander Bluhm wrote:

> This breaks my memory file system for building release.
> I have this line in my /etc/fstab
>
> /dev/sd0b /build mfs rw,noperm,nodev,nosuid,-s=2064348,noauto
>
> # mount /build
> mount_mfs: /dev/sd0b: Block device required
>
> According to ktrace this command fails.
> # /sbin/mount_mfs -o rw -o noperm -o nodev -o nosuid -s 2064348 -o noauto /de
> v/sd0b /build

Reviewing how opendev(3) is used again I think this needs to be
backed out.  The the block vs. character device distinction is
really only relevant when converting a short-form device name to
its full path.  There is no reason to reject an existing file just
because it is not a device--many utilities that use opendev() should
work with the contents of a device dumped to a file.

 - todd

Reply via email to