Hi, when trying to create a directory path with 'mkdir -p' with the root being a mount point of a writeable filesystem that exists inside a read-only file system, mkdir return -EROFS. This was tested with the latest git-tree from: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 The last kernel I know of this has been working was 2.6.22. E.g.: |root@triton1:/# mount |rootfs on / type rootfs (rw) |/dev/root on / type jffs2 (ro) |proc on /proc type proc (rw) |sysfs on /sys type sysfs (rw) |/dev/root on /dev/.static/dev type jffs2 (ro) |tmpfs on /dev type tmpfs (rw,size=10240k,mode=755) |tmpfs on /var type tmpfs (rw) |tmpfs on /tmp type tmpfs (rw) |devpts on /dev/pts type devpts (rw,gid=5,mode=620) |tmpfs on /dev/shm type tmpfs (rw) |root@triton1:/# mkdir -p /dev/.udev/db |mkdir: Cannot create directory `/dev/': Read-only file system While: |root@triton1:/# cd /dev |root@triton1:/# mkdir -p .udev/db works as expected... Has anyone else encountered this problem already? I've searched the archives but could not find anything related to this problem. Lothar Wa
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Artem Bityutskiy | [PATCH 18/44 take 2] [UBI] build unit implementation |
| James Morris | Re: LSM conversion to static interface |
git: | |
| Paul Jackson | [PATCH] cpuset sched_load_balance kmalloc fix |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Linus Torvalds | Re: [GIT]: Networking |
