How do I mount a cramfs when I copy it to tmpfs?
Mike Wilson
mikew at tonecommander.com
Fri Nov 16 18:45:42 UTC 2007
Hope someone here can help me. I am running Busybox on Linux 2.6.10, on MIPS.
My active filesystem is cramfs in MTD0. I copy this to /tmp (tmpfs). Now I want to mount this copy, then pivot_root / chroot and execute from there.
This is the result:
# ls
cram0 ifstate log messages
# mount -t cramfs /tmp/cram0 /mnt
mount: Mounting /tmp/cram0 on /mnt failed: Block device required
# mkdir /mnt/cram0
mkdir: Cannot create directory `/mnt/cram0': Read-only file system
# mkdir /tmp/cmp
# mount -t cramfs /tmp/cram0 /tmp/cmp
mount: Mounting /tmp/cram0 on /tmp/cmp failed: Block device required
# mount -t cramfs /tmp/cram0 /tmp
mount: Mounting /tmp/cram0 on /tmp failed: Block device required
- what needs to be a block device?
- Can I use the tmpfs, or do I need some other device to place the copy of the cramfs into?
- How can I prepare the cramfs to be used in RAM?
- can you recommend another forum to ask this sort of question?
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20071116/06f5acf3/attachment-0002.htm
More information about the busybox
mailing list