English Amiga Board


Go Back   English Amiga Board > Support > support.AmigaOS

 
 
Thread Tools
Old 20 September 2023, 11:30   #1
Mikeywikey
Kickstart Hacker
 
Mikeywikey's Avatar
 
Join Date: Apr 2021
Location: Wales
Posts: 83
Mountlist - Filesystem: Drivers Already loaded/in ROM?

Quick question... maybe?

If a filesystem driver/library is already loaded by a previous mount or in ROM then does the Filesystem L:driver still load a new copy from the hard drive or does it use the loaded one

I've made the assumption that once it's loaded, it doesn't load again, but (recent related threads) seem to imply that you MUST specify a disk location in the mountlist or it doesn't load/access it, so the question is;

Does a Mountlist entry reload the filesystem driver into RAM (in other words it's pointless having it in ROM) or does it just need that to get past the loading of the module?

For example, you can put Fat95/CrossDOSFilesystem into a kickstart ROM, but it seems as if the Mountlist entry requires a reference to a disk based copy e.g. L: does this mean it loads another copy or (like loadmoule) it then goes on to use the already loaded copy - maybe checking the version?

It doesn't seem efficient if it does this, and seems to imply that multiple entries (e.g. a PCMCIA with multiple partitions) would load the driver multiple times - and I'm not sure how the OS would even know which one to direct it to.
Mikeywikey is offline  
Old 20 September 2023, 14:06   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,035
The list of loaded file systems is held by filesystem.resource and the key to the list is the DosType.

I am not sure about the following, but I think it is so, that

1. the list entries must be maintained by the handlers / file systems themselves. If a file system does not insert itself into the list, it cannot be found by DosType.

2. if you specify FileSystem= in a mount list, this entry takes precedence over the DosType, i.e. it must exist at the specified path and is loaded every time. If you want to reuse an already loaded file system, you have to omit FileSystem= and select the file system only by DosType.
thomas is offline  
Old 20 September 2023, 16:28   #3
Mikeywikey
Kickstart Hacker
 
Mikeywikey's Avatar
 
Join Date: Apr 2021
Location: Wales
Posts: 83
Quote:
Originally Posted by thomas View Post
The list of loaded file systems is held by filesystem.resource and the key to the list is the DosType.

I am not sure about the following, but I think it is so, that

1. the list entries must be maintained by the handlers / file systems themselves. If a file system does not insert itself into the list, it cannot be found by DosType.

2. if you specify FileSystem= in a mount list, this entry takes precedence over the DosType, i.e. it must exist at the specified path and is loaded every time. If you want to reuse an already loaded file system, you have to omit FileSystem= and select the file system only by DosType.
Cool, so if the driver is in ROM/loaded then the mountlist must exclude Filesystem and use DosType instead.
Got it, will have a play.
Cheers
Mikeywikey is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
CD ROM Filesystem SkippyAR support.Other 4 22 May 2008 23:37
CD-ROM Drivers For A600? Fingerlickin_B support.Hardware 2 19 March 2007 09:36
CD ROM Drivers With OS3.9 roberthazelby support.Apps 1 30 September 2005 09:34
Locked and Loaded PD CD-ROM? TjLaZer request.Old Rare Games 3 20 December 2004 00:14
Rom Image Not Loaded/Found Caligula support.WinUAE 3 25 May 2002 22:41

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:27.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06798 seconds with 15 queries