Beaglebone Angstrom: cómo habilitar el sistema de archivos raíz de solo lectura
Frecuentes
Visto 2,860 veces
0
I am developing applications on Beaglebone board with Angstrom Linux distro. I tend to mount root file system as read only because, it is not robust on readable/writeable configuration across power offs.
Can you make suggestions about how to mount root file system as read only? What are the steps for mounting root file system read only and then turn it back to readable/writable?
With these step i tend to get a more robust file system.
saludos
2 Respuestas
1
You would need to edit the boot arguments that you pass to the kernel to use ro en lugar de rw
for mounting the root file system. For example root=/dev/mmcblk0p1 ro
. They are modifiable via the uboot environment variables
Respondido 29 ago 12, 03:08
0
On a similar Angstrom-based system, I got the same "must specify the filesystem type" message. After trying a few different things, I was able to remount root as ro using: busybox mount -o remount,ro /
I have to admit I'm not certain el porqué calling busybox directly worked when the "mount" command (which is a link to busybox) did not work, but I didn't have time to dig further.
Respondido el 20 de diciembre de 12 a las 06:12
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas linux filesystems angstrom-linux or haz tu propia pregunta.
mount -o remount,ro /
to mount read only,mount -o remount,rw /
to mount read-write. When remounting read/write, if there are currently files open for writing on / then the remount will fail. - Austin PhillipsWhen i write "mount -o remount,ro /", it says "mount: you must specify the filesystem type" I think i must change the fstab but i dont know what should i change. - user1336117