From owner-freebsd-questions Sun Jun 4 22:55: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from theory1.physics.iisc.ernet.in (theory1.physics.iisc.ernet.in [144.16.71.20]) by hub.freebsd.org (Postfix) with SMTP id 4116737BC70 for ; Sun, 4 Jun 2000 22:54:57 -0700 (PDT) (envelope-from rsidd@physics.iisc.ernet.in) Received: (qmail 49700 invoked from network); 5 Jun 2000 05:54:44 -0000 Received: from theory7.physics.iisc.ernet.in (qmailr@144.16.71.127) by theory1.physics.iisc.ernet.in with SMTP; 5 Jun 2000 05:54:44 -0000 Received: (qmail 29714 invoked by uid 211); 5 Jun 2000 05:54:41 -0000 Date: Mon, 5 Jun 2000 11:24:41 +0530 From: Rahul Siddharthan To: Marc Silver Cc: Tyler Spivey , freebsd-questions@FreeBSD.ORG, freebsd-doc@freebsd.org Subject: User-mounting floppies (was Re: stupid questions) Message-ID: <20000605112441.B29284@physics.iisc.ernet.in> Mail-Followup-To: Marc Silver , Tyler Spivey , freebsd-questions@FreeBSD.ORG, freebsd-doc@freebsd.org References: <200006050203.TAA14925@viper.wapvi.bc.ca> <20000605073455.L50166@draenor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000605073455.L50166@draenor.org>; from marcs@draenor.org on Mon, Jun 05, 2000 at 07:34:55AM +0200 X-Operating-System: Linux 2.2.14 alpha X-Question: Do you enjoy reading pointless headers? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Marc Silver said on Jun 5, 2000 at 07:34:55: > I believe the answer to your question is: > > 1) The index can be found at > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.0-release/INDEX > (for example if you want the package index for 4.0) > > 2) man mount :) > > The command would be something like "mount -t msdos /dev/fd0 /mnt/" This command works only if you're root, though. What happens if you don't want to be root every time you use a floppy? I received the following answer from someone some time back. Since it gets asked pretty often, I think it deserves to be in the FAQ, and if there's nothing terribly dangerous about it, here it is for possible inclusion: (1) As root, change the permissions on the floppy device (/dev/fd0 or whatever) to allow reads/writes by users. (2) As root, set the sysctl vfs.usermount to 1 (3) As ordinary user, create a mount point within your home directory. ie, # chmod a+w /dev/fd0 # sysctl -w vfs.usermount=1 $ mkdir ~/floppy Then you should be able to mount with the following command: $ mount -t msdos /dev/fd0 ~/floppy Rahul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message