From owner-freebsd-questions Fri Jul 2 13: 1:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 988E215396 for ; Fri, 2 Jul 1999 13:01:52 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id <3DAYR00W>; Fri, 2 Jul 1999 16:01:49 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105A6E@site2s1> From: Christopher Michaels To: 'Greg Quinlan' , freebsd-questions@FreeBSD.ORG Subject: RE: Mount enhancement? Date: Fri, 2 Jul 1999 16:03:50 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ouch! that was rather harsh. > -----Original Message----- > From: Greg Quinlan [SMTP:greg@swlct.sthames.nhs.uk] > Sent: Friday, July 02, 1999 12:28 PM > To: freebsd-questions@FreeBSD.ORG > Subject: Re: Mount enhancement? > > No!!!! I do not mean "-t" > > ***** just ***** > mount /dev/fd0 /mnt > ***** just ***** > > What file system is /dev/fd0? (i here you say).... Who cares!! > > "mount" should be intelligent to know what the file system is (if it is > one > that is supported). > > Without "-t" > Not with a "-t" > No "-t" > Leave off the "-t" > Who wants a "-t" > > just "mount" > simply " mount " > > So the answer is: > -------------------------- cut here ----------------------------- > mv /sbin/mount /sbin/stupid_answers > cat < /sbin/mount > #!/bin/sh > [ $# = 2 ] && { > stupid_answers -t ufs $* 2> /dev/null || { > stupid_answers -t cd9660 $* 2> /dev/null || { > stupid_answers -t msdos $* 2> /dev/null || { > echo "mount: device type unknown" > } > } > } > } || stupid_answers $* > chmod a+rx /sbin/mount > -------------------------- cut here ----------------------------- > > mount /dev/fd0 /mnt > > (it worked!!!) > > FINE! > > Sorry how silly of me of me to ask for something so silly! }:| > > ps. I was taking about "SCO UNIX" > > Greg > > > ----- Original Message ----- > From: Ladavac Marino > To: 'Greg Quinlan' ; > > Sent: 02 July 1999 13:55 > Subject: RE: Mount enhancement? > > > > > -----Original Message----- > > > From: Greg Quinlan [SMTP:greg@swlct.sthames.nhs.uk] > > > Sent: Friday, July 02, 1999 12:49 PM > > > To: freebsd-questions@FreeBSD.ORG > > > Subject: Mount enhancement? > > > > > > Is there anyone that has any thoughts on making mount a single step? > > > > > > mount_msdos > > > mount_cd9960 > > > mount_ntfs > > > mount_ext2fs > > > > > > just > > > > > > mount > > > > > > Under another x86 Unix based OS they use just "mount" for all > > > filesystem and > > > device mounting, and determine the filesystem type using "dtype" (data > > > type), so instead of using a separate mount command for every hardware > > > device or filesystem, it is just "mount." > > [ML] you mean like > > mount -t ufs > > mount -t msdos > > mount -t cd9660 > > mount -t ntfs > > mount -t ext2fs > > > > except that they probably use SYSV -F instead of ours -t? > > > > man mount :) > > > > > (of course their are perhaps the odd exception) > > > > > > To achieve this a intermediate step to determine the data-type would > > > be > > > required then perhaps to call the appropriate mount command with the > > > command > > > line parameters. > > > > > > Has anyone got any thoughts? > > > > > > Greg > > > > > > (ps. please include me in the reply) > > > > > > > > > > > > > > > > > > > > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message