Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: gertsy on December 20, 2010, 11:57:40 AM

Title: CF0 not mounting from startup-sequence
Post by: gertsy on December 20, 2010, 11:57:40 AM
I've never really worried about this issue on my A1200 as I only need to mount my PCMCIA CF Card reader when I use it but I looked at it today and can't see why it isnt mounting from the startup-sequence.
I'm using Torsten Jager's (luv that name) PCMCIA CF Card compactflash.device v1.27 (2009)
Works fine when I mount the mountlist manually or fire up the .info with c:mount being the default tool.

BUT .....

For some reason my s:/startup-sequence which is running :
"C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)"
Is not mounting the device..  I have to admit I'm lazy and haven't looked to deeply.  FAT95 driver issue ?

Any help appreciated.

LOL intrusive smiley face....
Title: Re: CF0 not mounting from startup-sequence
Post by: motorollin on December 20, 2010, 01:59:35 PM
What happens if you type the mount command from startup-sequence into a shell?

--
moto
Title: Re: CF0 not mounting from startup-sequence
Post by: fitzsteve on December 20, 2010, 03:56:07 PM
Why not just drop CF0 into Devs/Dos Drivers?  (Then it should auto mount)

Its probably in Storage/Dos Drivers Now?
Title: Re: CF0 not mounting from startup-sequence
Post by: motorollin on December 20, 2010, 04:29:00 PM
If I understood the OP correctly, it's already in DEVS: but doesn't auto-mount for some reason.

--
moto
Title: Re: CF0 not mounting from startup-sequence
Post by: Matt_H on December 20, 2010, 08:05:54 PM
Check the tooltypes. There might be a Mount=0 or an Enable=0, which should be changed to 1.
Title: Re: CF0 not mounting from startup-sequence
Post by: gertsy on December 22, 2010, 09:55:31 AM
Quote from: Matt_H;600185
Check the tooltypes. There might be a Mount=0 or an Enable=0, which should be changed to 1.


I thought you might have had it Matt_H. But it has an "Activate=1"

'ello Moto!!  If I do a mount from the shell she pops up like a bought one.

@fitzsteve It's in Dos Drivers already.  

BTW, My CD0: mounts fine as well.

Running the cmd from the startup-sequence in a shell fails to mount...  hmm syntax?

scratch scratch..
Title: Re: CF0 not mounting from startup-sequence
Post by: motorollin on December 22, 2010, 10:06:44 AM
Quote from: gertsy;600663
I thought you might have had it Matt_H. But it has an "Activate=1"

'ello Moto!!  If I do a mount from the shell she pops up like a bought one.

@fitzsteve It's in Dos Drivers already.  

BTW, My CD0: mounts fine as well.

scratch scratch..


Is it definitely in DEVS:DOSDrivers rather than SYS:Storage/DOSDrivers?
Title: Re: CF0 not mounting from startup-sequence
Post by: gertsy on December 22, 2010, 10:11:33 AM
Quote from: motorollin;600667
Is it definitely in DEVS:DOSDrivers rather than SYS:Storage/DOSDrivers?


Yep. It would seem its the cmd string not working as suggested.  Running the full cmd from the shell fails as well: C:Mount >NIL: DEVS\DOSDrivers\~(#?.info)
Note: I used back slashes here to stop smiley face conversion..
Title: Re: CF0 not mounting from startup-sequence
Post by: motorollin on December 22, 2010, 10:33:27 AM
So if you type the following into a shell, what happens? Any errors?

C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)

And what about:

Mount DEVS:CF0

And failing that

Mount CF0

--
moto
Title: Re: CF0 not mounting from startup-sequence
Post by: motorollin on December 22, 2010, 10:34:46 AM
Quote from: gertsy;600668
Note: I used back slashes here to stop smiley face conversion..


You can also open and close a formatting tag between the colon and the D to stop it being identified as a smiley, while still seeing the correct text printed :)

--
moto
Title: Re: CF0 not mounting from startup-sequence
Post by: gertsy on December 22, 2010, 10:54:24 AM
Quote from: motorollin;600675
So if you type the following into a shell, what happens? Any errors?

a) C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)

And what about:

b) Mount DEVS:CF0

And failing that

c) Mount CF0

--
moto


a) No Errors, quick flash on the HD light
b) Can't open file DEVS:MountList
c) Works
Title: Re: CF0 not mounting from startup-sequence
Post by: motorollin on December 22, 2010, 10:58:13 AM
Quote from: gertsy;600679
a) No Errors, quick flash on the HD light
b) Can't open file DEVS:MountList
c) Works

Ok, the problem seems to be that CF0 only has an icon in DEVS:Dosdrivers, but no actual mount list. The icon contains enough info to mount the device when you double click the icon or mount cf0:, but the mount command in startup-sequence mounts everything except icons, so it never gets mounted.

The solution - create a mount list for the device in DEVS: Dosdrivers and it will mount automatically. Alternatively, add "mount cf0:" to startup-sequence.

--
moto
Title: Re: CF0 not mounting from startup-sequence
Post by: gertsy on December 22, 2010, 11:04:45 AM
Quote from: motorollin;600680
Ok, the problem seems to be that CF0 only has an icon in DEVS:Dosdrivers, but no actual mount list. The icon contains enough info to mount the device when you double click the icon or mount cf0:, but the mount command in startup-sequence mounts everything except icons, so it never gets mounted.

The solution - create a mount list for the device in DEVS: Dosdrivers and it will mount automatically. Alternatively, add "mount cf0:" to startup-sequence.

--
moto


The file CF0 is the mountlist,,, yeah ?
My understanding of the tilda? ~ is like NOT, so as you wrote the command mounts anything thats not a .info file.
Let me try the cmd in a shell without the NIL redirect.
Title: Re: CF0 not mounting from startup-sequence
Post by: motorollin on December 22, 2010, 11:11:18 AM
Quote from: gertsy;600683
The file CF0 is the mountlist,,, yeah ?
My understanding of the tilda? ~ is like NOT, so as you wrote the command mounts anything thats not a .info file.
Let me try the cmd in a shell without the NIL redirect.

Yes, CF0 is the mountlist and CF0.info is its icon. The icon alone can be enough if the tooltypes specify the info required and the default tool is c:mount. You're right, the tilde means "everything that's not an icon". But because, I suspect, your CF0 is only an icon, it gets ignored by the command. You can prove the point by typing "dir DEVS:Dosdrivers" into a shell, and if you've got CF0.info but not CF0, then the problem is as I explained.

--
moto
Title: Re: CF0 not mounting from startup-sequence
Post by: gertsy on December 22, 2010, 11:13:53 AM
I got it.  You put me on the right track.  I had an old mountlist for my CDRW which had an error.  DOSTYPE = _ needed a number.  As I don't use the CD Writer on my A1200 I just banned it to storage.

Bang !.  CF0: automounts on boot fine.

The things that come back to you once you give some deserved attention.  just needed to get myself into "debug" mode instead of user mode; a habit of the old.

Thanks for the help Moto, and all.

Cheers and have a great Christmas, or Holiday for those who don't partake.
Title: Re: CF0 not mounting from startup-sequence
Post by: motorollin on December 22, 2010, 11:26:00 AM
Quote from: gertsy;600685
I got it.  You put me on the right track.  I had an old mountlist for my CDRW which had an error.  DOSTYPE = _ needed a number.  As I don't use the CD Writer on my A1200 I just banned it to storage.

Bang !.  CF0: automounts on boot fine.

Ahh ok so the mount list contained invalid info which stopped it mounting, but the icon contained valid info which was used when you mounted manually.

Quote
Thanks for the help Moto, and all.

Not sure how much help I was since the problem was something completely different ;)

Quote
Cheers and have a great Christmas, or Holiday for those who don't partake.

You too mate :)

--
moto
Title: Re: CF0 not mounting from startup-sequence
Post by: gertsy on December 22, 2010, 11:31:41 AM
Quote from: motorollin;600690
Ahh ok so the mount list contained invalid info which stopped it mounting, but the icon contained valid info which was used when you mounted manually.


Not sure how much help I was since the problem was something completely different ;)


You too mate :)

--
moto


You made me try the command in a shell.  Which was the path to enlightenment.

Cheers
Title: Re: CF0 not mounting from startup-sequence
Post by: motorollin on December 22, 2010, 11:37:35 AM
Quote from: gertsy;600691
You made me try the command in a shell.  Which was the path to enlightenment.

Cheers


Fair enough, glad to help then ;)