Welcome, Guest. Please login or register.

Author Topic: CF0 not mounting from startup-sequence  (Read 5016 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline gertsyTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 2318
  • Country: au
  • Thanked: 1 times
    • Show all replies
    • http://www.members.optusnet.com.au/~gbakker64/
CF0 not mounting from startup-sequence
« 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....
« Last Edit: December 20, 2010, 12:00:53 PM by gertsy »
 

Offline gertsyTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 2318
  • Country: au
  • Thanked: 1 times
    • Show all replies
    • http://www.members.optusnet.com.au/~gbakker64/
Re: CF0 not mounting from startup-sequence
« Reply #1 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..
« Last Edit: December 22, 2010, 10:10:14 AM by gertsy »
 

Offline gertsyTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 2318
  • Country: au
  • Thanked: 1 times
    • Show all replies
    • http://www.members.optusnet.com.au/~gbakker64/
Re: CF0 not mounting from startup-sequence
« Reply #2 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..
« Last Edit: December 22, 2010, 10:28:06 AM by gertsy »
 

Offline gertsyTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 2318
  • Country: au
  • Thanked: 1 times
    • Show all replies
    • http://www.members.optusnet.com.au/~gbakker64/
Re: CF0 not mounting from startup-sequence
« Reply #3 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
 

Offline gertsyTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 2318
  • Country: au
  • Thanked: 1 times
    • Show all replies
    • http://www.members.optusnet.com.au/~gbakker64/
Re: CF0 not mounting from startup-sequence
« Reply #4 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.
 

Offline gertsyTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 2318
  • Country: au
  • Thanked: 1 times
    • Show all replies
    • http://www.members.optusnet.com.au/~gbakker64/
Re: CF0 not mounting from startup-sequence
« Reply #5 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.
 

Offline gertsyTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 2318
  • Country: au
  • Thanked: 1 times
    • Show all replies
    • http://www.members.optusnet.com.au/~gbakker64/
Re: CF0 not mounting from startup-sequence
« Reply #6 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