How to mount a filesystem
Hello,
I cannot figure out how to mount this file system. I have a cramfs, that I have copied from it's flash location to ram: cp /dev/mtd0 /tmp/cram0 Now I want to pivot_root to this copy of the filesystem, but, what is the syntax to mount this filesystem? Mike |
it would be
Code:
mount -t cramfs /tmp/cram0 /mnt/mntpoint |
Thank you VERY much for your reply. I seem to be having a problem in selecting a correct mount point. As you can see in the results below. Of course, the /mnt directory is IN the original cramfs, so the read-only result makes sense.
Code:
# ls /tmp Thanks - Mike |
Oh, sorry, I forgot. The command is more like this:
Code:
mount -t cramfs -o loop /tmp/cram0 /tmp/crammountpoint |
All times are GMT -5. The time now is 06:27 PM. |