From owner-freebsd-questions Fri Feb 18 12:40:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fb01.eng00.mindspring.net (fb01.eng00.mindspring.net [207.69.229.19]) by hub.freebsd.org (Postfix) with ESMTP id 944C937BA5E for ; Fri, 18 Feb 2000 12:40:11 -0800 (PST) (envelope-from moonr@mindspring.com) Received: from user-38lc677.dialup.mindspring.com (user-38lc677.dialup.mindspring.com [209.86.24.231]) by fb01.eng00.mindspring.net (8.9.3/8.8.5) with ESMTP id PAA09133; Fri, 18 Feb 2000 15:39:40 -0500 (EST) Date: Fri, 18 Feb 2000 14:40:46 -0600 (CST) From: "Robert E. Moon" X-Sender: moonr@marina To: Kaoutar El Maghraoui <961TA56794@stud.alakhawayn.ma> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: problems mouting the floppy and cdrom In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As root: # mount -t msdos /dev/fd0 /mnt If this works, but it won't mount for non-priveledged user: (as root): # chmod 777 /dev/fd0 # sysctl -w vfs.usermount=1 Make sure the non-priv user owns the directory trying to mount under. If it works now, chmod 777 on your cdrom as well. If it's ISO9660 (CD9660) fs, should mount w/o the -t argument, since by default it should be listed in /etc/fstab. If all this is the solution to your prob and you want it to automatically enable usermount at each boot: # echo "sysctl -w vfs.usermount=1" >> /etc/rc.sysctl Hope that helped. Good luck, REM On Fri, 18 Feb 2000, Kaoutar El Maghraoui wrote: > I have just installed FreeBSD. When tried to mount the floppy using this > command: mount /dev/fd0a /mnt I get a error message saying that mount is > not pemitted and that my disk is dirty. I runned fsck, however I still > have the same problem. I tried the same thig with the cdrom however I > always get the same problem. Does any body have an idea how I can solve > this problem. > thanks > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message