Find the answer to your Linux question:
Results 1 to 2 of 2
The clock on my system clock is incorrect, and when I use the date command in the following code block it causes my Arch system to load up in maintenance ...
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    28

    Date command causes file system break

    The clock on my system clock is incorrect, and when I use the date command in the following code block it causes my Arch system to load up in maintenance mode with errors about my dates being incorrect. I use fsck to correct it, and then when the system reboots it does so just fine but with the time at the original, incorrect time.

    [code]
    # date -s "8 JAN 4:49:04"
    [code]

    Upon typing just plain 'date' my terminal spits back the time I just set, the problems do not occur until a reboot. Thank you kindly.

    -Kit

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Have you looked into 'ntp' to keep the date and time correct on your system?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...