Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.amiga » System Date/Time
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
System Date/Time [message #279397] Tue, 10 December 1985 20:32 Go to next message
js is currently offline  js
Messages: 2
Registered: November 1985
Karma: 0
Junior Member
Article-I.D.: uw-june.180
Posted: Tue Dec 10 20:32:40 1985
Date-Received: Thu, 12-Dec-85 05:40:34 EST
Organization: U of Washington Computer Science
Lines: 46


	Some info concerning the way the Date/Time is set when you
Boot up the system (and when you plug a new disk into the drive $#%!)

	The disk-validator when loading info from the disk, validating
and such, checks all of the file dates, and, if one of the files happens
to have been created at a date/time later then the current date/time
then the system date/time is modified to reflect this new time. This
is admittedly a handy dandy thing when you boot your system, however,
everytime you load a disk this little procedure is carried out for you,
and without warning or mention, the system date/time can change under
your feet. Now, as long as all your files have nice proper date/time
stamps on them, things work out wonderfully. Personally, I wasn't so lucky.

Somehow the date "Thursday 24-Oct-75" got associated with one of my files.
Figuring that this was refering to 1975 I never really worried, I'd reset
the date/time to be current and off I'd go.. Well, unluckily this date
was refering to 2075 apparently, and quickly I propagated this date throughout
most of my file structure.

I thought "arg, I guess I'll just set the date and copy one disk to another".
In general this works, but, you should note that if you need to pull out one
disk and put in another disk (to do the copy), then the second disk had better
have valid dates on it, since the disk validator may run and reset the date
back into future (I just set the date, format the disk, put the disk with
future dates into df1:, check/set the date/time, then do the copy).

Amiga:
	Perhaps when the disk-validator is checking a disk other than the
system disk and it finds a future-dated file, it could request wether
to go ahead and change the date/time ?

	Cheers all...
	Oh if I only knew how to talk in/out of my serial port...
	If anyone has some code for that, PLEASE (pretty please) Send me a
	copy, and I'll forever be thankfull....

			Joe Meadows

(never having much used unix, if someone could send me mail saying this posting
actually worked, I'd feel more comfortable... and while I'm asking for things,
if there are any Amiga related mailing lists, user groups, etc.. Please, let
me know!!!!)

	Sorry to be longwinded.
	Cheers .
Re: System Date/Time [message #279509 is a reply to message #279397] Tue, 17 December 1985 22:30 Go to previous messageGo to next message
lbg is currently offline  lbg
Messages: 35
Registered: September 1985
Karma: 0
Member
Article-I.D.: gitpyr.1192
Posted: Tue Dec 17 22:30:33 1985
Date-Received: Thu, 19-Dec-85 03:00:04 EST
References: <180@uw-june>
Organization: Georgia Institute of Technology
Lines: 23

In article <180@uw-june>, js@uw-june (Joe Meadows) writes:
 >  Somehow the date "Thursday 24-Oct-75" got associated with one of my files.
 >  Figuring that this was refering to 1975 I never really worried, I'd reset
 >  the date/time to be current and off I'd go.. Well, unluckily this date
 >  was refering to 2075 apparently, and quickly I propagated this date throughout
 >  most of my file structure.

I have written a program that fixes ALL of the dates on a given disk.  You
specify which drive, the last allowable date, and the date to which illegal
dates shoudl be set.  If you would like a copy, since I do not have a modem
at this time, send a disk to 

Lee Grey
250 Bruton Way
Atlanta, GA  30342

and I'll make a copy for you.  Please send a SASE.  A small contribution would
also be appreciated, but is not required.  If you do, however, I'll throw
in another program I wrote, which works like TREE in MS-DOS.  It lists each
directory and the files in them.  This is getting dangerously commercial, so
I'd better go.  Bye.

Lee
Re: System Date/Time [message #279548 is a reply to message #279397] Thu, 19 December 1985 14:20 Go to previous message
neil is currently offline  neil
Messages: 20
Registered: May 2013
Karma: 0
Junior Member
Article-I.D.: amiga.420
Posted: Thu Dec 19 14:20:09 1985
Date-Received: Sat, 21-Dec-85 04:42:15 EST
References: <180@uw-june> <1192@gitpyr.UUCP>
Reply-To: neil@rocky.UUCP (Neil Katin)
Organization: Commodore-Amiga Inc., 983 University Ave #D, Los Gatos CA 95030
Lines: 37

In article <1192@gitpyr.UUCP> lbg@gitpyr.UUCP (Lee B Grey) writes:
 > In article <180@uw-june>, js@uw-june (Joe Meadows) writes:
 >>  Somehow the date "Thursday 24-Oct-75" got associated with one of my files.
 >>  Figuring that this was refering to 1975 I never really worried, I'd reset
 >>  the date/time to be current and off I'd go.. Well, unluckily this date
 >>  was refering to 2075 apparently, and quickly I propagated this date throughout
 >>  most of my file structure.
 > 
 > I have written a program that fixes ALL of the dates on a given disk.  You
 > specify which drive, the last allowable date, and the date to which illegal
 > dates shoudl be set.  If you would like a copy, since I do not have a modem
 > at this time, send a disk to 
 > 
 > Lee Grey
 > 250 Bruton Way
 > Atlanta, GA  30342
 > 
 > and I'll make a copy for you.  Please send a SASE.  A small contribution would
 > also be appreciated, but is not required.  If you do, however, I'll throw
 > in another program I wrote, which works like TREE in MS-DOS.  It lists each
 > directory and the files in them.  This is getting dangerously commercial, so
 > I'd better go.  Bye.
 > 
 > Lee

Two notes to this stuff:  The 1.1 release does not have the problem
of a single file bumping the system date ahead (the reasons why we
did that were rendered obsolete by a better caching strategy, and
we fixed what, in retrospect, was obviously a bad effect...).  Sorry
for the pain in 1.0.

The other note is that a recursive directory printer is available in
the base amiga system.  Try "dir opt=a" to see it.

	Neil Katin
	Commodore-Amiga Inc.
	pyramid!amiga!neil
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: AmigaTerm (LONG SOURCE)
Next Topic: Need Simple Program For Preferences
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Mar 28 18:01:39 EDT 2024

Total time taken to generate the page: 0.03495 seconds