From owner-freebsd-current@FreeBSD.ORG Tue May 30 04:08:05 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D21D16A7B3 for ; Tue, 30 May 2006 04:08:05 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E75043D76 for ; Tue, 30 May 2006 04:08:03 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.13.6/8.13.6) with ESMTP id k4U485Jr010614 for ; Tue, 30 May 2006 00:08:05 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: current@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-gPJZMjtpm5SFoTE0RiLS" Organization: FreeBSD, Inc. Date: Tue, 30 May 2006 00:08:01 -0400 Message-Id: <1148962081.8820.49.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Cc: Subject: -CURRENT does not recognize standard mount options X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 04:08:07 -0000 --=-gPJZMjtpm5SFoTE0RiLS Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I'm trying to mount a USB stick with an MS-DOS file system on it, and I'm specifying -o sync. This mount works in RELENG_6, and the source for mount_msdosfs.c makes me think it should work in -CURRENT. However, this is what I see: # mount_msdosfs -o sync /dev/da1s1 /mnt mount_msdosfs: /dev/da1s1: Invalid argument And in dmesg: mount option is unknown Mount point /mnt had 1 dangling refs So the kernel is rejecting this option. I looked through the kernel code, and it doesn't look like this option is in fact supported by msdosfs. However, I can't see why it works in -STABLE. Give that mount_msdosfs.c looks like it wants to support MNT_STDOPTS as well as MNT_SYNC, I'd think that sync should work. I haven't tracked down exactly why this is happening yet, but I'd appreciate any pointers. I'm running: FreeBSD fugu.marcuscom.com 7.0-CURRENT FreeBSD 7.0-CURRENT #72: Sun May 7 00:51:14 EDT 2006 gnome@fugu.marcuscom.com:/space2/obj/usr/src/sys/FUGU i386 But others have reported the same thing on more recent -CURRENT as well. Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-gPJZMjtpm5SFoTE0RiLS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEe8Uhb2iPiv4Uz4cRAnc7AJ9WEqi+i9UDIkeTEWXUR5uKrSJ7AgCgmuTJ GYj9r1nTG1D6YtRdEtkn/tE= =7SOQ -----END PGP SIGNATURE----- --=-gPJZMjtpm5SFoTE0RiLS--