LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   what entries to put into fstab for new hard disk? (https://www.linuxquestions.org/questions/linux-hardware-18/what-entries-to-put-into-fstab-for-new-hard-disk-172764/)

chuck_notorious 04-21-2004 02:31 AM

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.

hw-tph 04-21-2004 03:37 AM

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


All times are GMT -5. The time now is 04:41 AM.