Author Topic: mounting!??  (Read 605 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
mounting!??
« on: 20 March 2002, 08:34 »
the cdrom need to be mounted after you put the cd in, right?

if i need to mount my cdrom would i use "mount/dev/cdroms/cdrom0" in the command line?
or mount/cdrom0.
or would i do "mount -a" and mount everything mentioned in fstab?

well, i tried both of those: mount/cdrom0 (or cdrom1) said that it could not find in fstab or mtab. i looked at mtab in konqueror (it wn't let me see fstab or mtab in the console, even after i su in as root) and found that it did not have any of my cdroms there. (but they are listed under /dev/cdroms/ and /mnt/.

when i tell it to mount/dev/cdroms/(cdrom0 or cdrom1) it says that the file or directory not found.

what do these mean? under fstab it says:
/dev/hdc /mnt/cdrom auto user ...
/dev/scd0 /mnt/cdrom2 auto user ...
i only have 2 cdroms chouldnt they be cdrom0 and cdrom1...no cdrom2

got any comments on my insanity and "newbism" about this?

[ March 19, 2002: Message edited by: Druaga ]

[ March 19, 2002: Message edited by: Druaga ]

[ March 19, 2002: Message edited by: Druaga ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Centurian

  • Member
  • **
  • Posts: 235
  • Kudos: 0
    • http://www.darkmares.2ya.com
mounting!??
« Reply #1 on: 20 March 2002, 08:51 »
Hey,

To mount use mount /mnt/cdrom.

To unmount use umount /mnt/cdrom

Alternatively you can also use usermount. It is a cool graphical tool that does a great job of handling this.

You can find it at /usr/bin/usermount
Later
Centurian

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
mounting!??
« Reply #2 on: 20 March 2002, 08:58 »
*sigh* i tried /mnt/cdrom...

but that usermount thing is perfect for what i currently need

[ March 19, 2002: Message edited by: Druaga ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Centurian

  • Member
  • **
  • Posts: 235
  • Kudos: 0
    • http://www.darkmares.2ya.com
mounting!??
« Reply #3 on: 20 March 2002, 21:03 »
Hey,

Cool
Later
Centurian

jtpenrod

  • VIP
  • Member
  • ***
  • Posts: 675
  • Kudos: 105
mounting!??
« Reply #4 on: 20 March 2002, 12:34 »
I can't be sure here, but I seem to be seeing a lot of mistakes being made here. With my Mandrake and Red Hat systems, the way I mount CDs (or floppies for that matter) is to su to root, then:

# mount /dev/cdrom /mnt   To later unmount the CD:
# umount /mnt

That whitespace absolutely needs to be in there as BASH uses whitespace as a delimiter. Also, you can't mount anything unless you give it a mount point. Otherwise, all you get is errors. Any way, that's how I handle these operations in Linux: from the command line.

Powered by GNU/Linux
If software can be free, why can't dolphins?

[ March 20, 2002: Message edited by: jtpenrod ]

Live Free or Die: Linux
If software can be free, why can't dolphins?

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
mounting!??
« Reply #5 on: 20 March 2002, 13:42 »
Druaga,

try reading This article. it explained all this stuff to me when i was confused about it, so maybe it'll help you too.
There is another topic somewhere in the UNIX forum about fstab too, which has some stuff in it of relevance, try doing a search for it...
good luck with yr cdrom.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Centurian

  • Member
  • **
  • Posts: 235
  • Kudos: 0
    • http://www.darkmares.2ya.com
mounting!??
« Reply #6 on: 20 March 2002, 19:22 »
Hey,

 
quote:
Originally posted by jtpenrod:
I can't be sure here, but I seem to be seeing a lot of mistakes being made here. With my Mandrake and Red Hat systems, the way I mount CDs (or floppies for that matter) is to su to root, then:

# mount /dev/cdrom /mnt   To later unmount the CD:
# umount /mnt

That whitespace absolutely needs to be in there as BASH uses whitespace as a delimiter. Also, you can't mount anything unless you give it a mount point. Otherwise, all you get is errors. Any way, that's how I handle these operations in Linux: from the command line.

Powered by GNU/Linux
If software can be free, why can't dolphins?

[ March 20, 2002: Message edited by: jtpenrod ]



In Mandrake since your CDROM has been predefined in your fstab file it isn't necessary to give the device. The device has already been connected to /mnt/cdrom. So all that is required is
mount /mnt/cdrom
I can't say if that is true or not for other versions of Linux but it works fine for Mandrake 8.1
Later
Centurian

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
mounting!??
« Reply #7 on: 22 March 2002, 03:18 »
ya, thanks,

i was kinda screwed up becaue i tried mounting a win (Vfat) HD, that BIOS isnt detecting but linux did, and nothing happened.

But all the other drives work fine using those techniques and i got the update thing to set-up my BIOS properly.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'