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

mount nfs failed without explicitly specify the address #279

Open
jady3356 opened this issue Apr 25, 2021 · 1 comment
Open

mount nfs failed without explicitly specify the address #279

jady3356 opened this issue Apr 25, 2021 · 1 comment

Comments

@jady3356
Copy link

jady3356 commented Apr 25, 2021

It was failed and prompt "mount: '192.168.1.22:/nfs'->'nfs': Invalid argument". Steps as follow(it works with Busybox):

mkdir nfs
mount -t nfs -o nolock 192.168.22:/nfs nfs

It works if specify the address:

mount -t nfs -o nolock,addr=192.168.1.22 192.168.22:/nfs nfs

Is it possiable to optimize the redundancy address check and just have same behavior with Busybox?

@landley
Copy link
Owner

landley commented Apr 26, 2021

I have a todo item to add "nfsmount" and "smbmount" commands that can prompt for password without showing it to other ps users on the command line, and stuff like that. (No, passing -o as an environment variable doesn't help, /proc/self/environ exists...)

Would that cover it?

Rob

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

No branches or pull requests

2 participants