From owner-freebsd-questions@FreeBSD.ORG Fri Jan 4 09:55:39 2008 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08CA316A417 for ; Fri, 4 Jan 2008 09:55:39 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from anthesphoria.net (anthesphoria.net [200.46.204.219]) by mx1.freebsd.org (Postfix) with ESMTP id 6521913C455 for ; Fri, 4 Jan 2008 09:55:38 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) X-Bogosity: No, tests=bogofilter X-DKIM: Sendmail DKIM Filter v2.4.1 anthesphoria.net m049tVqT084000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=anthesphoria.net; s=phero; t=1199440537; bh=JMi3nDO0NmKX/WxMpX9Eq9ne8SPAT4WAinQJbev0g 6E=; l=1189; h=X-Bogosity:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:X-Face:X-Operating-System: Mime-Version:Content-Type:Content-Transfer-Encoding; b=0W4sisOLmSN mdLe2vdEyZq4acSPbcaZf5MRpIMC7sOsggXMUqe5Vf2IDPtwXrN50asxEd8bpZwYNar 5GaORmDhFDH4u12H2CG9t83ZlREuUNJyTfDHVUxiVToNPHCQPnfjHshRelRYusYzUZQ 29H6iDnBuTMEudRKRRbUWxpiYw= Received: from anthesphoria.net (adsl-198-212.eunet.yu [213.198.198.212]) (authenticated bits=0) by anthesphoria.net (8.14.2/8.14.2) with ESMTP id m049tVqT084000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Jan 2008 10:55:35 +0100 (CET) (envelope-from nikola.lecic@anthesphoria.net) Date: Fri, 4 Jan 2008 10:55:25 +0100 From: Nikola =?UTF-8?B?TGXEjWnEhw==?= To: Ben Williams Message-ID: <20080104105525.4c30df7e@anthesphoria.net> In-Reply-To: <477DDEA6.5080009@gmail.com> References: <477DDEA6.5080009@gmail.com> X-Mailer: Claws Mail 3.1.0 (GTK+ 2.12.3; i386-portbld-freebsd6.2) X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] X-Operating-System: FreeBSD 6.2-RELEASE-p8 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-questions@FreeBSD.org Subject: Re: mount vs mount_msdosfs - invalid file mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2008 09:55:39 -0000 On Fri, 04 Jan 2008 17:52:14 +1030 Ben Williams wrote: [...]=20 > The one I want to mount is "drive". I can mount it properly with=20 > mount_msdosfs: >=20 > [root@roma /mnt]# mount_msdosfs -m 666 -M 777 /dev/ad3s1 /mnt/drive >=20 > But I'm not sure how to get mount to call mount_msdosfs with the > right params: >=20 > [root@roma /mnt]# mount -t msdosfs -v -o '-m 666 -M 777' /dev/ad3s1=20 > /mnt/drive > mount_msdosfs: invalid file mode: 666 -M 777 [...] Hello Ben, The right command would be: # mount -t msdosfs -v -o -m=3D666,-M=3D777 /dev/ad3s1 /mnt/drive According to mount(8) manpage: Any additional options specific to a file system type that is not one of the internally known types (see the -t option) may be passed as a comma separated list; these options are distinguished by a leading ``-'' (dash). Options that take a value are speci- fied using the syntax -option=3Dvalue.=20 > This is on FreeBSD 6.2-RELEASE. I'm a bit of a newbie - this is my > first FreeBSD install :) Welcome! :-) --=20 Nikola Le=C4=8Di=C4=87 :: =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0 =D0=9B=D0=B5= =D1=87=D0=B8=D1=9B