vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| FSTAB is supposed to tell me which hard drive partitions are used up. I'm running Yellow Dog on a Mac Power PC. I'd like to mount the CD ROM by using the mount /dev/cdrom command. However I'm getting nowhere. Am I supposed to mount this CD ROM to a partitition? My boot up is hda9 Can I take one that's unassigned, let's say hda4? Thanks |
| |||
| On Sat, 13 Dec 2003 23:51:55 -0500, Frank Conte wrote: > FSTAB is supposed to tell me which hard drive partitions are used up. > I'm running Yellow Dog on a Mac Power PC. > I'd like to mount the CD ROM by using the mount /dev/cdrom command. > However I'm getting nowhere. > Am I supposed to mount this CD ROM to a partitition? My boot up is hda9 > Can I take one that's unassigned, let's say hda4? You create a mount point (mkdir) and mount the drive on that mount point. Example for a scsi cdrom /dev/scd0 /cdrom_nec iso9660 ro,user,noauto,unhide,exec 0 0 for an ide device /dev/hdc /cdrom iso9660 ro,user,noauto,unhide,exec 0 0 For extra points man mkdir man mount man umount man fstab |
| |||
| On Sun, 14 Dec 2003 04:26:48 GMT, Bit Twister wrote: > On Sat, 13 Dec 2003 23:51:55 -0500, Frank Conte wrote: >> FSTAB is supposed to tell me which hard drive partitions are used up. >> I'm running Yellow Dog on a Mac Power PC. >> I'd like to mount the CD ROM by using the mount /dev/cdrom command. >> However I'm getting nowhere. >> Am I supposed to mount this CD ROM to a partitition? My boot up is hda9 >> Can I take one that's unassigned, let's say hda4? > > You create a mount point (mkdir) and mount the drive on that mount point. > Example for a scsi cdrom > /dev/scd0 /cdrom_nec iso9660 ro,user,noauto,unhide,exec 0 0 > for an ide device > /dev/hdc /cdrom iso9660 ro,user,noauto,unhide,exec 0 0 > > For extra points > man mkdir > man mount > man umount > man fstab For some more light reading The Linux System Administrator's Guide http://www.tldp.org/LDP/sag/html/index.html |
| |||
| Thanks Bit Twister wrote: > On Sun, 14 Dec 2003 04:26:48 GMT, Bit Twister wrote: > > On Sat, 13 Dec 2003 23:51:55 -0500, Frank Conte wrote: > >> FSTAB is supposed to tell me which hard drive partitions are used up. > >> I'm running Yellow Dog on a Mac Power PC. > >> I'd like to mount the CD ROM by using the mount /dev/cdrom command. > >> However I'm getting nowhere. > >> Am I supposed to mount this CD ROM to a partitition? My boot up is hda9 > >> Can I take one that's unassigned, let's say hda4? > > > > You create a mount point (mkdir) and mount the drive on that mount point. > > Example for a scsi cdrom > > /dev/scd0 /cdrom_nec iso9660 ro,user,noauto,unhide,exec 0 0 > > for an ide device > > /dev/hdc /cdrom iso9660 ro,user,noauto,unhide,exec 0 0 > > > > For extra points > > man mkdir > > man mount > > man umount > > man fstab > > For some more light reading > The Linux System Administrator's Guide > http://www.tldp.org/LDP/sag/html/index.html |
| |||
| I'm still having a hard time mounting my ATAPI CD ROM I created a directory cdfrank I changed to cdfrank I ran the mount command as such mount -t /dev/cdrom iso9660 ro,user,noauto,unhide,exec 00 I got instead the mount help file. It didn't work. I also tried mount -t /dev/cdrom iso9660 ro,user,noauto,unhide,exec 00 /cdfrank What gives? Bit Twister wrote: > On Sun, 14 Dec 2003 04:26:48 GMT, Bit Twister wrote: > > On Sat, 13 Dec 2003 23:51:55 -0500, Frank Conte wrote: > >> FSTAB is supposed to tell me which hard drive partitions are used up. > >> I'm running Yellow Dog on a Mac Power PC. > >> I'd like to mount the CD ROM by using the mount /dev/cdrom command. > >> However I'm getting nowhere. > >> Am I supposed to mount this CD ROM to a partitition? My boot up is hda9 > >> Can I take one that's unassigned, let's say hda4? > > > > You create a mount point (mkdir) and mount the drive on that mount point. > > Example for a scsi cdrom > > /dev/scd0 /cdrom_nec iso9660 ro,user,noauto,unhide,exec 0 0 > > for an ide device > > /dev/hdc /cdrom iso9660 ro,user,noauto,unhide,exec 0 0 > > > > For extra points > > man mkdir > > man mount > > man umount > > man fstab > > For some more light reading > The Linux System Administrator's Guide > http://www.tldp.org/LDP/sag/html/index.html |
| |||
| On Sun, 14 Dec 2003 16:59:33 -0500, Frank Conte <fconte@rcn.com> wrote: > Bit Twister wrote: > > > On Sun, 14 Dec 2003 04:26:48 GMT, Bit Twister wrote: > > > On Sat, 13 Dec 2003 23:51:55 -0500, Frank Conte wrote: > > >> FSTAB is supposed to tell me which hard drive partitions are used up. > > >> I'm running Yellow Dog on a Mac Power PC. > > >> I'd like to mount the CD ROM by using the mount /dev/cdrom command. > > >> However I'm getting nowhere. > > >> Am I supposed to mount this CD ROM to a partitition? My boot up is hda9 > > >> Can I take one that's unassigned, let's say hda4? > > > > > > You create a mount point (mkdir) and mount the drive on that mount point. > > > Example for a scsi cdrom > > > /dev/scd0 /cdrom_nec iso9660 ro,user,noauto,unhide,exec 0 0 > > > for an ide device > > > /dev/hdc /cdrom iso9660 ro,user,noauto,unhide,exec 0 0 > > > > > > For extra points > > > man mkdir > > > man mount > > > man umount > > > man fstab > > > > For some more light reading > > The Linux System Administrator's Guide > > http://www.tldp.org/LDP/sag/html/index.html > > I'm still having a hard time mounting my ATAPI CD ROM > > I created a directory cdfrank > I changed to cdfrank I'm not positive if you can mount if the mount point is busy. > I ran the mount command as such > > mount -t /dev/cdrom iso9660 ro,user,noauto,unhide,exec 00 su -c "mount -t iso9660 -o ro,user,noauto,unhide,exec /dev/cdrom /cdfrank" > I got instead the mount help file. It didn't work. > > I also tried > > mount -t /dev/cdrom iso9660 ro,user,noauto,unhide,exec 00 /cdfrank > > What gives? You didn't do Bit Twister's suggested reading. BTW, please don't top post. Michael C. -- mcsuper5@usol.com http://mcsuper5.freeshell.org/ Registered Linux User #303915 http://counter.li.org/ |
| |||
| On Sun, 14 Dec 2003 16:59:33 -0500, Frank Conte wrote: > I'm still having a hard time mounting my ATAPI CD ROM > > I created a directory cdfrank > I changed to cdfrank Now who said to do that. > I ran the mount command as such > > mount -t /dev/cdrom iso9660 ro,user,noauto,unhide,exec 00 > > I got instead the mount help file. It didn't work. > > I also tried > > mount -t /dev/cdrom iso9660 ro,user,noauto,unhide,exec 00 /cdfrank > > What gives? My crystal ball is out being polished. i can not see the error messages. Examples I gave you were fstab examples. Let's see if you're hardware is working. Try mount -t auto /dev/cdrom /cdfrank ls -al /cdfrank |
| |||
| Frank Conte wrote: > FSTAB is supposed to tell me which hard drive partitions are used up. Not realy. /etc/fstab is supposed to tell the mount(8) command which filesystems are to be mounted to which mountpoints. While you can also use it to determine which hard drive partitions are "used up", it's not /intended/ for your use. > I'm running Yellow Dog on a Mac Power PC. > I'd like to mount the CD ROM by using the mount /dev/cdrom command. > However I'm getting nowhere. How so? What seems to be the problem? What are you doing, and what do you expect to happen? What happens? > Am I supposed to mount this CD ROM to a partitition? No, you're supposed to mount this device (/dev/cdrom) to a mountpoint. A "mountpoint" is just another way of saying "a directory that you want to replace with the contents of the mounted filesystem". > My boot up is hda9 > Can I take one that's unassigned, let's say hda4? Nope. Don't even /think/ of these. They have nothing to do with mounting your cdrom, and thinking of your hard disk partitions in this case will just confuse you. Here's what you want to do: - find an appropriate (preferably empty) directory that you'd want to see the cdrom contents under. If you don't have such a directory, create it. For example, on my system, I've got an empty directory called /mnt/cdrom that I use for accessing the cdrom with. This is it's "mount point". root@bitsie:~# ls -l /mnt/cdrom total 0 root@bitsie:~# ls -ld /mnt/cdrom drwxr-xr-x 2 root root 1024 Mar 16 2002 /mnt/cdrom/ - Tell the system to connect the cdrom to the directory selected above. root@bitsie:~# mount -r -t iso9660 /dev/cdrom /mnt/cdrom - Access your cdrom /through/ the mountpoint directory root@bitsie:~# ls -l /mnt/cdrom total 1422 -rw-r--r-- 1 root root 8571 Mar 17 2003 ANNOUNCE.9_0 -rw-r--r-- 1 root root 18606 Apr 6 2002 BOOTING.TXT -rw-r--r-- 1 root root 368806 Mar 18 2003 CHECKSUMS.md5 -rw-r--r-- 1 root root 189 Mar 18 2003 CHECKSUMS.md5.asc -rw-r--r-- 1 root root 17976 Jun 9 1994 COPYING -rw-r--r-- 1 root root 8692 Mar 17 2003 COPYRIGHT.TXT -rw-r--r-- 1 root root 602 Apr 6 2002 CRYPTO_NOTICE.TXT -rw-r--r-- 1 root root 92518 Mar 18 2003 ChangeLog.txt -rw-r--r-- 1 root root 32431 Sep 28 2002 FAQ.TXT -rw-r--r-- 1 root root 530060 Mar 18 2003 FILELIST.TXT -rw-r--r-- 1 root root 1565 Feb 26 2003 GPG-KEY -rw-r--r-- 1 root root 241559 Mar 18 2003 PACKAGES.TXT -rw-r--r-- 1 root root 12161 Mar 17 2003 README90.TXT -rw-r--r-- 1 root root 2358 Mar 17 2003 RELEASE_NOTES -rw-r--r-- 1 root root 14826 Jun 17 2002 SPEAKUP_DOCS.TXT -rw-r--r-- 1 root root 15434 Jun 17 2002 SPEAK_INSTALL.TXT -rw-r--r-- 1 root root 71477 Mar 9 2003 Slackware-HOWTO -rw-r--r-- 1 root root 2572 Mar 17 2003 UPGRADE.TXT drwxr-xr-x 3 root root 2048 Mar 17 2003 isolinux/ drwxr-xr-x 16 root root 4096 Mar 18 2003 kernels/ drwxr-xr-x 16 root root 4096 Mar 18 2003 slackware/ - When you are done with your cdrom, get out of it's directory and unmount it root@bitsie:~# umount /mnt/cdrom root@bitsie:~# ls -l /mnt/cdrom total 0 That's all there is to it. -- Lew Pitcher Master Codewright and JOAT-in-training Registered Linux User #112576 (http://counter.li.org/) Slackware - Because I know what I'm doing. |
| ||||
| Lew Pitcher wrote: > Frank Conte wrote: > > FSTAB is supposed to tell me which hard drive partitions are used up. > > Not realy. > > /etc/fstab is supposed to tell the mount(8) command which filesystems are to be > mounted to which mountpoints. While you can also use it to determine which hard > drive partitions are "used up", it's not /intended/ for your use. > > > I'm running Yellow Dog on a Mac Power PC. > > I'd like to mount the CD ROM by using the mount /dev/cdrom command. > > However I'm getting nowhere. > > How so? What seems to be the problem? What are you doing, and what do you expect > to happen? What happens? > > > Am I supposed to mount this CD ROM to a partitition? > > No, you're supposed to mount this device (/dev/cdrom) to a mountpoint. A > "mountpoint" is just another way of saying "a directory that you want to replace > with the contents of the mounted filesystem". > > > My boot up is hda9 > > Can I take one that's unassigned, let's say hda4? > > Nope. Don't even /think/ of these. They have nothing to do with mounting your > cdrom, and thinking of your hard disk partitions in this case will just confuse you. > > Here's what you want to do: > > - find an appropriate (preferably empty) directory that you'd want to see the > cdrom contents under. If you don't have such a directory, create it. For > example, on my system, I've got an empty directory called /mnt/cdrom that I > use for accessing the cdrom with. This is it's "mount point". > > root@bitsie:~# ls -l /mnt/cdrom > total 0 > > root@bitsie:~# ls -ld /mnt/cdrom > drwxr-xr-x 2 root root 1024 Mar 16 2002 /mnt/cdrom/ > > - Tell the system to connect the cdrom to the directory selected above. > > root@bitsie:~# mount -r -t iso9660 /dev/cdrom /mnt/cdrom > > - Access your cdrom /through/ the mountpoint directory > > root@bitsie:~# ls -l /mnt/cdrom > total 1422 > -rw-r--r-- 1 root root 8571 Mar 17 2003 ANNOUNCE.9_0 > -rw-r--r-- 1 root root 18606 Apr 6 2002 BOOTING.TXT > -rw-r--r-- 1 root root 368806 Mar 18 2003 CHECKSUMS.md5 > -rw-r--r-- 1 root root 189 Mar 18 2003 CHECKSUMS.md5.asc > -rw-r--r-- 1 root root 17976 Jun 9 1994 COPYING > -rw-r--r-- 1 root root 8692 Mar 17 2003 COPYRIGHT.TXT > -rw-r--r-- 1 root root 602 Apr 6 2002 CRYPTO_NOTICE.TXT > -rw-r--r-- 1 root root 92518 Mar 18 2003 ChangeLog.txt > -rw-r--r-- 1 root root 32431 Sep 28 2002 FAQ.TXT > -rw-r--r-- 1 root root 530060 Mar 18 2003 FILELIST.TXT > -rw-r--r-- 1 root root 1565 Feb 26 2003 GPG-KEY > -rw-r--r-- 1 root root 241559 Mar 18 2003 PACKAGES.TXT > -rw-r--r-- 1 root root 12161 Mar 17 2003 README90.TXT > -rw-r--r-- 1 root root 2358 Mar 17 2003 RELEASE_NOTES > -rw-r--r-- 1 root root 14826 Jun 17 2002 SPEAKUP_DOCS.TXT > -rw-r--r-- 1 root root 15434 Jun 17 2002 SPEAK_INSTALL.TXT > -rw-r--r-- 1 root root 71477 Mar 9 2003 Slackware-HOWTO > -rw-r--r-- 1 root root 2572 Mar 17 2003 UPGRADE.TXT > drwxr-xr-x 3 root root 2048 Mar 17 2003 isolinux/ > drwxr-xr-x 16 root root 4096 Mar 18 2003 kernels/ > drwxr-xr-x 16 root root 4096 Mar 18 2003 slackware/ > > - When you are done with your cdrom, get out of it's directory and unmount it > > root@bitsie:~# umount /mnt/cdrom > > root@bitsie:~# ls -l /mnt/cdrom > total 0 > > That's all there is to it. > > -- > Lew Pitcher > > Master Codewright and JOAT-in-training > Registered Linux User #112576 (http://counter.li.org/) > Slackware - Because I know what I'm doing. Thanks I'll give it a try later. |