All,
Ever since I upgraded my mac it file sharing (using either Samba or NFS) from my NeXTstation (running OPENSTEP4.2 w/ Y2KPatch4) doesn't work. When I tried to mount the served volumes from the NeXT it tells me the server is too old and fails in a similar manner with Samba.
Does anyone know of a way to share files effectively? I have tried mounting the drive as an FTP volume but this does not work.
The driving reason for this is that I am trying to write some apps for the NeXT:
1. Finishing up PLATOTerm for OPENSTEP
2. Possibly a VNC *SERVER* for the machine so that it can be controlled remotely.
3. A tool to translate old NIB files into XIB files. (Yes, I know there are no XML classes on OPENSTEP... not a problem)
I can still do all of these without it, but it will be a pain in the butt getting everything committed on git.
Yours, GC
GNUstep Lead Dev
I haven't tried for some time and NeXTstep was always rather problematic for me when mounting NFS volumes exported by a Linux server.
Did you try to pass the appropriate options to use NFS over UDP and NFSv2 to mount on the Mac? mount_nfs should understand the options "-o udp -o nfsvers=2"
Quote from: cuby on December 18, 2023, 01:00:53 PMI haven't tried for some time and NeXTstep was always rather problematic for me when mounting NFS volumes exported by a Linux server.
Did you try to pass the appropriate options to use NFS over UDP and NFSv2 to mount on the Mac? mount_nfs should understand the options "-o udp -o nfsvers=2"
I did NOT, I will try that. Thank you! I'll post here if it succeeds. I may not be able to get to it today, but when I do it I will update.
Quote from: cuby on December 18, 2023, 01:00:53 PMI haven't tried for some time and NeXTstep was always rather problematic for me when mounting NFS volumes exported by a Linux server.
Did you try to pass the appropriate options to use NFS over UDP and NFSv2 to mount on the Mac? mount_nfs should understand the options "-o udp -o nfsvers=2"
So I tried the following...
[heron@nomad ~] % mount_nfs -o udp -o nfsvers=2 genoa:/Users/heron /tmp/heron [74]
mount_nfs: can't mount with remote locks when server (genoa) is not running rpc.statd: RPC prog. not availNot entirely successful, but closer. Sorry it took me a bit to get back to you, but I have been busy at work and also had a vacation.
GC
Cuby,
Okay, I discovered the -o nolock option. This allowed things to connect. :) Awesome!!! This is a definite start. What I want to do is to allow the use of git on my projects that I am working on on the NeXT machine under OPENSTEP and that is not possible since, of course, git doesn't work on those machines. Now that this is working... it makes things a lot easier.
So I ended up with the command:
mount -o nolock -o udp -o nfsvers=2 genoa:/Users/heron /tmp/heron
Which worked like a charm. :)
Thanks for the advice, GC
---
GNUstep Lead Developer
Just to follow up... I was able to get it so that I can modify and use it normally. I can now do precisely what I aimed for. This makes it a ton easier to get things up on github.
GC
Quote from: bheron on January 02, 2024, 06:25:29 PMOkay, I discovered the -o nolock option. This allowed things to connect. :) Awesome!!!
Great to hear that it works for you now! :)
Hm, yes, the -o nolock rings a bell - as long as you're only accessing files on the NFS server from a single machine, disabling locking shouldn't be a problem. NFS is a very convoluted protocol with all the versions out there...