Operating System - HP-UX
1855733 Members
1539 Online
104103 Solutions
New Discussion

Mounting Floppy drive on HP-UX 11

 
SOLVED
Go to solution
Carlo Fernando
Occasional Contributor

Mounting Floppy drive on HP-UX 11

How do I mount a floppy drive on an HP-UX11 server. I tried the command;
# mount /dev/floppy/c0t1d0 /tmp/floppy

but an error showed which says;
unrecognizable file format

Any help is much appreciated. Thanks!

Carlo
4 REPLIES 4
eran maor
Honored Contributor
Solution

Re: Mounting Floppy drive on HP-UX 11

Hi

please first check this answer :
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x088eabe92dabd5118ff10090279cd0f9,00.html

or just do a search on mount floopy and you will find more answer .


you need to understand that first you init to do a init to the floppy and then you will need to create a filesystem on ther flopy to use it .

should be initialized like this :

mediainit -f16 /dev/rdsk/2s0

Create a new file system if the floppy drive needs to be mounted:

newfs -n /dev/rdsk/2s0 ibm1440 (use ibm720 for 720 kilobyte disks)

Mount the floppy drive to a known directory, (/tmp for this example):

mount /dev/dsk/2s0 /tmp

love computers
Michael Tully
Honored Contributor

Re: Mounting Floppy drive on HP-UX 11

Hi,

The follwing document from the Technical Knowledge Base should provide the answer.

HTH
~Michael~

Problem Description

How do I mount an A3307a floppy drive?

Configuration Info

Operating System - HP-UX
Version -10.20
Hardware System - HP 9000
Series -D220

Solution

You would mount the A3307a floppy drive by doing:

1. Check SAM ->
Kernel Configuration ->
Drivers

Name Current Pending
State State Description
fdc In In PC Floppy Controller Driver
pflop Out Out PC Floppy Driver

2. Highlight pflop Actions ->
Add Driver to Kernel

3. Regen

4. Reboot

5. Verify that there is a /floppy directory, if not make the
directory:

mkdir /floppy

6. Make sure the disk is in the drive:

mediainit -v -i2 -f16 /dev/rfloppy/c0t1d0

7. Force newfs to continue processing on the mounted file system:

newfs -F hfs /dev/rfloppy/c0t1d0

8. Execute the following:

mount /dev/floppy/c0t1d0 /floppy

9. Make sure you have the latest floppy patch. In this case it is:

PHKL_11911 s800 10.20 PC floppy data corruption cumulative patch.

Patches will be superseded by more recent versions, so load the more current version available.
Anyone for a Mutiny ?
Carlo Fernando
Occasional Contributor

Re: Mounting Floppy drive on HP-UX 11

Thanks for your reply!

The file system was already present and the drive was mounted already.
Maybe that is why we keep on getting an unrecognized format error.

I guess the problem was trying to copy the file to the disk. So I tried to use the ux2dos and doscp and it works already.

Thanks again!
Trond Haugen
Honored Contributor

Re: Mounting Floppy drive on HP-UX 11

If you did a doscp the FILESYSTEM wasn't mounted. The only filesystems you can mount are HFS anf VXFS. But for floppies DOS and LIF are also common formats. They are not accessed thru a mounted filesystem but rather the devicefile. This also explains why the mount fails.

As an example you don't do a 'ls /mountedfloppy' but 'dosls /dev/rdsk/floppy:' or 'lifls /dev/rdsk/floppy:'.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn