Skip site navigation (1)Skip section navigation (2)
Date:      12 Mar 2004 09:35:11 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Crucial Servers" <admin@crucialservers.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mounting a New Hard Drive
Message-ID:  <44ekrym8v4.fsf@be-well.ilk.org>
In-Reply-To: <011c01c4078f$43d27400$6801a8c0@JAMES>
References:  <011c01c4078f$43d27400$6801a8c0@JAMES>

next in thread | previous in thread | raw e-mail | index | archive | help
"Crucial Servers" <admin@crucialservers.net> writes:

>     I have always mounted hard drives and edited the fstab file, is there a mount command that will add the entry for me so there is no mistakes. Assuming the hdd is /dev/ad2s1a what would be the proper format for mounting this.

I don't think there's any automatic way to add it to fstab, but you
can certainly mount it from the command line and use that to create
the fstab entry by hand.

mount /dev/ad2s1 /path/to/mount/point

should mount it, then you can umount it and add

/dev/ad2s1      /path/to/mount/point	ufs	rw		0	0

to your fstab.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
		resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
		username/password "public"



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