Subject: patch for src/etc/Makefile to auto calculate BS= based on a sup current of 94 12 02 at 960508 all of these failed to find what to apply this patch to: find /usr/src -type f -print | xargs grep FLOPPY_BS find /usr/src -type f -print | xargs grep 18b find /usr/src -type f -print | xargs grep fd1440 *** old/src/etc/Makefile Sun Nov 20 19:00:00 1994 --- new/src/etc/Makefile Sat Dec 3 23:43:58 1994 *************** *** 49,55 **** FLOPPY?= fd0 MOUNT?= /mnt FLOPPY_TYPE?= fd1440 ! FLOPPY_BS?= 18b FLOPPY_TRACKS?= 160 # MDEC= usr/mdec/bootfd usr/mdec/fdboot --- 49,66 ---- FLOPPY?= fd0 MOUNT?= /mnt FLOPPY_TYPE?= fd1440 ! # FLOPPY_TYPE?= fd1200# 5.25" 1.2M 15 sector/track ! # FLOPPY_TYPE?= fd1440# 3.5" 1.4M 18 sector/track ! # FLOPPY_TYPE?= fd2880# 3.5" 2.8M 36 secs/track ! ! # Now work towards something like: FLOPPY_BS?= 18b ! FLOPPY_BS_TMP!=echo ${FLOPPY_TYPE} | sed s/^fd//# 1200 or 1440 ! FLOPPY_BS!=echo "${FLOPPY_BS_TMP} 2 * 160 / p" | dc# 15 or 18 ! # Explanation: ! # ( ( 1200 * 1024 ) / 512 ) / 160 = 15 ! # 1200 * 2 / 160 = 15 ! # dc 1200 2 * 160 / p ! FLOPPY_TRACKS?= 160 # MDEC= usr/mdec/bootfd usr/mdec/fdboot --- Julian H. Stacey