[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: date reset on a /dev/ file



Em Dom, 2002-02-10 às 23:36, ben escreveu:
> On Sunday 10 February 2002 05:14 pm, Matthew Dalton wrote:
> > ben wrote:
> > > one if my /dev/ files has a mysterious date of 0 april 2001. has anyone
> > > had this before. can i/should i manually reset that, and, if so, how is
> > > it done?
> >
> > Are you sure you're reading the ls output right?
> >
> > In my /dev directory I have an entry:
> > 	brw-rw----    1 root     disk      13,   0 Feb 23  1999 xda
> >
> > The '0' here is the minor number. It has nothing to do with the date.
> >
> >
> > If you are reading the ls output correctly though, you could try
> > changing the date with "touch /dev/<file>".
> >
> thanks for the response, matthew. yeah, i was reading it correctly. touch 
> does change the date but doesn't affect the inability to cat the file. cat 
> still claims that it doesn't exist even though ls sees it.
> 

It is not a file it is a device, if there is nothing connected to it cat
will give you that exact answer

no such file or DEVICE

Michel.


> ben
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 




Reply to: