Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CP/M filesystem for Linux?

1,359 views
Skip to first unread message

Donato Masaoy

unread,
Dec 28, 2000, 12:40:52 PM12/28/00
to
I've seen postings on and off about this. Does anyone know if a
filesystem for CP/M has been developed for Linux. It would make my life
easier if I could mount a CP/M partition. Alternatively, are there any
success stories with running CP/M-86 under dosemu. I've managed to boot
from the 1.44 floppy, and compiled John Elliot's exitemu.cmd but haven't
been able to do much else, and get bizarre floppy disk errors trying to
copy files from floppies. Also haven't been able to do a lredir either.

I admit I haven't tried this under dosemu 1.0 however.

-don

Michael Haardt

unread,
Jan 4, 2001, 4:34:24 PM1/4/01
to
Donato Masaoy <dma...@cswebmail.com> writes:
> I've seen postings on and off about this. Does anyone know if a
> filesystem for CP/M has been developed for Linux. It would make my life
> easier if I could mount a CP/M partition. Alternatively, are there any
> success stories with running CP/M-86 under dosemu. I've managed to boot
> from the 1.44 floppy, and compiled John Elliot's exitemu.cmd but haven't
> been able to do much else, and get bizarre floppy disk errors trying to
> copy files from floppies. Also haven't been able to do a lredir either.

As long as you can physically read the floppies, the closest I have is
cpmtools:

http://www.moria.de/~michael/cpmtools/

It is a number of commands like mtools for FAT filesystems. You may need
to add an entry for your filesystem geometry, but that's quite easy if you
know the DPB.

Michael

George Hostler

unread,
Jan 9, 2001, 1:10:54 AM1/9/01
to
Using fdisk on my SuSE 6.4 Linux system, it shows a Type 54h, CP/M and a Type
DBh, CP/M / CTOS when using the 'l' command to list out the partition types.
I don't know if you need to recompile the O/S, as I tried to identify an
existing NT4 partition in /etc/fstab, but got a type HPFS not supported when
booting. SuSE does come bundled with a CP/M emulator, but I have not tried
it.

George

John Elliott

unread,
Jan 9, 2001, 2:10:23 PM1/9/01
to
George Hostler <ghos...@plateautel.net> wrote:
>Using fdisk on my SuSE 6.4 Linux system, it shows a Type 54h, CP/M and a Type
>DBh, CP/M / CTOS when using the 'l' command to list out the partition types.

Just because it shows up in the partition types doesn't mean it
understands the filesystem. And I'd like to know where the type 54h comes
from, because all the CP/M-86 versions I've seen use DBh.

--
------------- http://www.seasip.demon.co.uk/index.html --------------------
John Elliott |BLOODNOK: "But why have you got such a long face?"
|SEAGOON: "Heavy dentures, Sir!" - The Goon Show
:-------------------------------------------------------------------------)

Paul Schlyter

unread,
Jan 9, 2001, 6:08:47 PM1/9/01
to
In article <979067650.6617.0...@news.demon.co.uk>,

John Elliott <j...@seasip.demon.co.uk> wrote:

> George Hostler <ghos...@plateautel.net> wrote:
>> Using fdisk on my SuSE 6.4 Linux system, it shows a Type 54h, CP/M and a Type
>> DBh, CP/M / CTOS when using the 'l' command to list out the partition types.
>
> Just because it shows up in the partition types doesn't mean it
> understands the filesystem. And I'd like to know where the type 54h comes
> from, because all the CP/M-86 versions I've seen use DBh.

I agree -- here's a snippet of code from a program of mine which lists
HD partitions and their "types"


char *part_type( uchar ptype )
{
static char *ptypnam[256] =
{
/* 00h */ "(unused)", /* Unused entry in partition table */
/* 01h */ "FAT12 ", /* Partitions up to 15 MB */
/* 02h */ "XENIXrot", /* root */
/* 03h */ "XENIXusr", /* /usr */
/* 04h */ "FAT16 ", /* Partitions up to 32 MB */
/* 05h */ "DOSext ", /* Up to 8 GB -- int13 can be bypassed */
/* 06h */ "BigFAT16", /* BigDOS -- 32 MB - 2 GB (4 GB on Win-NT) */
/* 07h */ "HP/NTFS ", /* OS/2 OFS (HPFS), NT NFFS, Advanced Unix, QNX2.x pre 1988 */
/* 08h */ "AIX ", /* AIX data, SPlitDrive, Commodore DOS, QNX 1.x 2.x */
/* 09h */ "AIXboot ", /* AIX boot, Coherent, QNX 1.x 2.x
/* 0Ah */ "OPUS ", /* OS/2 Boot Manag, Coherent swap part, OPUS (Open Parallell Unisys Server) */
/* 0Bh */ "FAT32 ", /* FAT-32 - partitions up to 2047 GB */
/* 0Ch */ "FAT32LBA", /* FAT-32 with Int13/LBA */
/* 0Dh */ "Type 0Dh",
/* 0Eh */ "FAT16LBA", /* FAT-16 with INT13/LBA */
/* 0Fh */ "Ext LBA ", /* DOSext with INT13/LBA */
/* 10h */ "Type 10h",
/* 11h */ "FAT12hid", /* Hidden FAT-12, created by OS/2 Boot Manager */
/* 12h */ "CompBIOS", /* COMPAQ BIOS config partition */
/* 13h */ "Type 13h",
/* 14h */ "FAT16hid", /* Hidden FAT-16 */
/* 15h */ "Type 15h",
/* 16h */ "BigFAThi", /* Hidden Big FAT-16 */
/* 17h */ "IFPShis ", /* Hidden IFPS */
/* 18h */ "ASTwinSw", /* AST Windows swap file ("Smartsleep partition") */
/* 19h */ "WillowPh", /* Willowtech Photon coS (completely optimized system) */
/* 1Ah */ "Type 1Ah",
/* 1Bh */ "FAT32hid", /* Hidden FAT-32 */
/* 1Ch */ "FAT32hid", /* Hidden FAT-32 with INT13/LBA */
/* 1Dh */ "Type 1Dh",
/* 1Eh */ "Type 1Eh",
/* 1Fh */ "Type 1Fh",
/* 20h */ "Type 20h",
/* 21h */ "Type 21h",
/* 22h */ "Type 22h",
/* 23h */ "Type 23h",
/* 24h */ "NEC DOS ", /* NEC DOS 3.x */
/* 25h */ "Type 25h",
/* 26h */ "Type 26h",
/* 27h */ "Type 27h",
/* 28h */ "Type 28h",
/* 29h */ "Type 29h",
/* 2Ah */ "Type 2Ah",
/* 2Bh */ "Type 2Bh",
/* 2Ch */ "Type 2Ch",
/* 2Dh */ "Type 2Dh",
/* 2Eh */ "Type 2Eh",
/* 2Fh */ "Type 2Fh",
/* 30h */ "Type 30h",
/* 31h */ "Type 31h",
/* 32h */ "Type 32h",
/* 33h */ "Type 33h",
/* 34h */ "Type 34h",
/* 35h */ "Type 35h",
/* 36h */ "Type 36h",
/* 37h */ "Type 37h",
/* 38h */ "THEOS 32", /* THEOS 3.2, 2 GB partition */
/* 39h */ "THEOS 4a", /* THEOS 4, partition spanning several disks */
/* 3Ah */ "THEOS 4b", /* THEOS 4, 4 GB partition */
/* 3Bh */ "THEOS 4c", /* THEOS 4, extended partition */
/* 3Ch */ "Part Mag", /* Partition Magic recovery partition */
/* 3Dh */ "Type 3Dh",
/* 3Eh */ "Type 3Eh",
/* 3Fh */ "Type 3Fh",
/* 40h */ "Venix286", /* Venix 286 */
/* 41h */ "LinuxMin", /* Linux/Minix, Personal RISC, PPC PRep (PowerPC Ref) boot */
/* 42h */ "Linux sw", /* Linux swap, SFS (Secure FileSystem) */
/* 43h */ "Linux DR", /* Linux (shared with DRDOS) */
/* 44h */ "Type 44h",
/* 45h */ "EMUEL ", /* EMUEL/Elan (old German OS */
/* 46h */ "EMUEL ", /* EMUEL/Elan */
/* 47h */ "EMUEL ", /* EMUEL/Elan */
/* 48h */ "EMUEL ", /* EMUEL/Elan */
/* 49h */ "Type 49h",
/* 4Ah */ "Type 4Ah",
/* 4Bh */ "Type 4Bh",
/* 4Ch */ "Type 4Ch",
/* 4Dh */ "QNX 4.xa", /* QNX 4.x */
/* 4Eh */ "QNX 4.xb", /* QNX 4.x, 2nd part */
/* 4Fh */ "QNX 4.xc", /* QNX 4.x, 3rd part */
/* 50h */ "OnTrack ", /* OnTrack Disk Manager (older versions) */
/* 51h */ "Ontrack ", /* OnTrack Disk Manager */
/* 52h */ "Microprt", /* Microport SysV/AT, CP/M */
/* 53h */ "OnTrack6", /* OnTrack Disk Manager 6.0 */
/* 54h */ "OnTrack6", /* OnTrack Disk Manager 6.0 */
/* 55h */ "EZ-Drive", /* EZ-Drive (disk manager) */
/* 56h */ "GBVPV ", /* Golden Bow VFeature Partitioned Volume (disk manager) */
/* 57h */ "DrivePro", /* DrivePro (disk manager) */
/* 58h */ "Type 58h",
/* 59h */ "Type 59h",
/* 5Ah */ "Type 5Ah",
/* 5Bh */ "Type 5Bh",
/* 5Ch */ "Priam ", /* Priam Edisk (disk manager) */
/* 5Dh */ "Type 5Dh",
/* 5Eh */ "Type 5Eh",
/* 5Fh */ "Type 5Fh",
/* 60h */ "Type 60h",
/* 61h */ "SpeedSto", /* SpeedStor (Disk manager) */
/* 62h */ "Type 62h",
/* 63h */ "UNIX V ", /* Unix System V (SCO, ISC Unix, UnixWare, Mach, GNU HURD) */
/* 64h */ "Novell 2", /* Novell Netware 2.xx */
/* 65h */ "Novell 3", /* Novell Netware 3.xx or 4.xx */
/* 66h */ "Type 66h",
/* 67h */ "Novell ", /* Novell */
/* 68h */ "Novell ", /* Novell */
/* 69h */ "Novell ", /* Novell */
/* 6Ah */ "Type 6Ah",
/* 6Bh */ "Type 6Bh",
/* 6Ch */ "Type 6Ch",
/* 6Dh */ "Type 6Dh",
/* 6Eh */ "Type 6Eh",
/* 6Fh */ "Type 6Fh",
/* 70h */ "DiscSec ", /* DiscSecure Multi-Boot */
/* 71h */ "Type 71h",
/* 72h */ "Type 72h",
/* 73h */ "Type 73h",
/* 74h */ "Type 74h",
/* 75h */ "PC/IX ", /* IBM PC/IX */
/* 76h */ "Type 76h",
/* 77h */ "Type 77h",
/* 78h */ "Type 78h",
/* 79h */ "Type 79h",
/* 7Ah */ "Type 7Ah",
/* 7Bh */ "Type 7Bh",
/* 7Ch */ "Type 7Ch",
/* 7Dh */ "Type 7Dh",
/* 7Eh */ "Type 7Eh",
/* 7Fh */ "Type 7Fh",
/* 80h */ "OldMINIX", /* Minix until ver 1.4a */
/* 81h */ "LinuxMIN", /* Minix from ver 1.4b, Mitac Disk Manager */
/* 82h */ "LinuxSwp", /* Prime, Solaris x86, Linux swap */
/* 83h */ "LinuxNat", /* Linux native */
/* 84h */ "OS/2 C: ", /* OS/2 hidden C:, energy saver partition for laptops */
/* 85h */ "LinuxExt", /* Linux Extended partition */
/* 86h */ "NTFS vol", /* NTFS volume */
/* 87h */ "NTFS vol", /* NTFS volume */
/* 88h */ "Type 88h",
/* 89h */ "Type 89h",
/* 8Ah */ "LinuxKer", /* Linux Kernel Partition (used by AiR-BOOT) */
/* 8Bh */ "Type 8Bh",
/* 8Ch */ "Type 8Ch",
/* 8Dh */ "Type 8Dh",
/* 8Eh */ "LinuxVol", /* Linux Logical Volume Manager */
/* 8Fh */ "Type 8Fh",
/* 90h */ "Type 90h",
/* 91h */ "Type 91h",
/* 92h */ "Type 92h",
/* 93h */ "Amoeba ", /* Amoeba */
/* 94h */ "AmobaBBT", /* Amoeba Bad Block Table */
/* 95h */ "Type 95h",
/* 96h */ "Type 96h",
/* 97h */ "Type 97h",
/* 98h */ "Type 98h",
/* 99h */ "Type 99h",
/* 9Ah */ "Type 9Ah",
/* 9Bh */ "Type 9Bh",
/* 9Ch */ "Type 9Ch",
/* 9Dh */ "Type 9Dh",
/* 9Eh */ "Type 9Eh",
/* 9Fh */ "Type 9Fh",
/* A0h */ "EnergSav", /* Energy Saver (for laptops) */
/* A1h */ "Type A1h",
/* A2h */ "Type A2h",
/* A3h */ "Type A3h",
/* A4h */ "Type A4h",
/* A5h */ "BSD ", /* BSD/386, 386BSD, NetBSD, FreeBSD */
/* A6h */ "OPenBSD ", /* OpenBSD */
/* A7h */ "NEXTSTEP", /* NEXTSTEP */
/* A8h */ "Type A8h",
/* A9h */ "NetBSD ", /* NetBSD */
/* AAh */ "Type AAh",
/* ABh */ "Type ABh",
/* ACh */ "Type ACh",
/* ADh */ "Type ADh",
/* AEh */ "Type AEh",
/* AFh */ "Type AFh",
/* B0h */ "Type B0h",
/* B1h */ "Type B1h",
/* B2h */ "Type B2h",
/* B3h */ "Type B3h",
/* B4h */ "Type B4h",
/* B5h */ "Type B5h",
/* B6h */ "Type B6h",
/* B7h */ "BSDI fs ", /* BSDI file system */
/* B8h */ "BSDIswap", /* BSDI swap partition */
/* B9h */ "Type B9h",
/* BAh */ "Type BAh",
/* BBh */ "Type BBh",
/* BCh */ "Type BCh",
/* BDh */ "Type BDh",
/* BEh */ "SolaBOOT", /* Solaris boot partition */
/* BFh */ "Type BFh",
/* C0h */ "CTOS ", /* CTOS, REAL/32 */
/* C1h */ "DRDOS ", /* DRDOS */
/* C2h */ "LinuxHid", /* Hidden Linux partition (Power Boot boot manager) */
/* C3h */ "LinuxHSw", /* Hidden Linux switch partition (Power Boot boot manager) */
/* C4h */ "DRDOS ", /* DRDOS */
/* C5h */ "Type C5h",
/* C6h */ "DRDOS ", /* DRDOS, Windows NT special */
/* C7h */ "Syrinx ", /* Syrinx boot, Windows NT special */
/* C8h */ "Type C8h",
/* C9h */ "Type C9h",
/* CAh */ "Type CAh",
/* CBh */ "DRDOS ", /* DRDOS */
/* CCh */ "DRDOS ", /* DRDOS */
/* CDh */ "CTOS ", /* CTOS (Convergent Technologies OS - Unisys) */
/* CEh */ "DRDOS ", /* DRDOS */
/* CFh */ "Type CFh",
/* D0h */ "REAL/32 ", /* REAL/32 */
/* D1h */ "Type D1h",
/* D2h */ "Type D2h",
/* D3h */ "Type D3h",
/* D4h */ "Type D4h",
/* D5h */ "Type D5h",
/* D6h */ "Type D6h",
/* D7h */ "Type D7h",
/* D8h */ "CP/M-86 ", /* CP/M-86 */
/* D9h */ "Type D9h",
/* DAh */ "Type DAh",
/* DBh */ "CP/MCDOS", /* CP/M, CDOS, CTOS (Convergent Technologies OS - Unisys) */
/* DCh */ "Type DCh",
/* DDh */ "CTOS ", /* CTOS (Convergent Technologies OS - Unisys) */
/* DEh */ "Type DEh",
/* DFh */ "Type DFh",
/* E0h */ "Type E0h",
/* E1h */ "DOS-acc ", /* DOS acc, SpeedStar */
/* E2h */ "Type E2h",
/* E3h */ "DOS-R/O ", /* DOS read/only, SpeedStar */
/* E4h */ "SpeedSta", /* SpeedStar */
/* E5h */ "Type E5h",
/* E6h */ "Type E6h",
/* E7h */ "Type E7h",
/* E8h */ "Type E8h",
/* E9h */ "Type E9h",
/* EAh */ "Type EAh",
/* EBh */ "BeOS ", /* BeOS */
/* ECh */ "Type ECh",
/* EDh */ "Type EDh",
/* EEh */ "Type EEh",
/* EFh */ "Type EFh",
/* F0h */ "Linux/PA", /* Linux/PA-RISC boot loader */
/* F1h */ "SpeedSta", /* SpeedStar */
/* F2h */ "DOS-2nd ", /* DOS >3.3, secondary partition */
/* F3h */ "Type F3h",
/* F4h */ "SpeedSta", /* SpeedStar, Prologue */
/* F5h */ "Prologue", /* Prologue */
/* F6h */ "Type F6h",
/* F7h */ "Type F7h",
/* F8h */ "Type F8h",
/* F9h */ "Type F9h",
/* FAh */ "Type FAh",
/* FBh */ "Type FBh",
/* FCh */ "Type FCh",
/* FDh */ "LinuxRAI", /* LINUX RAID partition */
/* FEh */ "SPeedSta", /* SpeedStar, IBM PS/2 IML (Initial Microcode Load),
Win-NT Disk Admin (hidden), Linux logical vol (older) */
/* FFh */ "XenixBBT", /* Xenix Bad Block Table */
};
return ptypnam[ptype];
} /* part_type */

If anyone knows any additional partition types, please let me know!

--
----------------------------------------------------------------
Paul Schlyter, Swedish Amateur Astronomer's Society (SAAF)
Grev Turegatan 40, S-114 38 Stockholm, SWEDEN
e-mail: pausch at saaf dot se or paul.schlyter at ausys dot se
WWW: http://hotel04.ausys.se/pausch http://welcome.to/pausch

Linards Ticmanis

unread,
Jan 10, 2001, 7:21:54 PM1/10/01
to
Paul Schlyter wrote:

> /* 45h */ "EMUEL ", /* EMUEL/Elan (old German OS */
> /* 46h */ "EMUEL ", /* EMUEL/Elan */
> /* 47h */ "EMUEL ", /* EMUEL/Elan */
> /* 48h */ "EMUEL ", /* EMUEL/Elan */

Hi Paul,

that should be "EUMEL" not "EMUEL". It's pronounced OY-mel and it's
pretty pathetic. My sister was forced to survive this one in her CS
class in high scool, since their teacher was too lazy to learn Turbo
Pascal instead.

--

Linards Ticmanis

The Master said, "The business of laying on the colors follows the
preparation of the plain ground."


George Hostler

unread,
Jan 19, 2001, 6:05:26 AM1/19/01
to j...@40seasip.demon.co.uk
John,

Comment I made was a casual one.  When I was active on my Xerox 16/8 (820-II with expansion box, 8086 copressor & 10mb HD), I dug into it quite heavily.  (Ended up patching bios, disassembling & patching partition and format routines to use a non-Xerox supported HD).  Just don't have the time to dig into Linux.  I recalled seeing partition types for CP/M in fdisk when I set up Linux on my current system, brought up fdisk to verify.  Obviously, my version although it lists Win NT types, does not support as-is.  Haven't tried setting up a CP/M type on Linux to verify whether that is supported.  Original question by Donato Masaoy was whether there was CP/M file system for Linux.

Type 54, I dunno, fdisk doesn't give much information, may be a CP/M-80 type?

George

-- 
George Hostler
 

John Elliott

unread,
Jan 19, 2001, 3:02:29 PM1/19/01
to
George Hostler <ghos...@plateautel.net> wrote:
>Haven't tried setting up a CP/M type on Linux
>to verify whether that is supported.

fdisk would let you create a partition marked as "CP/M", because that's
just a matter of setting a byte in the partition table. What it wouldn't
do is create a boot sector, initial loader or directory; that would have
to be done by mkfs.cpm (currently part of cpmtools). Since mkfs.cpm doesn't
write any sort of boot sector, the resulting partition wouldn't be readable
by CP/M-86 For The IBM PC.
Then, having created the partition, you'd find that Linux can't
mount it; though cpmtools would be able to copy files in and out of it.

Actually, now would be a good time to develop a CP/M filesystem
for Linux, because there's no unstable kernel series. You could develop
against 2.4, and hopefully have something ready to include in 2.5 by the
time that Linus decides to start the new unstable series.

>Type 54, I dunno, fdisk doesn't give much information, may be a CP/M-80 type?

Or maybe it got into someone's list by mistake, and has been faithfully
copied into all the other lists ever since?

Michael Haardt

unread,
Jan 21, 2001, 11:16:37 AM1/21/01
to
j...@seasip.demon.co.uk (John Elliott) writes:
> fdisk would let you create a partition marked as "CP/M", because that's
> just a matter of setting a byte in the partition table. What it wouldn't
> do is create a boot sector, initial loader or directory; that would have
> to be done by mkfs.cpm (currently part of cpmtools). Since mkfs.cpm doesn't
> write any sort of boot sector, the resulting partition wouldn't be readable
> by CP/M-86 For The IBM PC.

mkfs.cpm is not designed for CP/M-86. It knows about system tracks and it
will write a boot block and optionally CCP etc. to them, if you use -b.

If the CP/M-86 filesystems is like CP/M-80, only using a boot block instead
of system tracks, I could probably modify cpmtools accordingly. I would need
a format specification and an file system image would help a lot, too.

Michael

Herb Johnson

unread,
Jan 21, 2001, 11:33:55 AM1/21/01
to
John Elliott (j...@seasip.demon.co.uk) wrote:

: George Hostler <ghos...@plateautel.net> wrote:
: >Haven't tried setting up a CP/M type on Linux
: >to verify whether that is supported.

: fdisk would let you create a partition marked as "CP/M", because that's
: just a matter of setting a byte in the partition table. What it wouldn't
: do is create a boot sector, initial loader or directory; that would have
: to be done by mkfs.cpm (currently part of cpmtools). Since mkfs.cpm doesn't
: write any sort of boot sector, the resulting partition wouldn't be readable
: by CP/M-86 For The IBM PC.
: Then, having created the partition, you'd find that Linux can't
: mount it; though cpmtools would be able to copy files in and out of it.

: Actually, now would be a good time to develop a CP/M filesystem
: for Linux, because there's no unstable kernel series. You could develop
: against 2.4, and hopefully have something ready to include in 2.5 by the
: time that Linus decides to start the new unstable series.


The challenge for the Linux developer would be to know what "flavor" of
CP/M file system to support. Other than the scheme for 8" floppy Single
Sided Single Density (IBM 3740 format with CP/M), there are no standards
I'm casually aware of. A standard would not matter for mounting a hard
disk CP/M file sysetm, except to the extent that a person happens to
havb, say, IBM-PC style CP/M *and* Linux partitions on a hard drive.
Perhaps the hard disk scheme that CP/M 86 for the IBM PC would be a
nominal standard to include for Linux.

Seems to me a discussion of CP/M file formats probably has already
occured in comp.os.cpm. If someone can revive that and see what
the descriptions are, and complete them if necessary; then any
Linux developer with interest will find them via a Web search and
could consider adding them to the Linux distribution. Keep in mind
that with Linux, one gets source code; so if someone needs another
variation of a CP/M file system scheme, they need only modify the
source and recompile the kernel module and they'd have it! So
a raging debate over the "one" best scheme is not necessary.

One other point. To support arbitrary CP/M floppy disk formats,
that is a seperate issue. Most program like 22DISK simply use
their own methods and access the disk controller hardware directly
in the MS-DOS world. In the Linux world there are other ways. the
issue is to support ONE format, not all of them: when one is
done, any other ONE is easier to do.

Herb Johnson

--
Herbert R. Johnson http://pluto.njcc.com/~hjohnson
hjoh...@pluto.njcc.com voice 609-771-1503, New Jersey USA

amateur astronomer and astro-tour guide
classic S-100 computers restoration & parts as "Dr. S-100"
rebuilder/reseller of classic Macs for your computing pleasure
and senior engineer at Astro Imaging Systems

John Elliott

unread,
Jan 21, 2001, 2:19:43 PM1/21/01
to
hjoh...@pluto.njcc.com (Herb Johnson) wrote:
>The challenge for the Linux developer would be to know what "flavor" of
>CP/M file system to support. Other than the scheme for 8" floppy Single
>Sided Single Density (IBM 3740 format with CP/M), there are no standards
>I'm casually aware of.

You'd have to pass the disc geometry as mount options. At the least,
you'd need:

* Number of tracks
* Number of sectors
* Number of system tracks
* Sector size
* Block size
* Number of directory blocks

John Elliott

unread,
Jan 21, 2001, 3:09:46 PM1/21/01
to
By the way, Google brings up this interesting page:

http://cswww.vuse.vanderbilt.edu/~raghavan/cs282/proj/proj3/proj3.html

which appears to be a Computing Science exercise in constructing a
stylised CP/M filesystem for Linux. It's dated 9 April, so it's probably
based on the 2.2 VFS rather than the 2.4 one.

andy....@googlemail.com

unread,
Jan 31, 2017, 6:01:15 PM1/31/17
to

KenUnix

unread,
Jan 22, 2023, 7:50:24 AM1/22/23
to
On Tuesday, January 31, 2017 at 6:01:15 PM UTC-5
> http://www.nyangau.org/cpmfuse/cpmfuse.htm
>
> {{{ Andy

File fuse.h (library) file missing?

Trying to make under Ubuntu Linux.

Thanks

Steven Hirsch

unread,
Jan 22, 2023, 11:20:49 AM1/22/23
to
You need the libfuse-dev package (or libfuse[2,3]-dev, depending on vintage)
installed. FUSE has evolved over the years, so depending on the age of
cpmfuse you may need source code changes in order to have it build and operate.


Bailey Yard

unread,
Feb 7, 2023, 12:09:54 PM2/7/23
to
I've been using YAZE Z80 emulator which has some utils that allow you to copy to/from linux and CP/M
filesystems. A bit of a pain, but not to much of one. Unfortunately, I don't even have a working floppy
drive anymore and never replaced if. Going to have to remedy that I think/
0 new messages