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

Conversation

concussious
Copy link
Contributor

The usual use case in 2024 for newfs_msdosfs is creating filesystems on SD cards for older hardware. In most tutorials, they call the cluster size "allocation size". Therefore, add a small note next to cluster size that it is also called allocation size, and add an example for how to do this.

Fun fact, you can't do this on Windows without downloading suspicious programs.

Copy link
Member

@bsdjhb bsdjhb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expand the commit log to include most of your comment in the PR (which I found helpful). I would perhaps leave out the last line in the comment about Windows from the log message, but the rest of the comment is useful for giving the "why" of the change.

sbin/newfs_msdos/newfs_msdos.8 Outdated Show resolved Hide resolved
sbin/newfs_msdos/newfs_msdos.8 Outdated Show resolved Hide resolved
The usual use case in 2024 for newfs_msdosfs is creating filesystems on SD cards
for older hardware. In most tutorials, they call the cluster size "allocation
size". Therefore, add a small note next to cluster size that it is also called
allocation size, and add an example for how to do this.

Co-authored-by: John Baldwin <[email protected]>
@concussious
Copy link
Contributor Author

This is my first time trying to squash a co-authored commit, did it go okay?

Copy link
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 prefect

@bsdjhb
Copy link
Member

bsdjhb commented Jan 22, 2024

I didn't really co-author this FWIW, I just made minor suggestions in review. The work is really your own.

bsdjhb pushed a commit to bsdjhb/freebsd that referenced this pull request Jan 22, 2024
The usual use case in 2024 for newfs_msdosfs is creating filesystems on SD cards
for older hardware. In most tutorials, they call the cluster size "allocation
size". Therefore, add a small note next to cluster size that it is also called
allocation size, and add an example for how to do this.

Reviewed by:	jhb
Pull Request:	freebsd#1045
@bsdjhb bsdjhb added the merged label Jan 22, 2024
@bsdjhb
Copy link
Member

bsdjhb commented Jan 22, 2024

Merged in c8bf9f0, thanks!

(Oops, missed including Mina's review in the commit)

@bsdjhb bsdjhb closed this Jan 22, 2024
freebsd-git pushed a commit that referenced this pull request Apr 8, 2024
The usual use case in 2024 for newfs_msdosfs is creating filesystems on SD cards
for older hardware. In most tutorials, they call the cluster size "allocation
size". Therefore, add a small note next to cluster size that it is also called
allocation size, and add an example for how to do this.

Reviewed by:	jhb
Pull Request:	#1045

(cherry picked from commit c8bf9f0)
freebsd-git pushed a commit that referenced this pull request Apr 8, 2024
The usual use case in 2024 for newfs_msdosfs is creating filesystems on SD cards
for older hardware. In most tutorials, they call the cluster size "allocation
size". Therefore, add a small note next to cluster size that it is also called
allocation size, and add an example for how to do this.

Reviewed by:	jhb
Pull Request:	#1045

(cherry picked from commit c8bf9f0)
@concussious concussious deleted the msdosfs branch April 24, 2024 01:39
bsdjhb pushed a commit to bsdjhb/cheribsd that referenced this pull request Jul 31, 2024
The usual use case in 2024 for newfs_msdosfs is creating filesystems on SD cards
for older hardware. In most tutorials, they call the cluster size "allocation
size". Therefore, add a small note next to cluster size that it is also called
allocation size, and add an example for how to do this.

Reviewed by:	jhb
Pull Request:	freebsd/freebsd-src#1045
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants