Non-RISC OS partitions on IDE/SCSI podules and counting RISC OS 5 discs

Non-RISC OS partitions on IDE/SCSI podules and counting RISC OS 5 discs

Post by Timothy Ba » Tue, 30 Nov 2004 08:29:16



Can partitions used by operating systems[1] other than RISC OS, on discs
attached to podules supporting partitions, be accessed as individual discs
using the FileCore SWIs?

All of them, or just some?

Or failing that, can the whole disc be accessed?


Also, how do I find all the drives on a RISC OS 5 system? On earlier
versions of RISC OS I can find all the FileCore instances with OS_Module
12, then use FileCore_Drives to find the number of "floppies" and "hard
discs", end then assume "floppies" are numbered from 0 and "hard discs" are
numbered from 4.

What happens when a (USB) drive is plugged in or removed whilst RISC OS is
running?


[1] Eg Linux and NetBSD.
--
Member AFFS, WYLUG, SWP (UK), ANL, Leeds SA, Leeds Anti-war coalition
OpenPGP key fingerprint: D0A6 F403 9745 CED4 6B3B 94CC 8D74 8FC9 9F7F CFE4
No to software patents! No to DRM/EUCD - hands off our computers!
 
 
 

Non-RISC OS partitions on IDE/SCSI podules and counting RISC OS 5 discs

Post by druc » Tue, 30 Nov 2004 09:39:49


Yes, yes and yes, by an aware filing system via the sector SWIs.


This works the same on RO5.


The pseudo-SCSI filing system becomes active with one or more drives.

---druck

--
The ARM Club Free Software - http://www.yqcomputer.com/
The 32bit Conversions Page - http://www.yqcomputer.com/

 
 
 

Non-RISC OS partitions on IDE/SCSI podules and counting RISC OS 5 discs

Post by Timothy Ba » Fri, 03 Dec 2004 04:52:53

In message < XXXX@XXXXX.COM >, druck




So there is no need for me to implement any partition support for these
cases. That's easy. Thanks.

What if there are more than 8 (pre RISC OS 5) partitions? Or is that not
allowed?


And do the drives maintain their numbering when lower numbered drives get
removed?

--
Member AFFS, WYLUG, SWP (UK), ANL, Leeds SA, Leeds Anti-war coalition
OpenPGP key fingerprint: D0A6 F403 9745 CED4 6B3B 94CC 8D74 8FC9 9F7F CFE4
No to software patents! No to DRM/EUCD - hands off our computers!
 
 
 

Non-RISC OS partitions on IDE/SCSI podules and counting RISC OS 5 discs

Post by druc » Fri, 03 Dec 2004 05:19:07


No, you've misunderstood. Other partitions can only be accessed by AWARE
filing systems. These filing systems will use the underlying FileCore SWIs
to access the non FileCore format area of the disc beyond the RISC OS
parition. It is entirely up to the filing system to determine where this is
from a partition table.


The 8 partition limit remains for filing systems based on Filecore. No limit
is placed on FileSwitch clients, but these are far more complex to implement.


I currently only have one USB card reader so cant determine that.

---druck

--
The ARM Club Free Software - http://www.yqcomputer.com/
The 32bit Conversions Page - http://www.yqcomputer.com/
 
 
 

Non-RISC OS partitions on IDE/SCSI podules and counting RISC OS 5 discs

Post by Timothy Ba » Sat, 04 Dec 2004 07:09:43

In message < XXXX@XXXXX.COM >, druck






I already have dos (with long filenames), ext2, HFS, ISO9660 and JFS filing
systems and PC, Amiga and Apple partition support. (It's a port of GNU GRUB
2)


There can be more than one RISC OS partition.


You've contridicted yourself (reread my first question), so I will rephrase.

There can be multiple RISC OS partitions on discs attached to various
expansion cards. Each of these partitions would be presented to the
FileCore module as seperate devices, and therefore avaiable though the
Filecore SWIs as seperate devices.

Does the same happen with partitions used by Linux or NetBSD? Linux does
not use it's own partition table, but includes code to understand Powertec,
ICS and Essox format partition tables.

Comments in Linux 2.6.9 suggest not in the case of ICS partition tables.

Can the whole disc be accessed as single device though the FileCore SWIs? I
suspect not, as it would waste a drive number.


I thought that had been removed from RISC OS 5.


--
Member AFFS, WYLUG, SWP (UK), ANL, Leeds SA, Leeds Anti-war coalition
OpenPGP key fingerprint: D0A6 F403 9745 CED4 6B3B 94CC 8D74 8FC9 9F7F CFE4
No to software patents! No to DRM/EUCD - hands off our computers!
 
 
 

Non-RISC OS partitions on IDE/SCSI podules and counting RISC OS 5 discs

Post by druc » Sat, 04 Dec 2004 07:43:48


FileCore has no support for partitions, its entirely up to the filing system
module whether to present physical discs as single drive or multiple drives
determined by a partition table.


Thats a question for those OS's.



Usually the entire disc can be accessed via the filing system modules DiscOp
SWIs, using the first partition drive letter, and reading beyond the end of
the paritions size. This is how DiscKnight is able to access other RISC OS
partitions when the partition information has been corrupted preventing the
filing system module identifying them FileCore as seperare drives.

---druck

--
The ARM Club Free Software - http://www.yqcomputer.com/
The 32bit Conversions Page - http://www.yqcomputer.com/
 
 
 

Non-RISC OS partitions on IDE/SCSI podules and counting RISC OS 5 discs

Post by Peter Naul » Sat, 04 Dec 2004 19:10:45

In message < XXXX@XXXXX.COM >






Linux on a RISC OS machine _does_ use it's (sic) own partition table
format. At least, on most setups where you're using an ADFS setup. The
filecore boot sector has an optional reference to extended partition
information sector. Filecore doesn't know anything abou the contents of
what might be there, however.

In short, Linux knows about most of the RISC OS partition formats,
including its own one which works alongside filecore.


--
Peter Naulls - XXXX@XXXXX.COM | http://www.yqcomputer.com/
----------------------------------------------------------------------------
Drobe - http://www.yqcomputer.com/ | The Premier RISC OS News Site