RISC OS / Mac shared drive
Steve Fryatt (216) 2105 posts |
What do you mean by “network management commands”? Your example above is
|
adr (12133) 23 posts |
For what I think you are going to do, this is what I recommend: 1 Add !Sunfish to “Look at” in the Boot configuration app. * addtinydir $.Public.Mac_Stuff (for example) Now you have a folder in the Icon Bar with the name Mac_Stuff. 4 Click menu on the Pinboard and save the configuration in the default path. That is. Now use the path $.Public.Mac_Stuff (substitute with yours, of course) like any other dir. If you need mounting with another permissions just use another ImageFS file. If you need tens of nfs shares and you want to mount this and now dismount that &c, ok, use something else, but complicating yourself like that just to share a folder from a mac, I don’t understand it, really. |
John Rickman (71) 646 posts |
Nothing special, just the commands used in a unix terminal to navigate create and change files and directories. The following examples are picked from the last 100 commands reported by the history command list on the mac. ls -hnap |
John Rickman (71) 646 posts |
It is not very complicated. The only complication is having the same folder shared twice, by Sunfish and by OmniClient. |
adr (12133) 23 posts |
I give up. |
adr (12133) 23 posts |
mmmmmm… last time. You don’t need Ommni and Sunfish. Do what I said (at least try it!). you can use whatever command you want to use in that dir ($.Public.Mac_Stuff in my example). There are people here trying to help you. Take some time to read what they are telling you. Time is precious, my precious… |
John Rickman (71) 646 posts |
Done the above. Image file macsh is on the icon bar and when clicked opens filer onto shared files.
Open command window
macsh is not recognised as image filing system directory. |
John Rickman (71) 646 posts |
@Steve I forgot to mention the main reason for needing the command line to work is for using Git. I am testing the ROOL bounty Git client which does not yet support “push” to remote. One of the really useful features of coreutils is that it suports completion of file names using the tab key. |
John Rickman (71) 646 posts |
good news – after opening macsh by double-click on iconbar icon the command line works.
|
Stuart Swales (8827) 1357 posts |
Is that after you’ve clicked in the filer to open the mount? Do native commands like cat and dir work for you? |
John Rickman (71) 646 posts |
Thanks Stuart – crossed in the post. |
adr (12133) 23 posts |
Configuring Boot to “look” to !Sunfish just makes the association of the Sunfish type, so when you open such a file, sunfish will mount it. This is well documented inside !Sunfish. At this point I would think you had spent a little time reading the documentation. |
adr (12133) 23 posts |
The saddest part is that there is not a single comment from ROOL in this thread about the state of OmniClient. Nor in the bug report. The next new user following the guide will have a lot of fun trying to mount a nfs share. |
Stuart Swales (8827) 1357 posts |
Just ‘looking’ at !Sunfish and setting a file type isn’t sufficient, it needs the Sunfish module loading (see !Run) to handle the image file of that type. I think that’d then work to mount the remote filesystem without having to double-click the image file. |
adr (12133) 23 posts |
I just have !Sunfish in “Look at”. The mount is done when double-cliking the image file. It is documented inside !Sunfish, look at the “Use as an image filing system” section. But I’m not wasting more time with a software that can’t even be built. And if I want just to take a look inside Risc Os to the source code of OmniClient, I have to pay 50 pounds in a fake donation to a port of webkit, which is open source, and if I want to try to fix something or look if I can manage to alter the wimp to use UTF-8 in a simple and useful way I have to pay another 50 pounds for a compiler and tools I don’t need for anything else, and people here talking about aarch64 and 3D desktops, whatever the * is that… all this is depressing. I don’t like having this negativity in my head, I need a break. |
John Rickman (71) 646 posts |
03.01.24 ==> Speed tests Sunfish
The copy command was run at least twice per entry and gave very consistent results. RISC OS and the Mac were rock steady testing copying and deleting of 60000 plus files of around 3GB. The times are in seconds. The results were pretty much as expected except for NF3/TCP being slower than NF3/UDP Apps is a directory of 100MB containing 3071 files. MP3s is a directory of 100MB containing 39 files
The best bet seems to be Protocol: NFS3 Transport: udp. Much faster writing to Mac and only a little slower when reading. |