LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-29-2004, 11:23 PM   #1
Phyrtech
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Rep: Reputation: 0
Question How do I format and mount a new drive?


I am just starting with Linux and am having issues with this case sensitive file system. My solution then is to mount a second hard drive to handle my http requests on that filesystem.

My questions are these:

What file system should I use for this?

How do I partition a new drive in Linux?

How do I format the new parition?

How do I mount the new partition?

Thanks in advance for all the help!

- Nate
 
Old 01-29-2004, 11:28 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
whatever file system you wish (ext3 or reiserfs is my recommendation)

fdisk /dev/hdX (where X is the letter for the corresponding drive)

mkfs -t ext3 /dev/hdX (where again X is the corresponding drive, and -t is for type and i used ext3 in this example, change it if need be)

mount -t ext3 /dev/hdX /mnt/mountpoint (where mountpoint can be replaced by the name of the folder you will make to mount it and again X is for the drive and also again -t for the type)
 
Old 01-30-2004, 12:23 AM   #3
Phyrtech
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
DrOzz,

Thank you for your help. I have been able to create a new partition and mount it successfully.

You suggested ext3 as the filesystem, but this seems to be case sensitive. Is there one other than FAT that will support case insensitivity?

Thanks again for your help.

- Nate
 
Old 01-30-2004, 12:25 AM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
the filesystem isn't case sensitive, linux is case sensitive ;-)
you'll have to use windows if you think case sensitivity is an issue ;-)
 
Old 01-30-2004, 12:27 AM   #5
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
The filesystem will not make a difference to it being case sensitive. Even if you use a FAT filesystem it will still be case sensitive
 
Old 01-30-2004, 12:29 AM   #6
Phyrtech
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Ok, thanks a bunch.

For now I have just made a FAT fs to support case sensitivity. Perhaps you know of a way to make apache compensate for case sensitivity. For example:

/var/www is my web root
/var/www/mail is the location of the mail script

if the user types in mydomain.com/Mail apache can't find the mail scripts because /Mail and /mail aren't the same.

Thanks for the help.

- Nate
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 07:30 AM
Mount usb drive, umount and mount another drive arubin Linux - Hardware 9 01-17-2007 04:46 AM
how to mount a external hard drive in ext3 format? kuertensun Linux - Newbie 12 09-06-2005 07:51 PM
How to format floppy if I can't mount it? kornerr Linux - General 5 02-18-2005 12:02 PM
can't access/format/mount dell latitude modular hard drive egg Linux - Laptop and Netbook 2 10-02-2003 08:40 PM

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

All times are GMT -5. The time now is 04:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration