12 February 2013, 19:36 | #1 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
Using XFS to mount an ADF image from the shell
Sorry for my questions retaliation these days!
I'm trying to make an script to automatically mount ADFs using XFS. I've carefully read the docs, but it's not that clear... After I copy xfsd to L:, copy fd.device to devs: copy mountlist.xfs to devs: then I can do mount fd0: from devs:mountlist.xfs ..and I DO get a new fd0: unit. Great! But now, HOW am I supposed to insert an ADF into this unit?? I imagine it's related to xfsd, but I can't get it to accept any parameters... Any ideas, please? |
12 February 2013, 19:59 | #2 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
You need to use file.device.
Akira made a tutorial for XFS http://eab.abime.net/showthread.php?t=67110 |
12 February 2013, 20:01 | #3 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
@Arnie, that's not for mounting ADFs from the shell, but clicking around.
|
12 February 2013, 20:44 | #4 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
|
12 February 2013, 22:27 | #5 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
Tried that, Arnie. I put it all in a script, but after running it, if I do "dir file0:", I get "file0: is not a directory. Directory not found".
So the ADF isn't mounted and I can't access it's contents. I also tried using fd0: instead of file0: , putting in the script: Code:
mount fd0: from devs:mountlist.xfs >nil: Code:
mount file0: from devs:mountlist.xfs >nil: So I'm near but not there yet. The ADF is not "inserted" in fd0. |
12 February 2013, 22:38 | #6 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
FD0: is for physical disks you insert in DF0: It uses fd.device.
File0: is for mounting adf files. It uses file.device. If you type info you should get a list of mounted drives. My guess is that file0: isn't mounted. Make sure file.device is in Devs: |
15 April 2024, 15:09 | #7 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
@Arnie I never thanked you back in the day for all the help on this thread.
Today, thanks for your information, I was able to install RocketRanger on an Amiga 500 HDD, using XFS! Thank you, really. |
15 April 2024, 15:16 | #8 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
This is the script that works for running Rocket Ranger on an Amiga 500 HDD without having to use WHDLoad (which is fantastic but needs RAM expansion to avoid OS-swaps):
Code:
setenv env:file.device,0 DISK1.ADF mount file0: from devs:mountlist.xfs >nil: devio --reset file.device,0 >nil: setenv env:file.device,1 DISK2.ADF mount file1: from devs:mountlist.xfs >nil: devio --reset file.device,1 >nil: file0: rr Last edited by Gaula92; 15 April 2024 at 15:23. |
15 April 2024, 17:59 | #9 |
Norbert
Join Date: Jan 2022
Location: Poland
Posts: 133
|
Why play with Shell , if changing floppy disks can be done with the keyboard shortcut lshift lamiga numeric 0 (df0) lshift lamiga numeric 1 (df1)
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Clear background color for Shell window- Shell-StartUp | fc.studio | support.Apps | 13 | 25 March 2022 18:52 |
Mount adf like volumes | Giana | support.Apps | 20 | 07 March 2018 19:10 |
How to mount ADF / ADZ / DMS files using XFS | Amiga1992 | support.Apps | 30 | 05 March 2018 16:57 |
How to mount ADF CB 3.9 | amigatv | support.Apps | 19 | 25 November 2015 13:44 |
looking for Escape From Mount Doom [PD] ADF | CritAnime | request.Old Rare Games | 1 | 02 December 2011 05:24 |
|
|