Date: Wed, 8 Apr 1998 11:15:45 +0100 (BST) From: ruth moulton <ruth@muswell.demon.co.uk> To: David Wolfskill <dhw@whistle.com> Cc: ruth@muswell.demon.co.uk Subject: Re: mounting floppy file systems Message-ID: <199804081015.LAA04240@muswell.demon.co.uk> In-Reply-To: <199804080158.SAA29024@pau-amma.whistle.com> References: <199804080158.SAA29024@pau-amma.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804081015.LAA04240>