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

Highlight mtab files with fstab highlighting #1683

Merged
merged 1 commit into from
Jun 10, 2021
Merged

Highlight mtab files with fstab highlighting #1683

merged 1 commit into from
Jun 10, 2021

Conversation

kidonng
Copy link
Contributor

@kidonng kidonng commented Jun 10, 2021

This is mentioned in #696 (comment), but somehow not implemented.

@sharkdp
Copy link
Owner

sharkdp commented Jun 10, 2021

Thank you very much for your contribution!

I wasn't sure if it really was the same syntax. Do you have any information on that?

@kidonng
Copy link
Contributor Author

kidonng commented Jun 10, 2021

Quoting: https://github.com/karelzak/util-linux/blob/fb9ed3b409c05752a06619b2a5f02f5a21b3bb62/sys-utils/mount.8.adoc#the-files-etcfstab-etcmtab-and-procmounts:

The programs mount and umount(8) traditionally maintained a list of currently mounted filesystems in the file /etc/mtab.

The difference is basically that fstab is managed by the user and mtab by the system. The syntax should be the same.

Copy link
Owner

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

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

Thank you!

@sharkdp sharkdp merged commit 35f3127 into sharkdp:master Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants