Re: CVS commit: src/sbin/umount

David Holland <[email protected]> Wed, 26 Mar 2025 20:46:42 +0000
Newsgroups gmane.os.netbsd.devel.userlevel,gmane.os.netbsd.devel.cvs.discuss
Message-ID <[email protected]>
On Thu, Mar 27, 2025 at 02:26:46AM +0700, Robert Elz wrote:
 >   | GitHub/31: Ricardo Branco: Add -d flag to umount to detach vnds,
 > 
 > Why would we do this for vnd devices, and not cgd, raidframe, ccd, ... ??

Because vnds are specifically configured for mounts; the only thing
they're useful for is mounting a fs image that lives in a regular
file.

It looks like we (still) don't have the ability to implicitly (or even
explicitly) configure a vnd when you try to mount a file, which Linux
has had for a long time. But we should really get that sometime.

It's really fundamentally different from things like raids that have
independent existence.

-- 
David A. Holland
[email protected]