1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/usr.sbin/makefs
Maxim Sobolev 781e78182d Improve error handling: bail out if one of the files scheduled
to go to the FS image we are making cannot be read (e.g. EPERM).
Current behaviour when we issue waring but still proceeed and
return success is definitely not correct: masking out error
condition as well as making a slighly inconsistent FS where
attempt to access the file in question ends up in EBADF. See
linked DR for details.

MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D18584
2019-02-25 23:45:36 +00:00
..
cd9660 makefs: ANSIfy 2018-05-16 02:58:05 +00:00
ffs makefs: use FreeBSD brelse function signature 2018-07-26 13:33:10 +00:00
msdos makefs: use FreeBSD brelse function signature 2018-07-26 13:33:10 +00:00
tests makefs(8): add test case for PR 229929 2018-07-21 17:24:14 +00:00
cd9660.c Synchronise with NetBSD's version of EFI handling for El Torito images. 2018-03-31 15:04:41 +00:00
cd9660.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ffs.c Improve error handling: bail out if one of the files scheduled 2019-02-25 23:45:36 +00:00
ffs.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile makefs: tidy up reach-over source 2018-04-20 22:23:38 +00:00
Makefile.depend
makefs.8 Synchronise with NetBSD's version of EFI handling for El Torito images. 2018-03-31 15:04:41 +00:00
makefs.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
makefs.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
msdos.c makefs: whitespace cleanup in msdos files 2018-07-25 13:27:20 +00:00
msdos.h
mtree.c makefs: Use ENODATA instead of ENOMSG as a translation for missing ENOATTR. 2018-04-25 02:43:53 +00:00
walk.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00