Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Zeitangaben von Verzeichnissen/Dateien (1.Jan 1970)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Sun May 02, 2004 9:55 am    Post subject: Zeitangaben von Verzeichnissen/Dateien (1.Jan 1970) Reply with quote

Hi @ Alle!

Mir ist gerade aufgefallen, dass mein "/dev" von 1970 ist.

Code:
alex@gentoo / $ ls -la
total 28
drwxr-xr-x   19 root     root          456 Feb 28 14:36 .
drwxr-xr-x   19 root     root          456 Feb 28 14:36 ..
~~~
drwxr-xr-x    2 root     root           96 Feb 20 12:41 boot
drwxr-xr-x    1 root     root            0 Jan  1  1970 dev   <---
drwxr-xr-x   64 root     root         4328 May  1 11:46 etc
~~~
alex@gentoo / $


Wie kann das denn sein? Mein Datum geht hier sonst normal. Ich habe auch nicht mit dem Datum herumgespielt, nach der Installation. Höchstens mal habe ich die Uhrzeit neu eingestellt.

Und, kann ich irgendwo, an einer bestimmten Datei sehen, wann ich mein Gentoo Linux installiert habe? Kann es evtl. wie oben in dem Code der 28.Februar gewesen sein?
_________________
"Ich bin ich."
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Sun May 02, 2004 10:15 am    Post subject: Reply with quote

Das ist normal. Hängt glaube ich mit dem Beginn der Unix-Zeitrechnung am 1.1. 1970 zusammen - alles was kein Datum hat, wird auf dieses gesetzt. /dev scheint aus irgendeinem Grund (devfs vielleicht?) keines gesetzt zu haben.
Bitte nicht schlagen falls das jetzt nicht ganz richtig ist, auf jeden Fall gibt es keinen Grund, sich deswegen Sorgen zu machen.
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Sun May 02, 2004 10:19 am    Post subject: Reply with quote

Merci!
Dann bin ich beruhigt und mache mir keine Sorgen deswegen! ;-)
_________________
"Ich bin ich."
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Sun May 02, 2004 10:28 am    Post subject: Reply with quote

Ist mir auch noch nie aufgefallen, aber der devfs Treiber scheint für alle Datumsangaben (ls --time ={atime, ctime, access, status} ) einfach Null zurückzugeben.

Ist ja eigentlich ganz drollig, da die anderen üblichen Pseudo-Filesysteme (/proc und /sys) zumindest das Datum ihrer Erstellung (also beim booten) berücksichtigen. Weiss jemand mehr darüber, warum das anscheinend inkonsistent gehandhabt wird?

Frank
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum