Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!sdcsvax!ucbvax!cbosgd!oucs!galen From: galen@pdp.cs.OHIOU.EDU (Douglas Wade Needham) Newsgroups: comp.unix.questions Subject: Re: How is the time zone set in 4.2 BSD? Message-ID: <625@pdp.cs.OHIOU.EDU> Date: Tue, 9-Jun-87 14:30:51 EDT Article-I.D.: pdp.625 Posted: Tue Jun 9 14:30:51 1987 Date-Received: Fri, 12-Jun-87 04:23:55 EDT References: <770@thumper.UUCP> Organization: Ohio University CS Dept., Athens Lines: 35 Summary: TIMEZONE for BSD is done in your /sys/conf/* file. In article <770@thumper.UUCP>, tr@thumper.UUCP writes: > What is the command to set the default time zone, as printed out by > date and other programs? I can't find anything in section 8 or the > /etc/directory. The system insists the zone is Pacific, even though > it is situated on the east coast. The timezone is set in the system configuration files as a global parameter. If you read in 'Building Systems with Config', found in volume 2c of your UNIX Programmer's Manual, there is a field labled 'timezone'. The fact that your system is using Pacific time indicates that your kernal was either never changed from a generic system, or the timezone was overlooked. You will need to change the value from 8 (Pacific) to 5, 6, or 7 (Eastern, Central, or Mountain) or something else matching your particular zone. The dst indicates that you use daylight savings time, and a number following it (optional) indicates when the switch occurs. After you have changed this field, you will need to run 'config' and recompile your kernal. Check the manual for the details. Hope this helps. I myself am in the process of reconfiguring our system. Hopefully, in a week or so we will have our 4.3 tapes, and I will be installing them. Anyone at Berkley know where the tapes for Ohio University Electrical and Computer Engineering are??? Or the email address for someone who might??? > -- > Tom Reingold - douglas wade needham (root@ouvax.ece.OHIOU.EDU) -- ----S----N----A----R----K----S----&----B----O----O----J----U----M----S---- Douglas Wade Needham (614)593-1567 (work) or (614)597-5969 (Home) Electrical Engineering Dept., Ohio University, Athens, Ohio 45701 UUCP: ...!cbatt!oucs!galen ** Smart Mailers: galen@pdp.cs.OHIOU.EDU