From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,22f4916ac06472ea X-Google-Attributes: gidfee84,public From: Nikola Milutinovic Subject: Re: How to mount diskette drive Date: 1998/06/18 Message-ID: <3589744A.55E62F6B@EUnet.yu>#1/1 X-Deja-AN: 363961775 Content-Transfer-Encoding: 7bit References: <35892DAD.6C8065EF@ife.ee.ethz.ch> Content-Type: text/plain; charset=us-ascii Organization: Me organized? Not here! Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Tom Goessi wrote: > > Hi > > I wanted to mount the diskette drive so I gave the following command: > 'mount /dev/rfd0a floppy/' This should mount the diskette into the > directory > named 'floppy. But the system doesn't mount it and means I should block > this device. > How can I block a device? > I wanted to read from diskette with the mtools, which are in directory > /usr/bin/mtools/. Commands like mdir, mread and so on are placed in this > > directory. But if I start such a command, the system cannot find it. > Have I > to configure the mtools? > How can I access the diskette drive? A little spot of mess. 1. You can only mount devices with file systems recognized by the running kernel. See your /sys/conf/ file for that. CDFS = ISO 9660 UFS = Unix File System MFS = AdvFS NFS = Network File System 2. To mount a floppy, you have to build a file system on it first. Before that, you have to label it. disklabel -wr fd0 RX23 newfs /dev/rfd0c 3. Then you can mount it mount -t ufs /dev/fd0c /floppy 4. In order to use MTools, you need to make the following: ln -s /dev/fd0c /dev/fddrive PATH=$PATH:/usr/bin/mtools Nix.