diff options
author | Xin LI <delphij@FreeBSD.org> | 2018-07-16 04:06:34 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2018-07-16 04:06:34 +0000 |
commit | 1e079253f4085361657b96e6688b251c152643cc (patch) | |
tree | d5dc036a2ae8c8f3e43b750e8ec80307daa2d09c /sbin/newfs_msdos/mkfs_msdos.h | |
parent | 588c63e9e33fc1d1e434b825bdaaab6faf3715e3 (diff) | |
download | src-1e079253f4085361657b96e6688b251c152643cc.tar.gz src-1e079253f4085361657b96e6688b251c152643cc.zip |
MFC r335189:
Added option to cluster-align the start of the root directory.
Obtained from: Android
Obtained from: https://android.googlesource.com/platform/system/core/+/052f27562154d175267999106bd6bf18fc8c363e
Obtained from: https://android.googlesource.com/platform/system/core/+/8218b6aae9cd4a19fa074a8a8203fe9275b35447
Differential Revision: https://reviews.freebsd.org/D15672
Notes
Notes:
svn path=/stable/11/; revision=336329
Diffstat (limited to 'sbin/newfs_msdos/mkfs_msdos.h')
-rw-r--r-- | sbin/newfs_msdos/mkfs_msdos.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/newfs_msdos/mkfs_msdos.h b/sbin/newfs_msdos/mkfs_msdos.h index 2f5d7dcb12af..7e0c6622c8b7 100644 --- a/sbin/newfs_msdos/mkfs_msdos.h +++ b/sbin/newfs_msdos/mkfs_msdos.h @@ -34,6 +34,7 @@ #include <stdbool.h> #define ALLOPTS \ AOPT('@', off_t, offset, 0, "Offset in device") \ +AOPT('A', bool, align, -2, "Attempt to cluster align root directory") \ AOPT('B', const char *, bootstrap, -1, "Bootstrap file") \ AOPT('C', off_t, create_size, 0, "Create file") \ AOPT('F', uint8_t, fat_type, 12, "FAT type (12, 16, or 32)") \ @@ -61,7 +62,7 @@ AOPT('u', uint16_t, sectors_per_track, 1, "Sectors per track") struct msdos_options { #define AOPT(_opt, _type, _name, _min, _desc) _type _name; ALLOPTS -#undef AOPT +#undef AOPT uint32_t timestamp_set:1; uint32_t volume_id_set:1; uint32_t media_descriptor_set:1; |