Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 1997 11:00:59 -0600 (CST)
From:      Mark Tinguely <tinguely@plains.nodak.edu>
To:        vince@mail.MCESTATE.COM
Cc:        questions@freebsd.org
Subject:   Re: /etc/fstab file screwup.
Message-ID:  <199703031700.LAA03301@plains.nodak.edu>

next in thread | raw e-mail | index | archive | help
I agree with most of the replies to the /etc/fstab loss.

I would add that if you do not know where your devices are, do a:

	disklabel -r wd0 	# or sd0 for SCSI

the line:

	 disk: wd0s1

will give you the slice information and the partitions lines will give the
mount points.

If you do not know what goes where, use "fsck" command on the raw partition:

if disklabel list a partition as:

  e:  1209600   564480    4.2BSD        0     0     0   # (Cyl.   70 - 219)

then run the command:

	fsck /dev/rwd0s1e
	     *****#*****@	* from disklabel disk line
				# r is raw partition
				@ is from partition line.

If a person does not know/like ed, a person must mount the /usr partition to
use vi.

--mark.



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