From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <004401bff3e3$acd306e0$03c684c3@psychobasketcase.org> From: "Boyd Roberts" To: <9fans@cse.psu.edu> References: <200007202346.TAA24314@cse.psu.edu> Subject: [9fans] USB floppies: key.c Date: Sat, 22 Jul 2000 15:49:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: e8bd2a22-eac8-11e9-9e20-41e7f4b1d025 ahh, now i know why the nvram is on the floppy. chicken and egg: /* 161 * return offset of first file block 162 * 163 * This is a very simplistic dos file system. It only 164 * works on floppies, only looks in the root, and only 165 * returns a pointer to the first block of a file. 166 * 167 * This exists for cpu servers that have no hard disk 168 * or nvram to store the key on. 169 * 170 * Please don't make this any smarter: it stays resident 171 * and I'ld prefer not to waste the space on something that 172 * runs only at boottime -- presotto. 173 */ 174 static long 175 finddosfile(int fd, char *file) i think i know how to kludge around it. thanks for the LXR! at the job i don't have the time to spend too much time on it. at home, with my ADSL, i do. -- Boyd Roberts boyd@psycho-basket-case.org ``I come over here to kill them cocksuckers, not work for 'em'' -- Moon Dog, _Pettibone's Law_, John Keene