mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Writing to ubifs
@ 2019-12-07 10:15 Patrick Schneider
  2019-12-09  8:26 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Schneider @ 2019-12-07 10:15 UTC (permalink / raw)
  To: barebox

I have a use case where I would need to be able to manipulate the fstab on the rootfs before booting, so I wondered if it is possible to write to a mounted ubifs from barebox?
Currently I am trying with: 

mount /dev/nand0.root.ubi.rootfs /mnt/rootfs -o rw

which still yields in a readonly mount of the rootfs where I cannot manipulate files. Does barebox have write support to ubifs or is there another way?

Thanks for your answers!

Best regards,
Patrick


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: Writing to ubifs
  2019-12-07 10:15 Writing to ubifs Patrick Schneider
@ 2019-12-09  8:26 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-12-09  8:26 UTC (permalink / raw)
  To: Patrick Schneider; +Cc: barebox

Hi Patrick,

On Sat, Dec 07, 2019 at 10:15:26AM +0000, Patrick Schneider wrote:
> I have a use case where I would need to be able to manipulate the
> fstab on the rootfs before booting, so I wondered if it is possible to
> write to a mounted ubifs from barebox?
> Currently I am trying with: 
> 
> mount /dev/nand0.root.ubi.rootfs /mnt/rootfs -o rw
> 
> which still yields in a readonly mount of the rootfs where I cannot
> manipulate files. Does barebox have write support to ubifs or is there
> another way?

No, barebox does not have UBIFS write support. What are you trying to
archieve?

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2019-12-09  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-07 10:15 Writing to ubifs Patrick Schneider
2019-12-09  8:26 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox