[WBEL-users] Diskette drive problems

Conor Wynne weeboy@conorwynne.com
Thu, 28 Oct 2004 21:50:59 +0100


--=-ZA8Vzlv+aoTMq/eJOtBE
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2004-10-28 at 13:59, Robert Moskowitz wrote:
> At 06:17 PM 10/27/2004, Conor Wynne wrote:
>=20
>=20
> >dmesg |grep floppy
> >
> >Put diskette into drive which contains files
> ># mount /dev/fd0 (any errors?)
>=20
> no, and floppy icon appeared.
>=20
> ># mount         (check its mounted)
> >ls -l /mnt/floppy
> >any files on it?
>=20
> yes.

So its likely OK. try booting off a floppy diskette to be sure.=20

>=20
> I used the icon's eject, removed the floppy and put in an empty, formatte=
d=20
> floppy.
>=20
> mount
>=20
> did not show the floppy.  I did the mount /dev/fd0
> the icon appeared, but since I got an error on the mount
>=20
> dev/fd0:  Invalid Arguement
>=20
> I could not tell if the icon appeared before I completed rerunning mount =
or=20
> as a result of the mount.
>=20
> I am now copying files to the diskette.  Further testing is needed to see=
=20
> if the auto mount is now working.  Or perhaps someone can tell me how to=20
> look for the automount....

You can configure autofs by editing two files.
Here is mine - SUN JDS2 based, but it works the same way:

daddy@snowwhite:~> cat /etc/auto.master
# $Id: auto.master,v 1.1 2001/04/17 11:43:02 arvin Exp arvin $

/misc           /etc/auto.misc
=20
daddy@snowwhite:~> cat /etc/auto.misc
# $Id: auto.misc,v 1.1 2001/04/17 11:43:02 arvin Exp arvin $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
=20
camera          -fstype=3Dauto,rw         :/dev/sda1
usbkey          -fstype=3Dauto,rw         :/dev/sda1
share          	-fstype=3Dnfs,rw,nosync   p3000:/home/share
lucky           -fstype=3Dnfs,rw,nosync   p3000:/var/Stuff/duke
=20
cdrom          	-fstype=3Dauto,ro         :/dev/cdrom
floppy         	-fstype=3Dauto,sync       :/dev/fd0

Save & exit, then=20

# service autofs restart
# chkconfig autofs on

Then simply cd to /misc/floppy and it will mount the volume.
If you wish to cd normal user, add appropriate entries into /etc/fstab.
Hint: "user".=20
$ man fstab (for examples)

--=20
Conor Wynne
Dublin,
Irlande.

GPG Key: http://www.conorwynne.com/gpg-key

--=-ZA8Vzlv+aoTMq/eJOtBE
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQBBgVuzTlURc8L++sIRAgZkAJ9vtOG/WcikHlOVNux6Gq/g/wdy8gCbBWvz
ZrYRE7RQ4an2kuJCh8M0xhM=
=aY1E
-----END PGP SIGNATURE-----

--=-ZA8Vzlv+aoTMq/eJOtBE--