login
Header Space

 
 

Device modification time on /dev

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Wednesday, May 16, 2007 - 5:33 am

Hello,

I use OBSD on a Soekris target, which uses a compact flash.

I want to limit write accesses on the compact flash, so I mounted / read 
only, with the noatime option. /var is mounted in RAM.

Then, I ran mtree as a simple IDS. I saw that some devices had their 
modification time updated, for example /dev/ptyp0 when I run some 
commands on the soekris target via a ssh connexion.

Yes, I could create a mfs partition for /dev, but I think it is too 
dangerous.

Is there an easy way to tell the kernel to not update modification time
?

Thanks for your answers.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Device modification time on /dev, Jean-Yves Boisiaud, (Wed May 16, 5:33 am)
Re: Device modification time on /dev, Stuart Henderson, (Wed May 16, 6:00 am)
Re: Device modification time on /dev, Jean-Yves Boisiaud, (Wed May 16, 1:00 pm)
Re: Device modification time on /dev, Stuart Henderson, (Wed May 16, 2:25 pm)
Re: Device modification time on /dev, Jean-Yves Boisiaud, (Wed May 16, 2:42 pm)
Re: Device modification time on /dev, Chris Kuethe, (Wed May 16, 10:52 am)
speck-geostationary