LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2004, 02:03 PM   #1
ceg4048
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora
Posts: 23

Rep: Reputation: 1
Can someone give me a lesson on Mount Points?


Hi,
As a Windows user I'm really having trouble with the concept of mounting file systems so I would appreciate any insights. I have Suse 9.2 loaded on a dual boot system. The peripherals include a USB flash stick, an external DVD-RAM burner connected via firewire, a Ricoh DVD burner and a Poloroid CD burner. When I installed Suse all these devices all the devices were connected and recognized by the install program. It asked how to label the windows partition and flash drive during the disk partition phase and I typed the phrases "windows/C" and "USBFlash/D". After boot to my created user desktop I have a "My Computer" icon and when I click this icon I get a konquerer window showing device icons. The location bar shows "drives:/".
The contents show as follows:

CD Recorder (/dev/cdrecorder) Unmounted CD Writer
CD Recorder (/dev/cdrecorder11) Unmounted CD Writer
CD Recorder (/dev/cd-rom) Unmounted CD ROM


CD Recorder (/dev/sr0) Unmounted CD ROM
Floppy (/dev/fd0) Unmounted Floppy
Hard Disc (/dev/hda2) Folder
Hard Disc (/dev/sda1) Folder
Windows (/dev/hdb1) Folder

The strange thing is that I can insert a music CD or a DVD in any of the three optical drives and the associated program such as Amarok or Mplayer will open up so I can see that the drive get mounted, however clickinng on some of the "CD" icons generates the message "could not enter folder /media/cdrecorder..."

Clicking on Hard Disk (dev/sda1) generates a blank window but no error message and "file :/USBFlash/D" appears in the location bar of this blank window. However clicking on the "Windows (/dev/hdb1) icon gets me into the windows partition without difficulty). So it seems that some file systems are mounted properly but others aren't. Apart from that though I was hoping to name the CD drives for example "Poloroid CD-ROM" to mahe it easier to recognize which drive is which.

/etc/fstab shows the following:

/dev/hda2 / reiserfs acl,user_xattr 1 1
/dev/sda1 /USBFlash/D vfat users,gid=users,umask=0002,iocharset=utf8 0 0
/dev/hdb1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/cdrecorder11 /media/cdrecorder11 subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/cdrom /media/cdrom subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0

I searched around and I discovered that I am able to access the USB Flash drive if I navigate to /media I can see cdrecorder. cdrecorder11 and cdrom folders as well as two very long name folders each beginning with ieee_1394,,, and usb-.... If I click on this folder the contents of the flash drive appear and the location bar shows:

"file:/media/usb-F352270727100317AA:0:0:0p1"

My questions are:

Why do the contents of the usb flash drive only show in this /media/usb.... folder and not in the folder labeled /USBFlash/D?

Why does it show that I have four optical drives instead of three (I think that the cdrom folder is wrong)?

What must I do to mount my optical drives so that they appear in more sensibly named folders such as "Ricoh DVD" and "Matsushita RAM" for example and how do I get them to appear in the /drives section when viewed with My Computer instead of having to navigate to the /media folder?

Cheers,
 
Old 11-30-2004, 04:52 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Renaming your mountpoints is easy. Change the folder names, which you identify first offcourse. Then edit the fstab file accordingly.
 
Old 11-30-2004, 04:53 PM   #3
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
This is a fairly good explanation of how it works.

http://www.tldp.org/linuxfocus/Engli...ticle349.shtml

good luck.
 
Old 12-01-2004, 02:24 PM   #4
ceg4048
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora
Posts: 23

Original Poster
Rep: Reputation: 1
Peacedog,
That was a really good link. I learned quite a bit reading that article and it certainly seemed reasonable. I guess I'm still a bit confused though, even though marghorp's reply indicates that it is really simple to change the mount points, the fact is that I'm just not getting it. I didn't explain properly why I'm confused so can I try again?

First and most baffling is the USB drive. As you can see from the fstab, I have the entry:

/dev/sda1 /USBFlash/D vfat users,gid=users,umask=0002,iocharset=utf8 0 0

It seems to me that this should mount the flash dive in this /USBFlash/D folder correct? But no. Although this folder exists but there is nothing in it at all. If I want to view the contents of the flash drive I have to navigate to a folder called "/media/usb-F352270727100317AA:0:0:0p1" I definitely did not create this bizarre folder name and it does not appear in fstab so why can I see it's contents and yet NOT see the contents in the folder listed in the fstab file?

The fact is that I do not recall ever creating a folder called /media/ at all yet there it is.

marghorp states that I should re-name the folders but my question is Which folders? For example there is the /dev/cdrecorder folder and /media/cdrecorder. Do I rename both? It's not even clear to me which of my three optical drives /dev/cdrecorder is. In fact, I never expected to see a device called "/dev/cdrecorder" shouldn't it be "/dev/hdc" or something like that?

This is the source of my confusion. I cannnot reconcile these device names, I cannot determine where they should be mounted and I cannot understand why the USBFlash drive is not mounted in the place specified by fstab. Is there another file I should look at? Sorry to be so dim but would you be kind enough to have another look?

Cheers,
 
Old 12-01-2004, 05:18 PM   #5
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
I think suse uses autofs. Have a look at this.

http://www.linux-consulting.com/Amd_AutoFS/autofs.html

good luck.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
need help with mount points! rmanocha Linux - Hardware 2 10-26-2003 03:23 PM
help with mount points rmanocha Linux - Software 12 10-26-2003 01:32 PM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 05:48 AM
Mount Points? Mr_Floppy4 Linux - General 2 10-14-2002 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration