[Peeweelinux-devel] read-only system
Dennis W. Tokarski
[email protected]
Tue, 23 Oct 2001 18:48:32 -0400
Adi Linden wrote:
>
> Hi,
>
> My experiance has been that the device directory has to be read-write for
> an write access to devices to succeed. Even though, writing to the devices
> won't result in anything being written to the underlying filesystem. I'd
> be very interested in hearing if it's possible to write to the devices on
> a read-only filesystem.
>
> Adi
Adi, my experience is the same as yours and Derek's. I was working with
a client to develop a product using a read-only cramfs file system
on a flash cartridge. We wound up making /dev a symlink to /initrd/dev,
and put the "real" device nodes in the dev directory of a persistent
initrd. Rather inconvenient, but we needed the initrd anyway so not
too bad.
--Dennis