Path: utzoo!attcan!uunet!cbmvax!steveb From: steveb@cbmvax.UUCP (Steve Beats) Newsgroups: comp.sys.amiga Subject: Re: Disk environment vector, MakeDosNode Message-ID: <5193@cbmvax.UUCP> Date: 8 Nov 88 15:18:33 GMT References: <5234@louie.udel.EDU> Reply-To: steveb@cbmvax.UUCP (Steve Beats) Organization: Commodore Technology, West Chester, PA Lines: 30 In article <5234@louie.udel.EDU> BRENNER_%DULRUU51.BITNET@cunyvm.cuny.edu writes: >My questions to the Amiga auditorium: > >- Where are those new mountlist entries "MaxTransfer, dostype, etc." > located in the disk environment vector (I want to supply the parameters > via MakeDosNode()) and what exactly do they mean? The last one that is > documented is "DE_BufMemType". The entries after de_BufMemType are :- de_MaxTransfer; /* Maximum BYTES to xfer in one IORequest */ de_Mask; /* Mask to apply to destination address. It's VERY important to always clear bit 0. Normally this would be 0xfffffe */ de_BootPri; /* Normally 0 or -5 for hard drives */ de_DosType; /* for a filing system to look at. The ROM filing system expects 0x444f5300 while FFS expects 0x444f5301 */ >- How do I tell the system to use another filesystem like FFS (not in > the mountlist but with AddDosNode())? Should I patch the structure > returned by MakeDosNode()? > Yes, patch the returned DosNode. You can either stick the name of the file system you want loaded into dn_Handler (if it's soft loaded) or you can LoadSeg the filing system yourself and stick the returned pointer into dn_Segment. I prefer the latter method since you can share filing system code segments between partitions using this method. Steve