Doubt on rootfs
Quoted 7 lines · On Tue, 17 Aug 2004 Arravind babu wrote :
Hi all,
I am cross-compiling linux 2.4.20 onto MIPS .I compiled and i booted the system.When i gave the command mount at the prompt it gave the following things.
$mount
rootfs on / type rootfs (rw)
meen your Root filesystem is in memory
Quoted 2 lines
/dev/rom0on / type romfs (ro)/dev/ram0on /var type ext2 (rw)
Ramdisk mounted for /var with ext2 filesystem
Quoted 1 line
/proc on /proc type proc (rw)
Procfs
Quoted 1 line
/dev/mtdblock6on /flash type jffs2 (rw)
Flash device with jffs2 filesystem
Quoted 2 lines
/dev/ram1on /upgrade type sramfs (rw)/dev/mtdblock5on /apps type cramfs (ro)
flash device holding ur filesystm and image
Quoted 7 lines
devpts on
/dev/ptstype devpts (rw)When i gave the same command on a normal linux 2.4.20 machine i got the following.
$mount
Quoted 9 lines
/dev/sda1on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on/proc/bus/usbtype usbdevfs (rw) none on/dev/ptstype devpts (rw,gid=5,mode=620)/dev/sda5on /home type ext3 (rw)/dev/sdb1on /home1 type ext3 (rw)
none on/dev/shmtype tmpfs (rw)
none on/proc/sys/fs/binfmt_misctypebinfmt_misc(rw)
when u issue the Mount command it will display all the mounted devices. U can also "cat /etc/mout" file to check the mounted devices in your system.
Quoted 15 lines
Why rootfs is not showing any device like in linux machine(
/dev/sda1on / type ext3) ?
I checked the files
usr/src/linux/init/main.cusr/src/linux/fs/ramfs/inode.cusr/src/linux/fs/namespace.cBut i didnot got the point.Any idea is highly appreciated.My project is stopped due to this.Pls help me regarding this.
Thanks in advance,
Aravind.Yahoo! India Matrimony: Find your life partneronline.
Quoted 3 lines · bel racu
when u issue the Mount command it will display all the mounted devices. U can also "cat
/etc/mout" file to check the mounted devices in your system.
Or better, `cat /proc/mount', since /etc/mount may be out-of-date.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds