| Summary: | why is busybox mount read-only by default ? | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | linuxcbon |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.21.x | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
linuxcbon
2015-04-26 05:32:12 UTC
Can't reproduce. Please show a strace of misbehaving mount. (In reply to comment #1) > Can't reproduce. > Please show a strace of misbehaving mount. Can you tell me the exact commands and steps to do the strace please ? (By the way,I think this is caused because my ext2 file system was not cleanly unmounted when turning the PC off, so when rebooting, the filesystem was mounted as read only, I dont know if this is normal, and I have to verify if that's the real origin of the problem. ) you can do: strace -o /tmp/log mount /dev/root / you should also run `dmesg` to see if there's any interesting messages in there Why was it closed ? I am sorry but this was not resolved. How to reproduce : Set linux kernel booting as read only (without RW) : kernel /boot/vmlinuz Then inittab ::sysinit:/etc/rc.d/rc.sysinit Then rc.sysinit : busybox mount /dev/root / Result : "busybox mount" mounts as read only. # more /etc/mtab /dev/root / ext2 ro,relatime,errors=continue,user_xattr,acl 0 0 And by "default mount should mount as writeable ? No ? Thanks in advance (In reply to linuxcbon from comment #4) we asked for more details which you did not provide. please post your /etc/fstab and the requested strace run. |