Welcome, Guest. Please login or register.

Author Topic: CF0 not mounting from startup-sequence  (Read 5008 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 only replies by gertsy
    • 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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: CF0 not mounting from startup-sequence
« Reply #1 on: December 20, 2010, 01:59:35 PM »
What happens if you type the mount command from startup-sequence into a shell?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline fitzsteve

Re: CF0 not mounting from startup-sequence
« Reply #2 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?
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: CF0 not mounting from startup-sequence
« Reply #3 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Matt_H

Re: CF0 not mounting from startup-sequence
« Reply #4 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.
 

Offline gertsyTopic starter

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

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: CF0 not mounting from startup-sequence
« Reply #6 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?
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline gertsyTopic starter

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

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: CF0 not mounting from startup-sequence
« Reply #8 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: CF0 not mounting from startup-sequence
« Reply #9 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline gertsyTopic starter

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

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: CF0 not mounting from startup-sequence
« Reply #11 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline gertsyTopic starter

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

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: CF0 not mounting from startup-sequence
« Reply #13 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline gertsyTopic starter

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