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

Skip NFS mounts #79

Closed
greg-hamonic-public opened this issue Dec 15, 2021 · 8 comments
Closed

Skip NFS mounts #79

greg-hamonic-public opened this issue Dec 15, 2021 · 8 comments
Assignees
Labels
enhancement New feature or request patch released

Comments

@greg-hamonic-public
Copy link

Feature enhancement request to have the scanner auto-skip NFS mounted filesystems.

@jgstew
Copy link
Contributor

jgstew commented Dec 15, 2021

Especially on Linux, getting the scanner to automatically skip remote mounts, NFS or CIFS or otherwise would be helpful.

Otherwise if you run this from many Linux devices at once, you can bring down your file shares if you don't exclude them.

On windows it is less difficult to get the set of fixed disks to add to the --drives command to run, but even there it could be useful as a precaution.

Related:

@xeraph xeraph added the enhancement New feature or request label Dec 16, 2021
@xeraph
Copy link
Contributor

xeraph commented Dec 16, 2021

I will address this issue in the next release.

@jpvlsmv
Copy link

jpvlsmv commented Dec 16, 2021

Alternatively, I'd recommend a --same-filesystem option like find's -xdev With this option, you could target / and automatically not deal with crossing into strange mounts like /run, /sys, /proc, /home, etc.

@xeraph xeraph self-assigned this Dec 16, 2021
@xeraph
Copy link
Contributor

xeraph commented Dec 16, 2021

@greg-hamonic-public @jgstew @jpvlsmv Would you test v1.7.0 release? NFS will be ignored by default. You can change behavior using --exclude-fs option.

@vongillus
Copy link

I am missing probably something, but how can I enable now NFS scanning? I couldn't find any option.

@vongillus
Copy link

@xeraph by the way, thanks a lot for that tool.

@xeraph
Copy link
Contributor

xeraph commented Dec 17, 2021

@vongillus You can redefine using --exclude-fs tmpfs,devtmpfs,iso9660 or simply --exclude-fs none

@vongillus
Copy link

OK, your comment above now makes sense, I need a coffee! Thanks

@xeraph xeraph closed this as completed Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request patch released
Projects
None yet
Development

No branches or pull requests

5 participants