LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-21-2004, 02:31 AM   #1
chuck_notorious
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian / Mandrake
Posts: 10

Rep: Reputation: 0
what entries to put into fstab for new hard disk?


Hey all,

I'm trying to install an extra hard disk on my system. I have it formatted and can mount it manually but can't work out the entry for fstab.

The hard disc is called /dev/hdb1 and is formatted as ext3.

I'm running Debian 3.0 with kernel 2.4.18.

Thanks.
 
Old 04-21-2004, 03:37 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Hello, and welcome to LinuxQuestions.
Well, it all depends on where you want to mount it, right? I prefer /usr/local/storage for added disks that aren't used for the system itself (only data storage with mp3's and stuff like that). You say you can mount it manually so I guess you have your mountpoint set up as you wish already.

A line in /etc/fstab to mount an ext3fs-formatted partition could look something like this:
Code:
/dev/hdb1               /usr/local/storage               ext3                noauto,noatime          0 0
The "noauto,noatime" is only my preference, you could use "defaults" instead.


Håkan
 
  


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
where to put routing entries jbako Linux - Networking 3 05-23-2005 07:14 AM
Immortal fstab entries tmoorman Mandriva 1 02-05-2005 02:52 AM
Entries in /etc/fstab kamransoomro84 Linux - General 6 05-05-2004 09:32 AM
How to put a live CD distro onto hard disk ? qwijibow Linux - Distributions 3 02-25-2004 10:58 AM
Mounting hard disk through fstab aiims1777 Linux - Newbie 5 11-05-2003 05:36 AM


All times are GMT -5. The time now is 02:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration