From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 02:00:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBD2816A4D0 for ; Fri, 26 Nov 2004 02:00:19 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C5CF43D62 for ; Fri, 26 Nov 2004 02:00:19 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 35347511AB; Thu, 25 Nov 2004 18:04:47 -0800 (PST) Date: Thu, 25 Nov 2004 18:04:46 -0800 From: Kris Kennaway To: Kevin Smith Message-ID: <20041126020446.GA81791@xor.obsecurity.org> References: <41A6FD07.1020900@adelphia.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <41A6FD07.1020900@adelphia.net> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: mount ntfs (windows) file system in /etc/fstab fails at boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2004 02:00:20 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 26, 2004 at 01:53:11AM -0800, Kevin Smith wrote: > I am able to mount my windows partition manually by either: >=20 > > mount -t ntfs /dev/ad0s1 /windows >=20 > or by putting an entry in by /dev/fstab that looks like: >=20 > /dev/ad0s1 /windows ntfs ro 2 = 2 >=20 > and using command: = ^^^=20 The sixth field, (fs_passno), is used by the fsck(8) program to determ= ine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno of 1, and other filesy= s- tems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be chec= ked at the same time to utilize parallelism available in the hardware. If the sixth field is not present or is zero, a value of zero is returned and fsck(8) will assume that the filesystem does not need to be checke= d. Since you don't want to run fsck on the ntfs volume, set this to zero. > If I leave this entry in my /etc/fstab, the OS reports inconsistency=20 > errors on bootup when it tries to mount and goes into single-user mode. = =20 > I then had to remount / for read-write and delete the line in the fstab= =20 > before it would boot again. P.S. It's usually helpful to transcribe the exact error, instead of describing vague symptoms. Kris --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBpo8+Wry0BWjoQKURAgTEAJ4r2jr112j26JowEJeik9zbElczewCgvORn iHX6bScYDTPeyozdRwCo8Vo= =Mfly -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--