]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
makefs: add msdosfs (FAT) support
authoremaste <emaste@FreeBSD.org>
Tue, 20 Aug 2019 18:20:45 +0000 (18:20 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 20 Aug 2019 18:20:45 +0000 (18:20 +0000)
commitcb1c7a690d7f54f3db4c7e7b8ee7f40ebe428bdd
tree38d311bd24799aec91ba0584cd281fe34d5f415f
parent578ed341896611f6b419255564139e371a3344f2
makefs: add msdosfs (FAT) support

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
17 files changed:
usr.sbin/makefs/Makefile
usr.sbin/makefs/makefs.8
usr.sbin/makefs/makefs.c
usr.sbin/makefs/makefs.h
usr.sbin/makefs/msdos.c
usr.sbin/makefs/msdos.h
usr.sbin/makefs/msdos/Makefile.inc [new file with mode: 0644]
usr.sbin/makefs/msdos/denode.h [new file with mode: 0644]
usr.sbin/makefs/msdos/direntry.h [new file with mode: 0644]
usr.sbin/makefs/msdos/fat.h [new file with mode: 0644]
usr.sbin/makefs/msdos/msdosfs_conv.c [new file with mode: 0644]
usr.sbin/makefs/msdos/msdosfs_denode.c
usr.sbin/makefs/msdos/msdosfs_fat.c [new file with mode: 0644]
usr.sbin/makefs/msdos/msdosfs_lookup.c [new file with mode: 0644]
usr.sbin/makefs/msdos/msdosfs_vfsops.c
usr.sbin/makefs/msdos/msdosfs_vnops.c
usr.sbin/makefs/msdos/msdosfsmount.h [new file with mode: 0644]