linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Mounting UBIFS readonly - is it really readonly?
@ 2010-07-27 19:05 Sergei Zhirikov
  2010-08-05  4:51 ` Artem Bityutskiy
  2010-08-23 12:23 ` Artem Bityutskiy
  0 siblings, 2 replies; 6+ messages in thread
From: Sergei Zhirikov @ 2010-07-27 19:05 UTC (permalink / raw)
  To: linux-mtd

Hi,

I hope someone can help me to resolve the following mystery.

I'm using UBIFS as the root filesystem always mounted readonly.
The kernel boot parameters are:
console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs ro loglevel=6

As you can see, there is "ro", which causes UBIFS to be initially mounted readonly. And later it is *never* remounted read-write. Everything seems to work as expected (I get "Read-only file system" error upon a write attempt) except one thing. Somehow the modification time of /dev/console is updated every time the system boots. Note: I'm not talking about the /dev/console located inside the /dev mount (which is tmpfs and is obvously writable), I'm talking about the /dev/console located on the root file system and accessed (probably by init) before /dev is mounted. I'm really puzzled. How is this possible? The root filesystem has been readonly all the time and still the timestamp is somehow updated. Does anyone have an idea what might be going on there?

I'm using kernel 2.6.33.6 and classic sysvinit-2.86.

Thanks and regards,
Sergei.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-23 19:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-27 19:05 Mounting UBIFS readonly - is it really readonly? Sergei Zhirikov
2010-08-05  4:51 ` Artem Bityutskiy
2010-08-23 12:23 ` Artem Bityutskiy
2010-08-23 12:41   ` Artem Bityutskiy
2010-08-23 18:33     ` Sergei Zhirikov
2010-08-23 19:14       ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).