util-linux/disk-utils
Karel Zak 726f69e29c Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
..
Makefile Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
README.bootutils-0.1 Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00
README.cfdisk Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00
README.fdisk Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
README.fdisk.alpha Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
README.fdisk.bsd Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
cfdisk.8 Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
cfdisk.8.bak Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
cfdisk.c Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
cfdisk.c.bak Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
cfdisk.c.orig Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
fdformat.8 Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00
fdformat.c Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
fdisk.8 Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
fdisk.c Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
fdisk.h Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
fdisklabel.c Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
fdisklabel.h Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
fdprm Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00
frag.8 Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00
frag.c Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00
fsck.minix.8 Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
fsck.minix.c Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00
llseek.c Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
mkfs.8 Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
mkfs.c Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
mkfs.minix.8 Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
mkfs.minix.c Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
mkswap.8 Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
mkswap.c Imported from util-linux-2.5 tarball. 2006-12-07 00:25:33 +01:00
setfdprm.8 Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00
setfdprm.c Imported from util-linux-2.2 tarball. 2006-12-07 00:25:32 +01:00

README.fdisk.bsd

All changes in fdisk.c are marked with this comment: /* bf */

I added some explanatory comments to make it easier to see what
changed and why. You'll probably want to remove them.

There's a function sync_disks() in fdisklabel.c which could be called
from write_table() in fdisk.c (line 1216) (and be moved to fdisk.c)
to save a few bytes.

There's a function edit_int() in fdisklabel.c which I added because read_int()
had no default value. In fdisk v2.0d it has so edit_int could be replaces by
read_int(). The function which uses edit_int() (bsd_edit_disklabel ()) is a
bit crufty anyhow:
- The disklabel contains some values which are probably meaningless for IDE or
  SCSI drives, I made them editable but I don't know any sensible range of
  values (bad for read_int()). (interleave, trackskew, cylskew)
- I made the values secsize/nsectors/ntracks/ncylinders editable for Linux/Alpha
  but not for Linux/i386 because under Linux/i386 the disklabel is inside a
  DOS partition so the disklabel was written by an OS which got along with the
  disk and should have left the correct values there.

I've put the BSD copyright (which applies to fdisklabel.h and
alpha_bootblock_checksum, bsd_dkcksum, bsd_print_disklabel in fdisklabel.c)
into a separate man page. This way all Linux versions of BSD programs can refer
to ths bsd.<n> man page.

fasten@informatik.uni-bonn.de