From owner-freebsd-newbies Wed Apr 8 03:24:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA08201 for freebsd-newbies-outgoing; Wed, 8 Apr 1998 03:24:24 -0700 (PDT) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from muswell.demon.co.uk (muswell.demon.co.uk [158.152.10.120]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA08196 for ; Wed, 8 Apr 1998 03:24:17 -0700 (PDT) (envelope-from ruth@muswell.demon.co.uk) Received: (from ruth@localhost) by muswell.demon.co.uk (8.8.7/8.6.12) id LAA04240; Wed, 8 Apr 1998 11:15:45 +0100 (BST) Date: Wed, 8 Apr 1998 11:15:45 +0100 (BST) Message-Id: <199804081015.LAA04240@muswell.demon.co.uk> From: ruth moulton MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: David Wolfskill Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: mounting floppy file systems In-Reply-To: <199804080158.SAA29024@pau-amma.whistle.com> References: <199804080158.SAA29024@pau-amma.whistle.com> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Cc: ruth@muswell.demon.co.uk Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi - I mount dos file systems in yet another way!: I use the application mount_msdos(8), I happen to have set up some aliases (rather than use /etc/fstab - no good reason for doing it this way) because I use it so frequently: dosfdmount='mount_msdos /dev/fd0 /u/ruth/dos' dossd0mount='mount_msdos /dev/sd0s1 /u/ruth/dos' dossd1mount='mount_msdos /dev/sd1s1 /u/ruth/dos' and I have the directory 'dos' created in my home directory '/u/ruth' mount_msdos has file permissions r_sr_xr_x, owned by root, i.e. it is a 'set uid' program - it takes on the permissions of its owner (root) while running. Some people consider these set uid programs security risks. (ls -l /sbin/mount_msdos to see for yourself) So I have no need to become root first (su or whatever). I find it useful because I also run windows on this machine (the one with freebsd on it), so this allows me to share file systems between the two systems (dossd0mount and dossd1mount). The other command (dosfdmount) I use for floppies. Folks may start to flame my particular arrangement of doing things, all I wanted to do was show another way, not say this is the best I find things are ok 99% of the time, but sometimes I've ended up with files that windows (dos) can't see properly, and thus can't delete. Since I don't care too much about my windows system I live with this Ruth -- ================================================ Ruth Moulton ruth@muswell.demon.co.uk Consultant 65 Tetherdown, London N.10 1NH, UK Tel:+44 181 883 5823 -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message