can't use mdir/mcopy/... with linux

can't use mdir/mcopy/... with linux

Post by Huy C » Wed, 11 Jan 1995 15:43:23



I'm having problems reading DOS formated floppies on my system.  I have
linux 1.1.59.  When I put a DOS formatted disk into my 3.5" floppy (A: drive
in DOS) and type 'mdir', I get this error:

init: open "/dev/fd0": Permission denied

Did the floppy not get mounted somehow?  If not, how do I set it up so that
I don't have to mount it each time I need to use it?

Please reply by e-mail and post if possible.
THanks, Huy
--

School of Electrical and Computer Engineering      
Georgia Institute of Technology  
http://www.ee.gatech.edu/users/cat/

 
 
 

can't use mdir/mcopy/... with linux

Post by Bill Yo » Wed, 11 Jan 1995 23:09:30




>I'm having problems reading DOS formated floppies on my system.  I have
>linux 1.1.59.  When I put a DOS formatted disk into my 3.5" floppy (A: drive
>in DOS) and type 'mdir', I get this error:

>init: open "/dev/fd0": Permission denied

I saw this once with a kernel update (or system update, I forget
which) but anyway, the fix was to chmod 777 /dev/fd0 (login as root
first).

Bill
--
William York


 
 
 

can't use mdir/mcopy/... with linux

Post by Joe Slo » Thu, 12 Jan 1995 04:36:56






>>I'm having problems reading DOS formated floppies on my system.  I have
>>linux 1.1.59.  When I put a DOS formatted disk into my 3.5" floppy (A: drive
>>in DOS) and type 'mdir', I get this error:

>>init: open "/dev/fd0": Permission denied

>I saw this once with a kernel update (or system update, I forget
>which) but anyway, the fix was to chmod 777 /dev/fd0 (login as root
>first).

I saw the problem as well, but I didn't want just anybody to be able
to log in and trash whatever I had in the floppy drive!

1. I created a floppy group, composed of such folk as had legitimate
   use for reading/writing the floppies.

2. I changed the ownerships of the /dev/fd* to root.floppy, with
   read write permissions for user and group.

This gives access to the right people, but keeps random users from
throwing a monkey wrench into the works....

just my $.02...

jjs

--

 A linux machine! because a 486    / ACCELERATE your Windoze NT box?
 is a terrible thing to waste!     / -9.8 m/s^2 works quite well!!!

 
 
 

can't use mdir/mcopy/... with linux

Post by Dave Allen, Network Engine » Thu, 12 Jan 1995 06:56:08



>I'm having problems reading DOS formated floppies on my system.  I have
>linux 1.1.59.  When I put a DOS formatted disk into my 3.5" floppy (A: drive
>in DOS) and type 'mdir', I get this error:

>init: open "/dev/fd0": Permission denied

>Did the floppy not get mounted somehow?  If not, how do I set it up so that
>I don't have to mount it each time I need to use it?

My way is as below:

create a mount point in the root directory eg mkdir  /flopdos

edit your /etc/fstab file to include the following:

/dev/fd0   /flopdos    msdos   user,noauto,rw     # for manual mounting

/dev/fd0  /flopdos     msdos   user,auto,rw       # for auto mount at boot

I don not use automounting for flopy's as they are not used on a regular
basis so I do not know what happens if you boot without a disc in the drive.

I think the file as read at bootup so reboot and from then on to access
a dos formatted floppy simply:    mount /flopdos

DO NOT FORGET TO umount /flopdos when you have finished using each disc.

Hopefully this will help

---------------------------------------------------------------------------
Dave Allen, Network Engineer    NZ Dairy Group of Companies
                                Hamilton,
                                New Zealand

        Telephone               64-07-8398-071
---------------------------------------------------------------------------

 
 
 

1. mcopy/mdir for FreeBSD

I am trying to locate the mcopy and mdir programs for FeeBSD. Are they
available? Where?

I would like to be able to copy MSDOS files to my FreeBSD laptop, but when
the disk isDOS formatted I cannot mount it (mount: /dev/fd0c on /mnt/floppy:
incorrect super block) to copy the files over. On BSDi UNIX they have
several commands that allow you to access floppies that are DOS formatted.
Just wondering if there were any similar programs available in FreeBSD.

Any directions to the requested programs, or other suitable means of
accessing my DOS Floppies would be greatly appreciated.

Thanks
Brian A Kee

2. Problem w/ RedHat, Ethernet & DHCP

3. Is there a dos package on solaris to use mdir/mcopy...

4. Help, Screen locked

5. No 'mdir' after ftape afio operations ??

6. FAQ: SCO Unix Books

7. It's not bad canned meat...

8. Solaris 10 Patch Access Policy Change

9. mcopy didn't work in Red Hat until `# chmod o+w /dev/fd0'

10. Problem reading floppy using mcopy

11. mcopy won't read msdos drive

12. mcopy -t doesn't get rid of DOS end-of-file