lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 12 Aug 2009 19:47:17 +0000 (UTC)
From:	David Wuertele <dave+gmane@...rtele.com>
To:	linux-kernel@...r.kernel.org
Subject:  Can initramfs be mounted read-only?

I've been trying to create a system with a read-only rootfs using initramfs,
but I'm not having any luck.  I've included "ro" on my command line and when
I cat /proc/cmdline it reports "ro" like I expect.  But when I type "mount",
I see this:

  rootfs on / type rootfs (rw)

And I can create new files and write to them just fine.  Is it possible to
mount an initramfs read-only?

The documentation for early userspace and initramfs does not talk about
read/write permissions.

Thanks,
Dave


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ