Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2006 18:49:54 +0200
From:      Tijl Coosemans <tijl@ulyssis.org>
To:        freebsd-stable@freebsd.org
Cc:        Evren Yurtesen <yurtesen@ispro.net.tr>
Subject:   Re: vfs.usermount seem to have no effect...
Message-ID:  <200606301849.59562.tijl@ulyssis.org>
In-Reply-To: <44A54EA2.3080504@ispro.net.tr>
References:  <44A54EA2.3080504@ispro.net.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1575722.6DSQCXhJPV
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Friday 30 June 2006 18:17, Evren Yurtesen wrote:
> I tried to let my user to mount floppy however it doesnt work...see
> below:
>
> %ls -al /dev/fd0
> crw-rw-rw-  1 root  operator    0,  98 Jun 30 18:22 /dev/fd0
> %ls -al /mnt
> total 4
> drwxrwxrwx   2 root  wheel  512 May  1  2005 .
> drwxr-xr-x  20 root  wheel  512 Jun 30 18:21 ..
> %mount /dev/fd0 /mnt
> mount: /dev/fd0: Operation not permitted
> %sysctl -a | grep vfs.usermount
> vfs.usermount: 1
> %uname -a
> FreeBSD perpetual.my.domain 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri Jun
> 23 20:07:07 EEST 2006
> yurtesen@perpetual.my.domain:/usr/obj/usr/src/sys/PERPETUAL  i386
> %
>
>
> The same problem exists for dos partitions etc. am I missing
> something here?

My first guess is that you don't have msdosfs loaded. You need msdosfs=20
either built into your kernel or loaded as a module before you can=20
mount msdos filesystems. Mount will try to load the module if it's not=20
available and will fail doing that with "Operation not permitted" when=20
not run as root.

--nextPart1575722.6DSQCXhJPV
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBEpVY3dMR2xnarec8RAgShAKCoeKAz+SLiO0QvijbPXkLZpDCwtgCfTH29
uQL78vF2JayjqGrFkADbIaU=
=9Yy7
-----END PGP SIGNATURE-----

--nextPart1575722.6DSQCXhJPV--



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