mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
Add support for displaying newfs flags for SU+J and TRIM.
This commit is contained in:
parent
06f0d80dc6
commit
9775d5ebdf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219899
@ -402,7 +402,9 @@ marshal(const char *name)
|
||||
printf("-g %d ", fs->fs_avgfilesize);
|
||||
printf("-h %d ", fs->fs_avgfpdir);
|
||||
/* -i is dumb */
|
||||
/* -j..l unimplemented */
|
||||
if (fs->fs_flags & FS_SUJ)
|
||||
printf("-j ");
|
||||
/* -k..l unimplemented */
|
||||
printf("-m %d ", fs->fs_minfree);
|
||||
/* -n unimplemented */
|
||||
printf("-o ");
|
||||
@ -419,6 +421,8 @@ marshal(const char *name)
|
||||
}
|
||||
/* -p..r unimplemented */
|
||||
printf("-s %jd ", (intmax_t)fsbtodb(fs, fs->fs_size));
|
||||
if (fs->fs_flags & FS_TRIM)
|
||||
printf("-t ");
|
||||
printf("%s ", disk.d_name);
|
||||
printf("\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user