Code Monkey home page Code Monkey logo

Comments (4)

stefaang avatar stefaang commented on May 28, 2024

See here https://github.com/hashashin/mycloudapps/tree/master/CustomAppList

from wdpksrc.

stefaang avatar stefaang commented on May 28, 2024

Chattr doesn't work on tmpfs, you need to bind-mount an ext4 volume first.
See hashashin/mycloudapps#1

from wdpksrc.

JediNite avatar JediNite commented on May 28, 2024

stefaang,

I just read your comment in hashashin/mycloudapps#1. I just checked on the EX4100 and found the following :

root@WDMyCloudEX4100 xml # pwd
/var/www/xml
root@WDMyCloudEX4100 xml # df -k .
Filesystem           1K-blocks      Used Available Use% Mounted on
%root%                   55529     32372     20290  61% /
root@WDMyCloudEX4100 xml # mount | grep root
%root% on / type unknown (rw)
root@WDMyCloudEX4100 xml # touch blah
root@WDMyCloudEX4100 xml # ls -al blah
-rw-r--r--    1 root     root             0 Oct  4 08:48 blah

Not sure if that helps you to work out why this might work with no issues on ARM.

Cheers,

JediNite

from wdpksrc.

stefaang avatar stefaang commented on May 28, 2024

Some extra info.

root@MyCloudEX2Ultra home # /bin/mount | /bin/grep root
%root% on / type unknown (rw)
root@MyCloudEX2Ultra home # cat /proc/mounts | grep root
rootfs / rootfs rw 0 0
/dev/root / ext2 rw,relatime,errors=continue 0 0
root@MyCloudEX2Ultra home # cat /etc/fstab | grep ram
/dev/ram0 	/		ext2    defaults	1	1
root@MyCloudEX2Ultra home # /opt/bin/lsattr /var/www/xml/app_info.xml 
------------------- /var/www/xml/apkg_all.xml

root@MyCloudPR4100 home # /bin/mount | /bin/grep root
%root% on / type unknown (rw)
root@MyCloudPR4100 home # cat /proc/mounts | grep root
rootfs / rootfs rw,relatime 0 0
root@MyCloudPR4100 home # /opt/bin/lsattr /var/www/xml/app_info.xml 
lsattr: Inappropriate ioctl for device While reading flags on /var/www/xml/app_info.xml

Searching for answers..
https://unix.stackexchange.com/questions/295060/why-on-some-linux-systems-does-the-root-filesystem-appear-as-dev-root-instead
https://www.linuxquestions.org/questions/slackware-14/slackware-current-dev-root-688189/page2.html

from wdpksrc.

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.