Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

newfs_msdos.8: example for specific cluster size #1045

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions sbin/newfs_msdos/newfs_msdos.8
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd June 14, 2018
.Dd January 12, 2024
.Dt NEWFS_MSDOS 8
.Os
.Sh NAME
Expand Down Expand Up @@ -134,7 +134,7 @@ File system block size (bytes per cluster).
This should resolve to an
acceptable number of sectors per cluster (see below).
.It Fl c Ar cluster-size
Sectors per cluster.
Sectors per cluster, also called allocation size.
Acceptable values are powers of 2 in the range
1 through 128.
If the block or cluster size are not specified, the code
Expand Down Expand Up @@ -224,6 +224,12 @@ Create a file system, using default parameters, on
newfs_msdos /dev/ada0s1
.Ed
.Pp
Create a FAT32 filesystem with a 32K allocation size on
.Pa /dev/mmcsd0s1 :
.Bd -literal -offset indent
newfs_msdos -F 32 -A -c 64 /dev/mmcsd0s1
.Ed
.Pp
Create a standard 1.44M file system, with volume label
.Ar foo ,
on
Expand Down