LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to mount a device ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-mount-a-device-704233/)

fahadaziz 02-12-2009 12:53 PM

How to mount a device ?
 
Hi,

i am trying to mount a cdrom in /mnt/cdrom directory but every time
i am getting an error here it is

[root@mustu cdrom]# mount /media/Corvit\ Systems /mnt/cdrom/
mount: you must specify the filesystem type

please help me out in mounting this device.

Thanks and regards,

Faddi.

Nylex 02-12-2009 01:03 PM

You need to give the device that you're trying to mount to /mnt/cdrom, e.g. /dev/cdrom.

servat78 02-12-2009 06:11 PM

Just as the error message tells you: you have to specify the file system. Your command misses the file type and the device.
Do something like:

mount -t ext3 /dev/sda1 /media/mountpoint

Have a look at 'man mount' for details.

Debian

millgates 02-12-2009 06:32 PM

i think you don't have to specify filename when mounting a cdrom; i think iso9660 is default
you have to specify the device to mount, though.
You're mounting "/media/Corvit\ Systems" in "/mnt/cdrom/" - isn't the cdrom already mounted in "/media/Corvit\ Systems" ?

PTrenholme 02-12-2009 06:56 PM

Please follow the advice of servat78, above, and look at the output of the man mount command. Pay attention to the order of the arguments: the syntax is "mount [options] <device> <mount_point>," and you have the order reversed in your sample command.

fahadaziz 02-12-2009 10:55 PM

Thanx for the posts
 
Hi,

I came to know that i was doing wrong and yes it is... i was using fedora 10 release and in that there is no need of mounting the device as it already does....i was messing up with previous versions of linux distros as in redhat linux 9 you have to mount the device but in fedora 10 you dont.....


thanx linuxquestions.org


All times are GMT -5. The time now is 09:23 PM.