par wann » 13 Jan 2003 11:21
<!-- BBCode Quote Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-2>En réponse à:</font><HR></TD></TR><TR><TD><FONT SIZE=-2><BLOCKQUOTE>
<BR>Le 2003-01-12 20:07, Jo1212 a écrit:
<BR>je le monte avec la ligne classique mount -tiso9660 /dev/cdrom.......etc et il me réponds special device /dev/cdrom does not exist>
<BR></BLOCKQUOTE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode Quote End -->
<BR>C'est tout simplement que le fichier /dev/cdrom n'existe pas... En général /dev/cdrom est un lien symbolique (un raccourci) vers /dev/hdc (si ton lecteur est en secondary master) mais dans le cas d'IPCop, ce lien n'est pas créé.
<BR>
<BR>La solution complète, en anglais...
<BR>Quick HowTo mount your cdrom drive in IpCop. Also a similar process can be used to mount your floppy drive.
<BR>
<BR>1.) First login as root
<BR>2.) go to /etc
<BR>3.) vi fstab
<BR>4.)add this line:
<BR>/dev/cdrom /mnt/cdrom auto ro,noauto,user,exec 0 0
<BR>5.) comment out the old one with a # or just delete it
<BR>6.) quit and save.
<BR>7.) go back to / and mkdir mnt
<BR>8.) go to /mnt and mkdir cdrom
<BR>9.) go to /dev
<BR>8.) type "ln -s /dev/hdb /dev/cdrom" - note this is the command if your cdrom is a slave to your hard drive.
<BR>
<BR>You should reboot your IPcop box at this point
<BR>
<BR>9.) Type "mount /dev/cdrom /mnt/cdrom -t iso9660"
<BR>10.) Done. Go to /mnt/cdrom to view the contents of the cdrom!
<BR>11.) To unmount the drive type "umount /mnt/cdrom " MAKE SURE YOU ARE NOT IN THE /mnt/cdrom DIRECTORY WHEN YOU DO THIS! <BR><BR><font size=-2></font>
"Free your mind and your ass wil follow" (George Clinton)