diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-11-27 22:44:43 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-11-27 22:44:43 +0000 |
| commit | 00f723bf6baf4634a26603872286546810087998 (patch) | |
| tree | 9fb1cc016b623756583741a10d1daed8ab959595 /lib/libdisk/write_disk.c | |
| parent | e2900279d267ee3e6c0631bf87aa1a1c72a9d5bd (diff) | |
Notes
Diffstat (limited to 'lib/libdisk/write_disk.c')
| -rw-r--r-- | lib/libdisk/write_disk.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libdisk/write_disk.c b/lib/libdisk/write_disk.c index dceab4de4f33..e0c328646465 100644 --- a/lib/libdisk/write_disk.c +++ b/lib/libdisk/write_disk.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: write_disk.c,v 1.16 1995/12/07 10:33:27 peter Exp $ + * $Id: write_disk.c,v 1.17 1996/04/29 05:03:02 jkh Exp $ * */ @@ -80,15 +80,9 @@ Write_FreeBSD(int fd, struct disk *new, struct disk *old, struct chunk *c1) dl->d_secsize = 512; dl->d_secperunit = new->chunks->size; -#if 0 - dl->d_ncylinders = new->real_cyl ? new->real_cyl : new->bios_cyl; - dl->d_ntracks = new->real_hd ? new->real_hd : new->bios_hd; - dl->d_nsectors = new->real_sect ? new->real_sect : new->bios_sect; -#else dl->d_ncylinders = new->bios_cyl; dl->d_ntracks = new->bios_hd; dl->d_nsectors = new->bios_sect; -#endif dl->d_secpercyl = dl->d_ntracks * dl->d_nsectors; dl->d_npartitions = MAXPARTITIONS; |
