|
在TQ2440上使用date -s 设时间发现设不成功,信息如下:
[root@EmbedSky /]# date
Sun Dec 28 12:04:46 UTC 2008
[root@EmbedSky /]# date -s 2010-08-25 16:58
BusyBox v1.16.0 (2010-04-17 19:14:08 CST) multi-call binary.
Usage: date [OPTIONS] [+FMT] [TIME]
Display time (using +FMT), or set time
Options:
[-s,--set] TIME Set time to TIME
-u,--utc Work in UTC (don't convert to local time)
-R,--rfc-2822 Output RFC-2822 compliant date string
-I[SPEC] Output ISO-8601 compliant date string
SPEC='date' (default) for date only,
'hours', 'minutes', or 'seconds' for date and
time to the indicated precision
-r,--reference FILE Display last modification time of FILE
-d,--date TIME Display TIME, not 'now'
-D FMT Use FMT for -d TIME conversion
Recognized TIME formats:
hh:mm[:ss]
[YYYY.]MM.DD-hh:mm[:ss]
YYYY-MM-DD hh:mm[:ss]
[[[[[YY]YY]MM]DD]hh]mm[.ss]
[root@EmbedSky /]# date
Sun Dec 28 12:05:07 UTC 2008
使用开发板使用手册上的做法,也不行
[root@EmbedSky /]# date
Sun Dec 28 12:08:14 UTC 2008
[root@EmbedSky /]# date -s 082517012010
date: invalid date '082517012010'
[root@EmbedSky /]#
镜像是使用光盘里的镜像
请各位高手不吝赐教。谢谢 |
|