LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-26-2004, 11:59 AM   #1
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL, Ubuntu
Posts: 225

Rep: Reputation: 31
Easier Way to create and mount filesystems?


Hello All!

I have been using various linux distros for a bit and I am trying to find if there is an easier way to create a mount point.

Currently I run cfdisk and create a partition. Then I run "mke2fs -j /dev/hdax". After this I edit the fstab. usually '/dev/hdax /usr1 ext3 defaults 1 2' Then I have to go and create a /mnt/usr1.

Is this the most effective way to do this? Is there an easier way to do this or a gui method for this process. I would like to have /usr1 show up when I do an 'ls' from the / directory. Any help will be appreciated.

Thanks,
 
Old 04-26-2004, 02:07 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"Is this the most effective way to do this?"
Yes.

"I would like to have /usr1 show up when I do an 'ls' from the / directory. "

There is nothing sacred about the /mnt directory. Putting mount points in the /mnt directory is simply a convention. So you could create /user1 as a mount point instead of using /mnt/user1. You also could make a mountpoint called /home/user1/user1 if you wish.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeB....home.page.html

Steve Stites
 
Old 04-26-2004, 05:17 PM   #3
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL, Ubuntu
Posts: 225

Original Poster
Rep: Reputation: 31
Thanks for the help! I always assumed if you wanted something mounted that you put it into the /mnt directory. !!!!


Makes things a bit simpler!

Thanks,
 
Old 04-27-2004, 03:16 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
In Mandrake 9.1, you can use the GUI diskdrake program to partition, format and mount partitions. When you exit the program, answer yes when it asks if you want to save your changes in the /etc/fstab file.
 
  


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
Can't mount ufs filesystems ratman96 Linux - General 2 05-04-2005 12:34 PM
One mount point, multiple filesystems - how? hellwyn Linux - Hardware 4 02-15-2005 04:15 PM
Filesystems don't mount after instalation mullog *BSD 8 07-18-2004 04:57 PM
windows filesystems vs. linux filesystems irfanhab General 8 05-25-2004 07:21 AM
mount filesystems from hda1 and hda2 jhirshon Linux - Newbie 3 01-29-2004 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:42 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