I am new to file system. I have file system file with name rootfs.ext3 and when I mount it to some directory , I don't see any "sda" directory into it so that this file system file could be mounted on linux partition.
mount -o loop rootfs.ext3 /media/fuse/
ls
bin examples init libexec lost+found proc sbin32 tmp
dev home lib mnt root share usr
etc include mnth sbin var
Could any one please point me out how could I provide /dev/sda to this file system file rootfs.ext3 ?
Thanks
rootfs.ext3
is a file which contains a disk image. You mount it using loop mounting, which create a virtual device./dev/sda
is a physical disk (and a whole one, not a partition) --- it's not provided by any image, it's the kernel itself that create it on boot.