Debian Codegraph @

debian/README

raw
1 amiga-fdisk 0.04 (consider this being unstable)
2
3 This is an fdisk program for partioning harddrives using the Amiga
4 Rigid Disk Block standard(RDB) It's in a very early stage.
5
6 The most current release of amiga-fdisk can be obtained from:
7 http://www.freiburg.linux.de/~stepan
8
9 Amiga-fdisk is known to work on Linux systems with at least all kernels
10 since 1.2.13. I suggest that you use at least a recent 2.0 kernel.
11
12 Be careful! With amiga-fdisk, it is easy to erase your whole
13 data within few seconds
14
15 If you have a MBR on your harddisk, too, you should *NEVER* reorganize rdb to
16 block 0 (or 1?) or the MBR gets lost. If you don't want to read your harddisks
17 in a PC style workstation, this is very likely of no interest to you.
18
19 Thanks to Frank Neumann and Leland for their ideas and help.
20 Many thanks to Joerg Dorchain. He made the first attempt to write an
21 amiga-fdisk and he allowed me to have a *very* close look at his code.
22 In fact, I think some larger parts are stolen from his work.
23
24
25 Look at the TODO-file if you feel inspired to work on amiga-fdisk. Feel
26 free to ask me anything about the RDB interna.
27
28 Please note: This program has been developed on an Intel box running
29 Linux/x86, but I have tested it on my Amiga 3000 running Linux m68k
30 quite often now. It works fine for me and it seems that it behaves
31 equally on both little and big endianed platforms.
32
33 This version is still ALPHA. It's to your responsibility
34 if your data gets lost. (I am sorry for this, but of course I will try
35 to help you, if your harddisks crash because of amiga-fdisk)
36
37 For the Dostype-Choice, read the following:
38
39 Cite from 'The Amiga Guru Book' from Ralph Babel, Page 561:
40
41 de_DosType - The DOS type determines a disk's block structure; $444F5300
42 ('DOS\0')identifies the old filesystem (default), $444F5301 ('DOS\1') the
43 FastFileSystem, and $444F5302 ('DOS\2') and $444F5303 ('DOS\3') the new
44 "international" versions thereof. It is used as the default DOS type by
45 Format, as the 2.0 ROM filesystem is able to handle different formats
46 (see section 17.1.50). The filesystem-private DOS-type identifier as
47 stored in block 0 of a partition determines the actual block structure
48 (see section 15.3.9).
49
50 For DosEnvec structures that are part of the RDB, de_DosType is also used
51 to indicate the type of partition data, e.g under Amiga-UNIX ( :-) ):
52
53 UNI\0 - classic AT&T System-V filesystem
54 UNI\1 - UNIX boot "filesystem" (dummy entry for Amiga OS's boot menu)
55 UNI\2 - Berkeley filesystem for System V
56 RESV - reserved (e.g. swap space)
57
58 Under 2.0, FileSystem.resource entries exist for DOS\1, DOS\2, DOS\3 and
59 UNI\1 (i.e all bootable "filesystems" other than DOS\0, which is always
60 considered to be available as boot filesystem). As different revisions of
61 Commodore's filesystems can handle different sets of partition formats,
62 it is unclear wether de_DosType is used as an alias for the filesystem
63 code to be used (e.g. during autobooting) or as an indicator as to which
64 format the partition is in. Neither of these interpretations is fully
65 consistent with the current usage and existing filesystems and may
66 therefore cause problems.
67
68 What follows up from this for now is:
69
70 If you set the DosType of all your Linux partitions to RESV and Flags
71 to noboot,nomount, they will not appear in the boot menu nor
72 show up anyhow under Amiga OS.
73
74 Set the DosType to RESV and Flags to noboot,mount if you want to share a
75 partition (e.g swap) between Linux and AmigaDos without an appropriate
76 filesystem (e.g. for use with VMM). This gives only the device name
77 without a volume node -> no annoying "Not a Dos disk" icon.
78 set the DosType to UNI\1, Flags to boot,mount (priority as desired) and
79 BootBlocks to 2 of your Linux root partition for use of Amiga-LILO.
80 So the partion will show up in the bootmenu but dissappear silently
81 when booting AmigaDos from another partition.
82
83
84 Stefan Reinauer, <[email protected]>
85
86 November 1998.