Giter Site home page Giter Site logo

Comments (5)

fabianishere avatar fabianishere commented on July 29, 2024

Well, both directories should be the same.

In UbiOS, you should have mount at /mnt/data, which is where you can create these directory for the root overlay.

Once the system boots into the custom kernel, the root filesystem is mounted at /overlay/root_ro (with the data mount at /overlay/root_ro/mnt/data. However, after that, a read-write overlay of the rootfs is mounted as /.

In essence, this means that /mnt/data and /overlay/root_ro/mnt/data point to the same thing.

from udm-kernel-tools.

JeremyAshton avatar JeremyAshton commented on July 29, 2024

Fair enough. I guess I was confused a bit initially as I had to mkdir -p /overlay/root_ro/mnt/data/udm-kernel-tools/root and then it would mount correctly afterwards. As in: https://github.com/fabianishere/udm-kernel-tools/blob/32f0816089c5187f4ff13e3c68f9ea2f6325c591/udm-init#L145-147

from udm-kernel-tools.

fabianishere avatar fabianishere commented on July 29, 2024

Good point. I think we should mention that in the documentation.

Were you getting any errors before creating the directory or did it just not show up?

from udm-kernel-tools.

JeremyAshton avatar JeremyAshton commented on July 29, 2024

No errors. The directory structure was simply not there until the directories were created and a reboot occured.

from udm-kernel-tools.

fabianishere avatar fabianishere commented on July 29, 2024

Great, thanks for the info!

If you have the time, you can update your PR to include these steps. However, no worries if you donโ€™t! Then Iโ€™ll update it at some point.

from udm-kernel-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.