aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/makefs/msdos.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix contents= being ignored in msdosfs makefs mtreeAlex Richardson2019-11-151-1/+2
| | | | | | | | | | I noticed this while trying to build an EFI boot image Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D22387 Notes: svn path=/head/; revision=354738
* makefs: share msdosfsmount.h between kernel msdosfs and makefsEd Maste2019-09-011-3/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=351665
* Properly update FSInfo block after generation.Xin LI2019-08-231-0/+2
| | | | | | | | | | | | After populating the filesystem, write a FSInfo block with proper information. Reviewed by: emaste, cem MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D21363 Notes: svn path=/head/; revision=351415
* makefs: share denode.h between kernel msdosfs and makefsEd Maste2019-08-211-3/+3
| | | | | | | | | | | There is no need to duplicate this file when it can be trivially shared (just exposing sections previously under #ifdef _KERNEL). MFC with: r351273 Differential Revision: The FreeBSD Foundation Notes: svn path=/head/; revision=351346
* makefs: add msdosfs (FAT) supportEd Maste2019-08-201-22/+21
| | | | | | | | | | | | | | | | | | | | | | Add FAT support to makefs by copying some files from sys/fs/msdosfs/ and updating others with changes from NetBSD. The six files copied from sys/fs/msdosfs at r348251 and modified are: denode.h direntry.h fat.h msdosfs_fat.c msdosfs_lookup.c msdosfsmount.h I would prefer to avoid the duplication, but reluctance to doing so was expressed in a previous review (D11197); for now copy the files and revisit in the future. Submitted by: Siva Mahadevan Discussed with: cem, imp MFC after: 1 month Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D16438 Notes: svn path=/head/; revision=351273
* makefs: whitespace cleanup in msdos filesEd Maste2018-07-251-5/+5
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=336706
* makefs: add copies of NetBSD makefs msdos source filesEd Maste2017-06-231-0/+272
We do not treat makefs as contrib code. Import copies of makefs msdos files from NetBSD so that we can track our changes to these files. These are copied from NetBSD, with only a change to use __FBSDID and $FreeBSD$ instead of __KERNEL_RCSID and $NetBSD$. A copy of the original $NetBSD$ tag remains in each source file. These two files were missed in r320212. Also remove a stray blank line added in msdosfs_vfsops.c. Submitted by: Siva Mahadevan Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=320291