Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Aug 2002 23:49:25 -0700
From:      Desmond Lee <desmond.lee@shaw.ca>
To:        Darren Pilgrim <dmp@pantherdragon.org>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>, scott@bsdprophet.org, kstewart@owt.com, grog@freebsd.org
Subject:   RE: some questions about upgrade and /etc/ files
Message-ID:  <CMEMLGKEKMLLFOICILNMGEIPCBAA.desmond.lee@shaw.ca>
In-Reply-To: <3D50B937.4671E861@pantherdragon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey Darren

Thanks again for the replies :) They totally help.

>You can rebuild the contents of fstab from the output of `mount`.  The
>fstab file should look something like this:

># See the fstab(5) manual page for important information on automatic
mounts
># of network filesystems before modifying this file.
>#
># Device        Mountpoint      FStype  Options, Dump, Pass#
>/dev/ad0s1b     none            swap    sw 0 0
>/dev/ad0s1a     /               ufs     rw 1 1
>/dev/ad0s1g     /usr            ufs     rw 2 2
>/dev/ad0s1e     /var            ufs     rw 2 2
>/dev/acd0c      /cdrom          cd9660  ro,noauto 0 0
>proc            /proc           procfs  rw 0 0

>With all those /dev/* entries changed to match the devices in your
>`mount` output.  Just, whatever you do, DO NOT REBOOT until you're
>absolutely sure your /etc/fstab matches your mounted filesystems.
>Otherwise you get to spend some time guessing at which partitions
>were mounted where.

Ah crap... i already rebooted. But, when i did a diff on fstab from the one
downloaded from the source tree there was no difference? I don't think my
system was properly mounted from before. Do you know any way to set this up
easily? I got what was listed above, but no floppy or zip drive liste?

Thanks darren :)

Desmond



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CMEMLGKEKMLLFOICILNMGEIPCBAA.desmond.lee>