Dear All I tried to mount an external cdrom on my CentOS 5 server but un-successful . I attached the device to my USB port and then the followings have been added to my /dev folder : "cdrom -> scd0 cdrom-sr0 -> scd0 cdrw -> scd0 cdrw-sr0 -> scd0 cdwriter -> scd0 cdwriter-sr0 -> scd0" To this end , I tried to mount it as the followings (but it didn't get through) : #mount -t vfat /dev/cdrom-sr0 /mnt/cdrom Add the following line to /etc/fstab :
/dev/cdrom-sr0 /mnt/cdrom vfat noauto,users,noexec,rw, uid=1000,gid=1000 0 0
#mount /mnt/cdrom
Can you please do me favor and correct me for my mistakes in mounting it ?
Thank you in advance
On Thu, Sep 24, 2009 at 4:48 PM, hadi motamedi motamedi24@gmail.com wrote:
Dear All I tried to mount an external cdrom on my CentOS 5 server but un-successful . I attached the device to my USB port and then the followings have been added to my /dev folder : "cdrom -> scd0 cdrom-sr0 -> scd0 cdrw -> scd0 cdrw-sr0 -> scd0 cdwriter -> scd0 cdwriter-sr0 -> scd0" To this end , I tried to mount it as the followings (but it didn't get through) : #mount -t vfat /dev/cdrom-sr0 /mnt/cdrom
What's the error message? Check tail -f /var/log/messages while try mounting it. It will show what's wrong.
Thank you very much . It got through .
On Thu, Sep 24, 2009 at 10:19 AM, Nicolas Thierry-Mieg < Nicolas.Thierry-Mieg@imag.fr> wrote:
hadi motamedi wrote:
#mount -t vfat /dev/cdrom-sr0 /mnt/cdrom
try removing "-t vfat" so mount can auto detect the correct fs type _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
on 9-24-2009 1:48 AM hadi motamedi spake the following:
Dear All I tried to mount an external cdrom on my CentOS 5 server but un-successful . I attached the device to my USB port and then the followings have been added to my /dev folder : "cdrom -> scd0 cdrom-sr0 -> scd0 cdrw -> scd0 cdrw-sr0 -> scd0 cdwriter -> scd0 cdwriter-sr0 -> scd0" To this end , I tried to mount it as the followings (but it didn't get through) : #mount -t vfat /dev/cdrom-sr0 /mnt/cdrom Add the following line to /etc/fstab :
/dev/cdrom-sr0 /mnt/cdrom vfat noauto,users,noexec,rw, uid=1000,gid=1000 0 0
#mount /mnt/cdrom
Can you please do me favor and correct me for my mistakes in mounting it ?
Thank you in advance
�
�
CD's are usually iso9660, not vfat. Try -t iso9660