OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [disk/] [tools/] [mkpart/] [disk.part] - Diff between revs 17 and 205

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 17 Rev 205
#
#
# disk.part -- disk partitioning file
# disk.part -- disk partitioning file
#
#
# The first line of this file (apart from empty or comment
# The first line of this file (apart from empty or comment
# lines) must be the file name of the master boot block (or
# lines) must be the file name of the master boot block (or
# the string -noboot- if the disk need not be bootable).
# the string -noboot- if the disk need not be bootable).
./mbootblk
./mbootblk
# The rest of this file consists of partition table entries,
# The rest of this file consists of partition table entries,
# one per line. Each entry is in the following form:
# one per line. Each entry is in the following form:
#
#
# partition boot type start last description
# partition boot type start last description
#
#
# partition:
# partition:
#   possible values 0..15
#   possible values 0..15
#   indicates partition number
#   indicates partition number
#   different entries need not be sorted in any way
#   different entries need not be sorted in any way
#   no two entries may have the same partition number
#   no two entries may have the same partition number
# boot:
# boot:
#   '*' means that the partition can be booted
#   '*' means that the partition can be booted
#   leave this blank if the partition cannot be booted
#   leave this blank if the partition cannot be booted
#   more than one partition may be bootable
#   more than one partition may be bootable
# type:
# type:
#   possible values 0..0x7FFFFFFF
#   possible values 0..0x7FFFFFFF
#   indicates partition type
#   indicates partition type
#   0x0000 = partition table entry not used
#   0x0000 = partition table entry not used
#   0x0058 = EOS32 file system partition
#   0x0058 = EOS32 file system partition
#   0x0059 = EOS32 swap space partition
#   0x0059 = EOS32 swap space partition
 
#   0x0082 = Linux swap space partition
 
#   0x0083 = Linux file system partition
#   0x00A9 = NetBSD partition
#   0x00A9 = NetBSD partition
# start:
# start:
#   sector number where partition starts (0-based)
#   sector number where partition starts (0-based)
#   no partition may start below sector 32
#   no partition may start below sector 32
# last:
# last:
#   last sector of partition (0-based)
#   last sector of partition (0-based)
#   partitions must not overlap
#   partitions must not overlap
# description:
# description:
#   max. 512 / 16 - 12 = 20 characters (includes trailing 0)
#   max. 512 / 16 - 12 = 20 characters (includes trailing 0)
#   this may be displayed during bootstrap
#   this may be displayed during bootstrap
#
#
# The following example exactly fits on a 100M disk:
# The following example exactly fits on a 150M disk:
 
 
0 * 0x0058    32  17919 "EOS32 root"
0 * 0x0058     32  17919 "EOS32 root"
1   0x0059 17920  33919 "EOS32 swap"
1   0x0059  17920  33919 "EOS32 swap"
2   0x0058 33920  81919 "EOS32 usr"
2   0x0058  33920  81919 "EOS32 usr"
3 * 0x00A9 81920 204799 "NetBSD 6.0"
3 * 0x00A9 81920 204799 "NetBSD 6.0"
 
4 * 0x0083 204800 307199 "Linux"
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.