fstab

Craig White craigwhite at azapple.com
Tue Feb 7 18:56:43 MST 2006


On Tue, 2006-02-07 at 18:11 -0700, Jerry Davis wrote:
> On Tuesday 07 February 2006 05:58 pm, bmike101 at cox.net wrote:
> > I <supposedly> have my home directories on their own partiton..... but I
> > wonder if that is so considering that I ran out of disk space last week.
> > I'm going to share my ftab with you and ask you how I would know if it is
> > going to the /dev/hda4 or just /mnt/hda4 (is the home partition being
> > used?) One more thing.... how do i  get it to be used?
> >
> > /dev/hda2 / ext3 defaults,noatime 1 1
> > /dev/hda4 /mnt/hda4 ext3 defaults,noatime 1 1
> > /dev/sda1 swap swap sw,pri=1 0 0
> > proc /proc proc defaults 0 0
> > devpts /dev/pts devpts mode=0622 0 0
> > none /proc/bus/usb usbdevfs defaults 0 0
> > # Dynamic entries
> > /dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000 0 0
> > /dev/hda3 /mnt/hda3 ext3 noauto,users,exec 0 0
> >
> > This is my understanding of this fstab:
> > /dev/hda2 is being mounted to root
> > /dev/hda4 is being mounted to /mnt/hda4
> > /dev/sda1 is my swap drive
> > I have no clue about the next two lines.
> > I think the #Dynamic entries are just the directories which can be mounted
> > on-the-fly.
> >
> > Is this understanding correct?
> 
> yep.
> 
> you do NOT have a /home directory on its own partition.
> it is part of /
----
I'm not gonna spend a lot of time thinking about this but...

ln -s /mnt/hda4 /home # might be possible and would mean /home isn't
really on /

and issuing a 'mount' command might reveal more than might be obvious...

/home/share on /usr/share type none (rw,bind)

where I have done a --bind mount that might not necessarily be listed
in /etc/fstab

but I don't ***think*** that Mike has done any of that trickery.

Craig



More information about the PLUG-discuss mailing list