Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Commit

Permalink
add support for 64mb disks
Browse files Browse the repository at this point in the history
to include something like bacula-fd which require heavy libs
defaults still 48mb
  • Loading branch information
mlusetti committed May 28, 2012
1 parent ec45a97 commit 7ac1315
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 3 deletions.
1 change: 1 addition & 0 deletions COMMELL-LE564
Expand Up @@ -128,6 +128,7 @@ option RAMDISK_HOOKS
#option MINIROOTSIZE=20480 # disktab.10mb
#option MINIROOTSIZE=30720 # disktab.12mb
option MINIROOTSIZE=98304 # disktab.48mb
#option MINIROOTSIZE=131072 # disktab.64mb
option NKPTP=16 # Needed when kernel+ramdisk > 16Mb
config bsd root on rd0a swap on rd0b and wd0b and wd1b
pseudo-device rd 1
Expand Down
1 change: 1 addition & 0 deletions GENERIC-RD
Expand Up @@ -32,6 +32,7 @@ option PROCFS # /proc

option RAMDISK_HOOKS
option MINIROOTSIZE=98304 # disktab.48mb
#option MINIROOTSIZE=131072 # disktab.64mb
option NKPTP=16 # Needed when kernel+ramdisk > 16Mb
config bsd root on rd0a swap on rd0b and wd0b and wd1b
pseudo-device rd 1
Expand Down
3 changes: 2 additions & 1 deletion NTFS
Expand Up @@ -47,7 +47,8 @@ option RAMDISK_HOOKS
#option MINIROOTSIZE=19456 # disktab.9.5mb
#option MINIROOTSIZE=20480 # disktab.10mb
#option MINIROOTSIZE=30720 # disktab.12mb
option MINIROOTSIZE=98304 # disktab.48mb
option MINIROOTSIZE=98304 # disktab.48mb
#option MINIROOTSIZE=131072 # disktab.64mb
option NKPTP=16 # Needed when kernel+ramdisk > 16Mb

config bsd root on rd0a swap on rd0b and wd0b and wd1b
Expand Down
3 changes: 2 additions & 1 deletion PCENGINES
Expand Up @@ -155,7 +155,8 @@ option RAMDISK_HOOKS
#option MINIROOTSIZE=19456 # disktab.9.5mb
#option MINIROOTSIZE=20480 # disktab.10mb
#option MINIROOTSIZE=30720 # disktab.15mb
option MINIROOTSIZE=98304 # disktab.48mb
option MINIROOTSIZE=98304 # disktab.48mb
#option MINIROOTSIZE=131072 # disktab.64mb
option NKPTP=16 # Needed when kernel+ramdisk > 16Mb

config bsd root on rd0a swap on rd0b and wd0b and wd1b
Expand Down
1 change: 1 addition & 0 deletions SOEKRIS4501
Expand Up @@ -86,6 +86,7 @@ option RAMDISK_HOOKS
#option MINIROOTSIZE=20480 # disktab.10mb
#option MINIROOTSIZE=30720 # disktab.12mb
option MINIROOTSIZE=98304 # disktab.48mb
#option MINIROOTSIZE=131072 # disktab.64mb
option NKPTP=16 # Needed when kernel+ramdisk > 16Mb

config bsd root on rd0a swap on rd0b and wd0b and wd1b
Expand Down
1 change: 1 addition & 0 deletions SOEKRIS4521
Expand Up @@ -86,6 +86,7 @@ option RAMDISK_HOOKS
#option MINIROOTSIZE=20480 # disktab.10mb
#option MINIROOTSIZE=30720 # disktab.12mb
option MINIROOTSIZE=98304 # disktab.48mb
#option MINIROOTSIZE=131072 # disktab.64mb
option NKPTP=16 # Needed when kernel+ramdisk > 16Mb

config bsd root on rd0a swap on rd0b and wd0b and wd1b
Expand Down
1 change: 1 addition & 0 deletions SOEKRIS4801
Expand Up @@ -125,6 +125,7 @@ option RAMDISK_HOOKS
#option MINIROOTSIZE=20480 # disktab.10mb
#option MINIROOTSIZE=30720 # disktab.12mb
option MINIROOTSIZE=98304 # disktab.48mb
#option MINIROOTSIZE=131072 # disktab.64mb
option NKPTP=16 # Needed when kernel+ramdisk > 16Mb
config bsd root on rd0a swap on rd0b and wd0b and wd1b
pseudo-device rd 1
Expand Down
3 changes: 2 additions & 1 deletion SOEKRIS5501
Expand Up @@ -84,7 +84,8 @@ option RAMDISK_HOOKS
#option MINIROOTSIZE=16384 # disktab.8mb
#option MINIROOTSIZE=19456 # disktab.9.5mb
#option MINIROOTSIZE=20480 # disktab.10mb
option MINIROOTSIZE=98304 # disktab.48mb
option MINIROOTSIZE=98304 # disktab.48mb
#option MINIROOTSIZE=131072 # disktab.64mb
option NKPTP=16 # Needed when kernel+ramdisk > 16Mb
config bsd root on rd0a swap on rd0b and wd0b and wd1b
pseudo-device rd 1
Expand Down
1 change: 1 addition & 0 deletions WRAP12
Expand Up @@ -87,6 +87,7 @@ option RAMDISK_HOOKS
#option MINIROOTSIZE=20480 # disktab.10mb
#option MINIROOTSIZE=30720 # disktab.12mb
option MINIROOTSIZE=98304 # disktab.48mb
#option MINIROOTSIZE=131072 # disktab.64mb
option NKPTP=16 # Needed when kernel+ramdisk > 16Mb

config bsd root on rd0a swap on rd0b and wd0b and wd1b
Expand Down
23 changes: 23 additions & 0 deletions disktabs/disktab.64mb
@@ -0,0 +1,23 @@
# /dev/rvnd0c:
type: unknown
disk: rdroot8
label:
flags:
bytes/sector: 512
sectors/track: 128
tracks/cylinder: 1
sectors/cylinder: 128
cylinders: 1024
total sectors: 131072
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0

2 partitions:
# size offset fstype [fsize bsize cpg]
a: 131072 0 4.2BSD 1024 4096 20 # (Cyl. 0 - 1023)
c: 131072 0 unused 0 0 # (Cyl. 0 - 1023)

0 comments on commit 7ac1315

Please sign in to comment.