floppy -fstype=auto :/dev/fd0
cdrom -fstype=iso9660,ro :/dev/cdrom
Then with "ls /misc/floppy" or "ls /misc/cdrom" you can see the contents of the disks without mounting them.