* [gentoo-user] Installation - about creating /etc/fstab
@ 2006-08-20 14:35 Stephen Liu
2006-08-20 19:09 ` Richard Fish
2006-08-21 7:34 ` Alan Mckinnon
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Liu @ 2006-08-20 14:35 UTC (permalink / raw
To: gentoo-user
Hi folks,
About creating /etc/fstab
HD partitions:-
/dev/hda1 ext2 /boot
/dev/hda2 (swap) swap (ext)
/dev/hda3 ext3 /root
/dev/hda4 LVM
under Volume Group (vg)
/home
/usr
/opt
/var
/tmp
floppy
cdrom
cdwriter
Whether following entries are correct ?
/etc/fstab
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 noatime 0 1
/dev/vg/usr /mnt/gentoo/usr ext3 noatime 0 1
/dev/vg/home /mnt/gentoo/home ext3 noatime 0 1
/dev/vg/opt /mnt/gentoo/opt ext3 noatime 0 1
/dev/vg/var /mnt/gentoo/var ext3 noatime 0 1
/dev/vg/tmp /mnt/gentoo/tmp ext3 noatime 0 1
/dev/fd /mnt/floppy auto noauto,user 0 0
/dev/hdc /mnt/cdrom0 auto noauto,user 0 0
/dev/hdd /mnt/cdrom1 auto noauto,user 0 0
* end *
TIA
B.R.
SL
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Installation - about creating /etc/fstab
2006-08-20 14:35 [gentoo-user] Installation - about creating /etc/fstab Stephen Liu
@ 2006-08-20 19:09 ` Richard Fish
2006-08-21 7:34 ` Alan Mckinnon
1 sibling, 0 replies; 3+ messages in thread
From: Richard Fish @ 2006-08-20 19:09 UTC (permalink / raw
To: gentoo-user
On 8/20/06, Stephen Liu <satimis@yahoo.com> wrote:
> /dev/vg/usr /mnt/gentoo/usr ext3 noatime 0 1
> /dev/vg/home /mnt/gentoo/home ext3 noatime 0 1
> /dev/vg/opt /mnt/gentoo/opt ext3 noatime 0 1
> /dev/vg/var /mnt/gentoo/var ext3 noatime 0 1
> /dev/vg/tmp /mnt/gentoo/tmp ext3 noatime 0 1
Why are you mounting these under /mnt/gentoo? Shouldn't these be
mounted on /usr, /home, /opt, /var, and /tmp instead?
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Installation - about creating /etc/fstab
2006-08-20 14:35 [gentoo-user] Installation - about creating /etc/fstab Stephen Liu
2006-08-20 19:09 ` Richard Fish
@ 2006-08-21 7:34 ` Alan Mckinnon
1 sibling, 0 replies; 3+ messages in thread
From: Alan Mckinnon @ 2006-08-21 7:34 UTC (permalink / raw
To: gentoo-user
On Sun, 2006-08-20 at 22:35 +0800, Stephen Liu wrote:
> Hi folks,
>
> About creating /etc/fstab
[snip]
> Whether following entries are correct ?
[snip]
> /dev/vg/usr /mnt/gentoo/usr ext3 noatime 0 1
This one (and the other 4 LVM entries) should follow this format:
/dev/vg/usr /usr ext3 noatime 0 2
If you mount them at /mnt/gentoo then they are not in the right place to
do their correct function. Just remove the /mnt/gentoo part from each
(you do mount them there during the install process, but it's not their
final location).
The two numbers at the end should be '0 1' for the partition mounted
at /, all other disk partitions get '0 2'. Mounts that are not real disk
partitions (/proc, tmpfs, swap, etc) are 0. See 'man 5 fstab' for
deatils. The first digit relates to a very old piece of software
(dump/restore) that is effectively obsolete.
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-21 7:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-20 14:35 [gentoo-user] Installation - about creating /etc/fstab Stephen Liu
2006-08-20 19:09 ` Richard Fish
2006-08-21 7:34 ` Alan Mckinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox