Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: CF0 not mounting from startup-sequence
« 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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: CF0 not mounting from startup-sequence
« Reply #1 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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: CF0 not mounting from startup-sequence
« Reply #2 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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: CF0 not mounting from startup-sequence
« Reply #3 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 all replies
Re: CF0 not mounting from startup-sequence
« Reply #4 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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: CF0 not mounting from startup-sequence
« Reply #5 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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: CF0 not mounting from startup-sequence
« Reply #6 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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: CF0 not mounting from startup-sequence
« Reply #7 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
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 all replies
Re: CF0 not mounting from startup-sequence
« Reply #8 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 ;)
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