HomeFreeBSD

makefs: Handle special file types when creating a zpool

Description

makefs: Handle special file types when creating a zpool

Previously, anything other than a regular file, directory or symlink
would cause makefs to exit with an assertion failure. Make it a bit
more resilient to user error: print a warning and skip the file. Add a
regression test wherein we create an image from a devfs mount.

PR: 283583
MFC after: 2 weeks

Details

Provenance
markjAuthored on Tue, Jan 7, 2:31 PM
Parents
rG2be86b6cc168: makefs: Remove dead code in inode_type()
Branches
Unknown
Tags
Unknown