LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-09-2003, 01:12 AM   #1
monkeymartin
Member
 
Registered: Mar 2003
Location: canada
Distribution: slackware 9.0 knoppix
Posts: 81

Rep: Reputation: 15
Mounting


I am always guessing what i have to mount. is their a command that will show me all then devices that i can mount.
 
Old 04-09-2003, 05:16 AM   #2
joesbox
Member
 
Registered: Feb 2003
Location: hampton va
Distribution: ubuntu
Posts: 502

Rep: Reputation: 30
use this command
xedit /etc/fstab &

this will open a window for xedit showing the file called fstab. this is the file that linux looks at to mount drives.

it will look something like this
LABEL=/ / ext2 defaults 1 1
LABEL=/boot /boot ext2 defaults 1 2
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdd4 /mnt/zip250.0 auto noauto,owner,kudzu 0 0

the first part is the original hardware name (i.e. /dev/hdd4) then you will see the human readable name (i.e. /mnt/zip250.0). the "/mnt/zip250.0" is the device that you mount and go to to view the data within. here is the command mount /mnt/zip250.0
it may say that root needs to do this so then you just su into root and then go in.
 
Old 04-09-2003, 09:04 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Add an fstab entry for all desired devices you want to mount and then also add a desktop shortcut.

My shortcommings is being disorganized and having several distros loaded and that I don't mount all partitions. So of course a file I need is always on an unmounted partition.

There is no absolute relationship between the mount point name and device name. A mount point is just a directory somewhere in the filesystem. The process of mounting attaches for example the floppy to the filesystem. It is common to place temporary mounted devices like cdroms etc under the /mnt directory but not all distros do this.

There are a ton of posts on mounting and fstab that you can search for. Also see man pages for mount and fstab.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 04:40 PM
Gnome 2.6 Right click mounting and the mounting system Acetylcholine Linux - Hardware 0 07-25-2004 07:34 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 11:00 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM
mounting Cybergod1983 Linux - General 1 10-08-2001 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:29 AM.

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