Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 1998 10:12:02 -0500 (CDT)
From:      Mark Tinguely <tinguely@plains.NoDak.edu>
To:        freebsd-questions@FreeBSD.ORG, peter@sweda.com.hk
Subject:   Re: command
Message-ID:  <199808281512.KAA23780@plains.NoDak.edu>

next in thread | raw e-mail | index | archive | help
>  1) for Dos
>  2) for BSD
>
>  Which command i can
>  read the dos partition?

the smart thing to do is automatically mount the DOS partition when booting.
then you can access the drive as if it is another Unix partition. in
/etc/fstab, add (this assumes that you are using a IDE drive and DOS is the
first partition):

/dev/wd0s1	/dos		msdos	rw 0 0

or you can manually mount the partition as root:

# mount -t msdos /dev/wd0s1 /dos

>  if i add secondary harddisk, which command i can mount this harddisk
>  or the system will be automatically mounted when boot up?

to mount your second FreeBSD drive, in /etc/fstab add (this assumes you
are using an IDE drive and that FreeBSD is the first partition on that
drive and new partition uses the "e" partition, there is some merit to
making a bootable "a" partition, and swap "b" partition on the second drive
in case the first drive dies, you can limp along with the second drive):

/dev/wd0s1e	/mountPoint	ufs	rw 1 1

--mark.

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?199808281512.KAA23780>