Skip to content

add mount utility#504

Open
rodolfo-gatti wants to merge 6 commits intouutils:mainfrom
rodolfo-gatti:feat/mount
Open

add mount utility#504
rodolfo-gatti wants to merge 6 commits intouutils:mainfrom
rodolfo-gatti:feat/mount

Conversation

@rodolfo-gatti
Copy link
Copy Markdown

Initial implementation of mount functionality for Linux.

Fixes #441

 Linux-only code paths and keeping the unsupported-platform
 fallback entrypoint. Also apply rustfmt fixes required by CI.
 compiles cleanly on macOS and Windows. This covers the mtab writer
 and Linux-only fstab path loader, and fixes the follow-up CI failures.
 module and item boundaries so the workspace compiles cleanly across
 the CI.
@@ -0,0 +1,61 @@
use thiserror::Error;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please add the license header

@@ -0,0 +1,27 @@
/// Expand octal escape sequences of the form `\NNN` used in mount-table style
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done.

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.

Implement mount(8)

2 participants