CS-Reloaded Banner
Welcome, Guest. Please Login or Register.
Download Second Map Pack!
Get more packs here

Home Help Search Login Register

CSReloaded Forums  |  General Category  |  Help & Troubleshooting (Moderator: Guardian_Tenshi)  |  Topic: Mounting stuff on Linux
Pages: [1] Reply Notify of replies
   Author  Topic: Mounting stuff on Linux  (Read 48 times)
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Mounting stuff on Linux
« on: November 15, 2003, 07:03:20 PM »
Reply with quote

ok, I've got this CD that burned and I thought it would be pretty easy to "mount" the CD and only take the two .tbz files I actually want off the CD, and get them on my laptop, but apparently, trying to get two files off my desktop and onto my laptop is like nearly impossible.  I know I want to use mount_msdosfs but I dunno what a bdev is or something.  I read the man page, but I just don't understand, is this over my head, or am I just stupid?


Tenshi
Logged

Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:Mounting stuff on Linux
« Reply #1 on: November 15, 2003, 07:04:45 PM »
Reply with quote

I should further clarify that I'm not even sure I know how to access the CD-rom in FreeBSD, I assume it is just this /cdrom/ directory, but I haven't been able to get anything to show up there yet.  Let me know.

Tenshi
Logged

slightcrazed
-TWB-
Admin Team
CSR Connoisseur
*****
Karma: +65/-7

Offline

Gender: Male
Posts: 983


View Profile
Re:Mounting stuff on Linux
« Reply #2 on: November 15, 2003, 07:55:29 PM »
Reply with quote

First off, in your /etc/fstab file you should have your cdrom defined, and you should be able to mount it by just isuing the command using the specified mount point. Now, I'm not sure about BSD, but I know with Linux I can mount my cdrom as root by issuing the command:

mount /dev/cdrom /mnt/cdrom

I assume that BSD is the same. You can mount the cdrom anywhere, just make sure the folder exists. so you could make a folder called /home/tenshi/cdrom and then mount it by using

mount /dev/cdrom /home/tenshi/cdrom

to access it, just change into that directory

cd /home/tenshi/cdrom

and then copy the files where ever you want them.

cp name_of_file.tgz /some/where

Hope this helps. Again, BSD might be a bit different, but I think the /dev/cdrom is universal, so it should work.

slight
Logged

I once beat Drizzt Do'Urden at thumb wrestling.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
Re:Mounting stuff on Linux
« Reply #3 on: November 16, 2003, 12:01:11 AM »
Reply with quote

oke doke,
    Again, it's not 100%, but I think it close enough.  I went to the fstab deally, and it says that the device /dev/acd0 is at the "mount point" /cdrom which I assume means I need to alter what you gave me to:

#mount_msdosfs /cdrom /home/tenshi/cdrom

that returns to me:

#mount_msdosfs /cdrom /home/tenshi/cdrom
mount_msdosfs: /cdrom: Block device required

I also tried:

#mount_msdosfs /dev/acd0 /home/tenshi/cdrom
mount_msdosfs: /dev/acd0: Invalid argument

I assume this means that i was right in the path I was trying use.  but why doesn't it think that it is a block device?  I tried just mount also thinking maybe it would make a difference, but nothing.
Logged

Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:Mounting stuff on Linux
« Reply #4 on: November 16, 2003, 11:03:46 AM »
Reply with quote

My FreeBSD man page for mount says that if you don't supply one or the other arguments, the information is taken from the fstab. You already have a folder called /cdrom who's sole purpose in life is to give you a place to mount CDs you stick in your machine. The fstab is already set up with the name of your device (acd0) and the mount point it should use by default (/cdrom), so theoretically all you should have to do is enter mount /dev/acd0. From what I've read, mount will automatically call mount_msdosfs if it needs to in order to read the disc's filesystem. Now that I think about it, mount cdrom might work too, since the actual device name should be found in the fstab.

Also, the syntax of mount requires that if there is more than one argument, the first argument is to be a device node, and whenever you see that, you need to think "okay, I'll be looking in the /dev directory..." The second argument is then the filesystem node that you want to mount the device into. A filesystem "node" just means "folder" for all intents and purposes.

* You also need to make sure you have the right file permissions to access both /dev/acd0 AND /cdrom. *
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Guardian_Tenshi
Global Moderator
*****
Karma: +53/-26

Offline

Gender: Male
Posts: 1114

276733708 276733708 clanguardian2003 Ol+Grimmy
View Profile WWW E-Mail
More on Linux (uninstalling)
« Reply #5 on: November 19, 2003, 02:55:33 AM »
Reply with quote

What is the best way to uninstall a program?? Specifically, i'm trying to update GAIM, but it says i need to remove previous versions first. 

Tenshi

okay, i used pkg_delete to get rid of the old GAIM, but now i shot myself in the foot again.  Now try to run gaim, and I get an error about an ELF?

#./gaim
ELF interpreter /libexec/ld-elf.so.1 not found
Abort
#

the file ld-elf.so.1 is actually in /usr/libexec/ld-elf.so.1 so i tried sym-linking it with ln -s to get it there, but i still get the same error.

Gaim is actually in a strange directory to me too...
/usr/X11R6/bin
There is also another libexec, /usr/X11R6/libexec  I sym-linked to that folder too...yet, still the same error.  Can anyone tell me what and "ELF interpreter" is?  Is there any other way to fix this? 

I could only find one website that even mentioned it in an unrelated program.  Here.
Help...
« Last Edit: November 19, 2003, 02:00:00 PM by Guardian_Tenshi » Logged

Porter
[Wumpa]
Board Admin
*****
Karma: +176/--88

Offline

Gender: Male
Posts: 3910

Wumpa+Porter
View Profile WWW E-Mail
Re:Mounting stuff on Linux
« Reply #6 on: November 20, 2003, 09:24:32 PM »
Reply with quote

/usr/X11R6 is the default directory for X Windows. So anything that's NOT command line will usually be somewhere in here.

As for the ELF issue, all I have time for right now is a link to help explain it's purpose: http://www.chedong.com/phpMan.php/man/ld-elf.so.1/1

Maybe Slight can help more since I am so short on time at the moment. Good luck.
Logged

[Wumpa] Porter
  --Silent, professional, lethal... sometimes.
Pages: [1] Reply Notify of replies 
CSReloaded Forums  |  General Category  |  Help & Troubleshooting (Moderator: Guardian_Tenshi)  |  Topic: Mounting stuff on Linux
Jump to: 

Powered by PHP CSReloaded Forums | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
Powered by MySQL
:[ Site Design by Ryo, scripts and backends by Porter and Ryo, banner by Supafly! Powered by PHP and MySQL ]:
Page created in 0.04 seconds.