Re: mounting floppy with fs auto doest recognize vfat

2004-07-12 Thread Micha Feigin
On Mon, Jul 12, 2004 at 11:46:38AM -0600, CW Harris wrote:
> On Sat, Jul 10, 2004 at 05:54:30PM -0700, Karsten M. Self wrote:
> > on Sat, Jun 26, 2004 at 12:30:53PM +, Stephen Patterson ([EMAIL PROTECTED]) 
> > wrote:
> > > On Sat, 26 Jun 2004 13:10:04 +0200, Micha Feigin wrote:
> > > > When I try to mount a floppy with file system marked as auto in fstab
> > > > it does recognize vfat file system (disks from windows), I have to
> > > > specify vfat explicitly. Any way around that?
> > > 
> > > You can create /etc/filesystems, a text file with 1 filesystem per
> > > line. This indicates which order to attempt different filesystems for
> > > devices with fs-type auto.
> > 
> > ...and if you don't, you get autodetection in the order specified in
> > /proc/filesystems.  In which msdos (8.3) precedes vfat (long filename
> > support).
> 
> I think the order depends on your setup. msdos might always precede vfat
> if both compiled in kernel, but if they are modules the order depends on
> the order they are loaded (and if you only load vfat, msdos won't be in
> /proc/filesystems).

My problem apparently is that they are both modules and not loaded at
all (I depend on auto loading them) so they don't appear in
/proc/filesystems. The /etc/filesystems option should solve that
(didn't have the time to try yet).

> 
> > 
> > Peace.
> Indeed.
> 
> 
> 
> -- 
> Chris Harris <[EMAIL PROTECTED]>
> ---
> GNU/Linux --- The best things in life are free.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
>  
>  +++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mounting floppy with fs auto doest recognize vfat

2004-07-12 Thread CW Harris
On Sat, Jul 10, 2004 at 05:54:30PM -0700, Karsten M. Self wrote:
> on Sat, Jun 26, 2004 at 12:30:53PM +, Stephen Patterson ([EMAIL PROTECTED]) 
> wrote:
> > On Sat, 26 Jun 2004 13:10:04 +0200, Micha Feigin wrote:
> > > When I try to mount a floppy with file system marked as auto in fstab
> > > it does recognize vfat file system (disks from windows), I have to
> > > specify vfat explicitly. Any way around that?
> > 
> > You can create /etc/filesystems, a text file with 1 filesystem per
> > line. This indicates which order to attempt different filesystems for
> > devices with fs-type auto.
> 
> ...and if you don't, you get autodetection in the order specified in
> /proc/filesystems.  In which msdos (8.3) precedes vfat (long filename
> support).

I think the order depends on your setup. msdos might always precede vfat
if both compiled in kernel, but if they are modules the order depends on
the order they are loaded (and if you only load vfat, msdos won't be in
/proc/filesystems).

> 
> Peace.
Indeed.



-- 
Chris Harris <[EMAIL PROTECTED]>
---
GNU/Linux --- The best things in life are free.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mounting floppy with fs auto doest recognize vfat

2004-07-10 Thread Karsten M. Self
on Sat, Jun 26, 2004 at 12:30:53PM +, Stephen Patterson ([EMAIL PROTECTED]) wrote:
> On Sat, 26 Jun 2004 13:10:04 +0200, Micha Feigin wrote:
> > When I try to mount a floppy with file system marked as auto in fstab
> > it does recognize vfat file system (disks from windows), I have to
> > specify vfat explicitly. Any way around that?
> 
> You can create /etc/filesystems, a text file with 1 filesystem per
> line. This indicates which order to attempt different filesystems for
> devices with fs-type auto.

...and if you don't, you get autodetection in the order specified in
/proc/filesystems.  In which msdos (8.3) precedes vfat (long filename
support).

Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
Reject EU Software Patents! http://swpat.ffii.org/


signature.asc
Description: Digital signature


Re: mounting floppy with fs auto doest recognize vfat

2004-06-26 Thread Shawn Lamson
On Sat, June 26 at  1:36 PM EDT
Micha Feigin <[EMAIL PROTECTED]> wrote:

>When I try to mount a floppy with file system marked as auto in fstab
>it does recognize vfat file system (disks from windows), I have to
>specify vfat explicitly. Any way around that?
>
>

you use -t auto in the mount command?  According to the man page it will
read the superblock and/or compare with /proc/filesystems...

Shawn Lamson
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mounting floppy with fs auto doest recognize vfat

2004-06-26 Thread Stephen Patterson
On Sat, 26 Jun 2004 13:10:04 +0200, Micha Feigin wrote:
> When I try to mount a floppy with file system marked as auto in fstab
> it does recognize vfat file system (disks from windows), I have to
> specify vfat explicitly. Any way around that?

You can create /etc/filesystems, a text file with 1 filesystem per
line. This indicates which order to attempt different filesystems for
devices with fs-type auto.

-- 
Stephen Patterson http://patter.mine.nu/
[EMAIL PROTECTED]  remove SPAM to reply
Linux Counter No: 142831 GPG Public key: 252B8B37
Caution: breathing may be hazardous to your health.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mounting floppy with fs auto doest recognize vfat

2004-06-26 Thread Christophe Combelles
I don't know why, but it seems that the module vfat is not loaded automatically 
when invoking the mount command.

If you manually load vfat before mounting, "auto" will work.
The first workaround is to add "vfat" to /etc/modules
Micha Feigin a écrit :
When I try to mount a floppy with file system marked as auto in fstab
it does recognize vfat file system (disks from windows), I have to
specify vfat explicitly. Any way around that?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mounting floppy. Newbie #61

2001-12-29 Thread dman
On Sat, Dec 29, 2001 at 10:23:24PM +0200, Ian Balchin wrote:
| On Thu, Dec 27, 2001 at 11:13:32AM -0500, Brenda J. Butler wrote:
| > On Thu, Dec 27, 2001 at 03:12:54PM +0200, Ian Balchin wrote:
| > > 
| > > # mount -t msdos /dev/fd0 /floppy
| > > # mount -t ext2 /dev/fd0 /floppy
| > > # mount -t auto /dev/fdo /floppy
| >  ^
| > Make sure you typed zero and not "letter-Oh"...  I realise
| 
| oh ye of little faith
| 
| > I assume it was a msdos-formatted floppy?
| 
| Yes, can you in fact get any others?

Do you mean, "can you get another msdos-formatted floppy"?  You can do
this my simply formatting any floppy as 'msdos' format.

| If you put in a dos-formatted
| disk is it written to in msdos format or does the format refer only
| to the tracks and does Debian establish an ext2 file system on it by
| default?

Unix won't put a filesystem on a disk unless you tell it to
('man mkfs').  If you mount it as "msdos" then it is treated as msdos.
It is read and written to using the msdos format.  The same goes for
"vfat", "ext2", "minix", etc.  Note the difference between "msdos" and
"vfat" -- the former has only 8.3 filenames and the latter only works
with win32 systems (ie not DOS or Win3.1).  There is a little
problem/annoyance though.  By default if you use the 'auto' option,
msdos is found even when you have a vfat disk.  This is totally
functional, aside from the filename limitations.  To change the order
in which mount tries filesystems with the type "auto" create
/etc/filesystems with the following contents (adjust to suite taste) :

--
ext2
vfat
msdos
iso9660
--

(you don't need to list every filesystem type, just the ones you want
to control the order of).

| > I assume that you can read the floppy from a dos machine? 
| 
| No, I regret that it cannot do this, but I assumed this was because
| by now it had been turned into a linux disk with an ext2 file system

If you can't read the msdos/vfat disk on a MS system, then it means
the filesystem is destroyed.  Your only option now is to reformat the
disk and use it as a new one.

| If we can retrieve the info, great, if not, then it is all a
| learning experience.

An expert with the lowlevel details of disks and filesystems may be
able to recover some data from it, but those experts are not cheap
(nor am I one of them).

-D

-- 

A man of many companions may come to ruin,
but there is a friend that sticks closer than a brother.
Proverbs 18:24



Re: Mounting floppy. Newbie #61

2001-12-29 Thread Ian Balchin
On Thu, Dec 27, 2001 at 11:13:32AM -0500, Brenda J. Butler wrote:
> On Thu, Dec 27, 2001 at 03:12:54PM +0200, Ian Balchin wrote:
> > 
> > # mount -t msdos /dev/fd0 /floppy
> > # mount -t ext2 /dev/fd0 /floppy
> > # mount -t auto /dev/fdo /floppy
>  ^
> Make sure you typed zero and not "letter-Oh"...  I realise

oh ye of little faith

> I assume it was a msdos-formatted floppy?

Yes, can you in fact get any others? If you put in a dos-formatted disk is it 
written to in msdos format or does the format refer only to the tracks and does 
Debian establish an ext2 file system on it by default?


> I assume that you can read the floppy from a dos machine? 

No, I regret that it cannot do this, but I assumed this was because by now it 
had been turned into a linux disk with an ext2 file system

> I assume it is a 3.5", 1.4 Meg floppy?

Yes

> It would really help us diagnose the problem if you noted the
> error messages and sent them to us.

General failure reading drive A
Abort, Retry, Fail?

hephaestus:~# mount /dev/fd0 /floppy
[MS-DOS FS Rel. 12,FAT 16,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0x45,cs=1088,#f=78,fs=13166,fl=280840,ds=22508510,de=21061,data=22509836,se=21569,ts=1095978836,ls=17748,rc=0,fc=4294967295]
Transaction block size = 512
VFS: Can't find a valid MSDOS filesystem on dev 02:00.
mount: you must specify the filesystem type

hephaestus:~# mount -t ext2 /dev/fd0 /floppy
VFS: Can't find an ext2 filesystem on dev fd(2,0).
mount: wrong fs type, bad option, bad superblock on /dev/fd0,
   or too many mounted file systems


I think I am bolting the stable door after the horse has boldted, and there is 
another one about chasing a dead horse (or something like that)

If we can retrieve the info, great, if not, then it is all a learning 
experience.

Regards
Ian

> Of course you made sure the floppy was writable when you
> wrote it. 

It was in my "OK floppies" box and may have been reformatted under dos. The 
'no-write' tab was set for allowing writing.

> I guess you had no trouble mounting it before you
> wrote it. > 

No, it mounted fine

> Did you keep your /etc/fstab file?

I am not with you here. If you mean over the reinstall no, and if I had ??

>What does it say for the floppy mounting options?

/dev/fd0   /floppy   autodefaults,user,noauto   0   0



Re: Mounting floppy. Newbie #61

2001-12-29 Thread Nori Heikkinen
on Sat, 29 Dec 2001 12:43:26PM -0500, dman insinuated:
> On Sat, Dec 29, 2001 at 09:34:35AM +0200, Ian Balchin wrote:
> | OK, Pietro, Martin,
> | 
> | I use console mode, but always shut down via 'poweroff'. I likely removed 
> | the disc and put it safely in its box before not doing a sync or umount.
> | 
> | I could not have done it more wrong! lesson learnt.
> | 
> | Whatever that floppy can still not be mounted
> 
> It is likely that part of it was updated before you removed it, but
> not all of it.  As a result it is halfway in between 2 valid states,
> and as such does not contain a valid filesystem.  Put the disk in and
> mkfs -t vfat /dev/fd0
> to format it.  Obviously that will destroy any data that is currently
> on it, but it seems as though you can't get to it anyways.

before you give up ... and i'm sure you've tried this, but you didn't
list it in your attempts to mount it -- did you just try plain

mount /dev/fd0 /floppy 

with no file system type specified?  you never answered the question
as to whether or not it was msdos formatted, and since you tried
about 3 different types, that doesn't sound like you were sure of its
formatting.  

otherwise, oh well.  good luck,



<[EMAIL PROTECTED]>--
-http://www.sccs.swarthmore.edu/~nori/jnl/daily.html



Re: Mounting floppy. Newbie #61

2001-12-29 Thread dman
On Sat, Dec 29, 2001 at 09:34:35AM +0200, Ian Balchin wrote:
| OK, Pietro, Martin,
| 
| I use console mode, but always shut down via 'poweroff'. I likely removed 
| the disc and put it safely in its box before not doing a sync or umount.
| 
| I could not have done it more wrong! lesson learnt.
| 
| Whatever that floppy can still not be mounted

It is likely that part of it was updated before you removed it, but
not all of it.  As a result it is halfway in between 2 valid states,
and as such does not contain a valid filesystem.  Put the disk in and
mkfs -t vfat /dev/fd0
to format it.  Obviously that will destroy any data that is currently
on it, but it seems as though you can't get to it anyways.

-D

-- 

the nice thing about windoze is - it does not just crash,
it displays a dialog box and lets you press 'ok' first.



Re: Mounting floppy. Newbie #61

2001-12-29 Thread Pietro Cagnoni
> Whatever that floppy can still not be mounted

error message?

pietro.



Re: Mounting floppy. Newbie #61

2001-12-29 Thread Ian Balchin
OK, Pietro, Martin,

I use console mode, but always shut down via 'poweroff'. I likely removed 
the disc and put it safely in its box before not doing a sync or umount.

I could not have done it more wrong! lesson learnt.

Whatever that floppy can still not be mounted

Regards
Ian

On 28 Dec 2001, at 13:41, Pietro Cagnoni wrote:

> > HI, dman, Pietro, Jo-el, & Sam,
> > 
> > I definitely did not do a sync.  Maybe I did a umount, but probably not.
> > 
> > Why, when one shuts down via, say, poweroff, can unix not do that for you
> > in the course of closing things down?  It seems on of those things that
> > is going to get forgotten in a rush.
> 
> if by "closing things down" you mean shutting down the machine, unix
> does that (it happens correctly only if the floppy is still in the
> drive).
> 
> if you mean instead logging out, unix doesn't, because it's multiuser,
> and somebody else might need the mounted floppy.
> 
> what kind of user interface you use? gnome has a nice panel applet that
> allows you to mount/umount floppies with a single click, and makes
> things easier. kde must have something like that too. on the console,
> you have only mount and umount.
> 
> hope it helps.
> 
> pietro.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


   Ian Balchin
   --
   Fables Bookshop, 119 High Street, Grahamstown, 6139, South Africa
   email  [EMAIL PROTECTED] 
   Phone or Fax +27-(0)46-636-1525
   cell:  083-495-7353  sms [EMAIL PROTECTED]
   Founder Member Southern African Book Dealers Association
   http://www.imaginet.co.za/fables
   Thought for the day:
Advertising (n): the science of arresting the human
intelligence for long enough to get money from it.
-- Stephen Leacock.



Re: Mounting floppy. Newbie #61

2001-12-28 Thread Brenda J. Butler
On Thu, Dec 27, 2001 at 03:12:54PM +0200, Ian Balchin wrote:
> Hi,
> 
> I did a fresh install over the Xmas break.
> 
> Prior to this I saved all the various conf files to a floppy.
> 
> Now I cannot mount the floppy
> 
> # mount -t msdos /dev/fd0 /floppy
> # mount -t ext2 /dev/fd0 /floppy
> # mount -t auto /dev/fdo /floppy
 ^
Make sure you typed zero and not "letter-Oh"...  I realise
you are typing this in from memory but maybe just try it
one more time paying special attention to this.

One of my problems working on computers (or anything) is
that I end up trying every combination of commands and
options, *except* the right one - just one of those
"clumsy" people I guess.  I mean to try all the combinations
but from bad luck or clumsiness end up omitting the *one*
combination that would work.

> # mount /dev/fd0
> 
> I am away from the machine at present, so excuse my syntax from memory, 
> but notices relect such things as cannot find msdos file table, blocks 
>  lots of verbage, but no mounting.

I assume it was a msdos-formatted floppy?  I assume that you can
read the floppy from a dos machine?  I assume it is a 3.5",
1.4 Meg floppy?

It would really help us diagnose the problem if you noted the
error messages and sent them to us.

> I assume the disk has died. Is there anything that I should try.

Read it from a dos machine and see if you can find anything on
it.  Of course you made sure the floppy was writable when you
wrote it.  I guess you had no trouble mounting it before you
wrote it.  Did you keep your /etc/fstab file?  What does
it say for the floppy mounting options?

> I note that when you copy a file to /floppy it seems to be incredibly 
> quick.  Is it in fact written to the floppy at the same time as it 
> appears on /floppy ?

If it's the same as other unix filesystems, it might not be
written for up to 30 seconds.  I have no reason to suspect
it might be different.

-- 
[EMAIL PROTECTED]
Welcome to the GNU age!   http://www.gnu.org



Re: Mounting floppy. Newbie #61

2001-12-28 Thread Pietro Cagnoni
> HI, dman, Pietro, Jo-el, & Sam,
> 
> I definitely did not do a sync.  Maybe I did a umount, but probably not.
> 
> Why, when one shuts down via, say, poweroff, can unix not do that for you
> in the course of closing things down?  It seems on of those things that
> is going to get forgotten in a rush.

if by "closing things down" you mean shutting down the machine, unix
does that (it happens correctly only if the floppy is still in the
drive).

if you mean instead logging out, unix doesn't, because it's multiuser,
and somebody else might need the mounted floppy.

what kind of user interface you use? gnome has a nice panel applet that
allows you to mount/umount floppies with a single click, and makes
things easier. kde must have something like that too. on the console,
you have only mount and umount.

hope it helps.

pietro.



Re: Mounting floppy. Newbie #61

2001-12-28 Thread Martin Fluch



On Fri, 28 Dec 2001, Ian Balchin wrote:

> HI, dman, Pietro, Jo-el, & Sam,
> 
> I definitely did not do a sync.  Maybe I did a umount, but probably not.

A umount does sync the floppy or any disc...

> Why, when one shuts down via, say, poweroff, can unix not do that for
> you in the course of closing things down?  It seems on of those things
> that is going to get forgotten in a rush.

.. it does in /etc/rc0.d/S40umountfs 

> Regards
> Ian



Re: Mounting floppy. Newbie #61

2001-12-28 Thread Ian Balchin
HI, dman, Pietro, Jo-el, & Sam,

I definitely did not do a sync.  Maybe I did a umount, but probably not.

Why, when one shuts down via, say, poweroff, can unix not do that for you 
in the course of closing things down?  It seems on of those things that 
is going to get forgotten in a rush.

Regards
Ian

On 27 Dec 2001, at 13:14, dman wrote:

> On Thu, Dec 27, 2001 at 03:12:54PM +0200, Ian Balchin wrote:
> | Hi,
> | 
> | I did a fresh install over the Xmas break.
> | 
> | Prior to this I saved all the various conf files to a floppy.
> | 
> | Now I cannot mount the floppy
...

Ian Balchin
email  [EMAIL PROTECTED]
Tel or Fax:  +27-(0)46-636-1525
Home +27-(0)46-622-2474
cell  083-495-7353
Grahamstown, South Africa.




Re: Mounting floppy. Newbie #61

2001-12-27 Thread Sam Varghese
On Thu, Dec 27, 2001 at 03:12:54PM +0200, Ian Balchin wrote:

> # mount -t auto /dev/fdo /floppy

If this is really what you typed, then I hope you have
noticed that you have typed the letter 'o' instead of
zero.

Sam
-- 
(Sam Varghese)
http://www.gnubies.com
The dogs bark but the caravan passes. - ancient Arab proverb



Re: Mounting floppy. Newbie #61

2001-12-27 Thread dman
On Thu, Dec 27, 2001 at 03:12:54PM +0200, Ian Balchin wrote:
| Hi,
| 
| I did a fresh install over the Xmas break.
| 
| Prior to this I saved all the various conf files to a floppy.
| 
| Now I cannot mount the floppy
| 
| # mount -t msdos /dev/fd0 /floppy
| # mount -t ext2 /dev/fd0 /floppy
| # mount -t auto /dev/fdo /floppy
| # mount /dev/fd0
| 
| I am away from the machine at present, so excuse my syntax from memory, 
| but notices relect such things as cannot find msdos file table, blocks 
|  lots of verbage, but no mounting.
| 
| I assume the disk has died. Is there anything that I should try.

After running the mount command to mount the floppy you can run
'mount' (no arguments) to display the current mount table.  You should
see the disk listed there along with the correct filesystem type.

| I note that when you copy a file to /floppy it seems to be incredibly 
| quick.  Is it in fact written to the floppy at the same time as it 
| appears on /floppy ?

No.  As Jor-el said it is cached.  This is why killing the power of a
*nix system is much more devastating than on a DOS/windows system.  If
you either 'umount' the floppy or 'sync' you will see the drive light
blink as the data is actually written to the disk.  Always remember to
umount _before_ removing the disk!  Also remember to 'mount' before
writing to the disk!  Otherwise you are simply copying data to part of
your hard disk.  What I like to do is create a file named
" floppy not mounted" in /floppy so that if I do 'ls /floppy' without
the floppy mounted I see that "message".  You can also make /floppy
non-writable in which case you'll get errors if you try to copy data
to it before you have mounted the floppy disk.

-D

-- 

If your life is a hard drive,
Christ can be your backup.



Re: Mounting floppy. Newbie #61

2001-12-27 Thread Pietro Cagnoni
> > I note that when you copy a file to /floppy it seems to be incredibly
> > quick.  Is it in fact written to the floppy at the same time as it
> > appears on /floppy ?
> >
> Ian,
> 
> All I can say is "Ouch!". Unlike the DOS world, Unix in general,
> and Linux in particular, do not guarantee that data will be written to
> disk immediately after the in-memory copy of the disk blocks have been
> updated. Unixes, in general, cache such info, and typically write out to
> media (floppy disks, hard drives, etc) only when its efficient to do so.
> Thus, when you make drastic changes to the contents of a floppy disk, the
> in-memory copy of those disk blocks gets updated, and this happens quite
> fast. However, unless this copy is written out to the floppy itself, the
> changes will not be permanent.
> 
> There is a standard way that Unixes support to force the write to
> media. This is called the 'sync' command. If you had done 'sync' after
> changing the contents of your floppy, you would have seen that your system
> was writing to the floppy - which does take a significant amount of time.
> Given the symptoms you describe, I would guess that you didnt do a 'sync'
> before you popped the floppy disk, and thus your backups were never
> written to floppy before you popped out the drive.

the Right Thing to do is umount the floppy before pushing the eject
button.

pietro.



Re: Mounting floppy. Newbie #61

2001-12-27 Thread Jor-el
On Thu, 27 Dec 2001, Ian Balchin wrote:

> I note that when you copy a file to /floppy it seems to be incredibly 
> quick.  Is it in fact written to the floppy at the same time as it 
> appears on /floppy ?
> 
Ian,

All I can say is "Ouch!". Unlike the DOS world, Unix in general,
and Linux in particular, do not guarantee that data will be written to
disk immediately after the in-memory copy of the disk blocks have been
updated. Unixes, in general, cache such info, and typically write out to
media (floppy disks, hard drives, etc) only when its efficient to do so.
Thus, when you make drastic changes to the contents of a floppy disk, the
in-memory copy of those disk blocks gets updated, and this happens quite
fast. However, unless this copy is written out to the floppy itself, the
changes will not be permanent.

There is a standard way that Unixes support to force the write to
media. This is called the 'sync' command. If you had done 'sync' after
changing the contents of your floppy, you would have seen that your system
was writing to the floppy - which does take a significant amount of time.
Given the symptoms you describe, I would guess that you didnt do a 'sync'
before you popped the floppy disk, and thus your backups were never
written to floppy before you popped out the drive.

Regards,
Jor-el



RE: mounting floppy

2000-07-30 Thread CHEONG, Shu Yang \[Patrick\]
Have you tried insmod the autofs module before attempting the mount the said
RHL 6.2 floppy?

Patrick Cheong
Information Systems Assurance
Measat Broadcast Network Systems
E-mail: [EMAIL PROTECTED]
Visit us at: http://www.astro.com.my

> -Original Message-
> From: Dale Morris [SMTP:[EMAIL PROTECTED]
> Sent: Friday, July 28, 2000 12:57 PM
> To:   debian-user@lists.debian.org
> Subject:  mounting floppy
> 
> I'm trying to mount a floppy that I made with Redhat 6.2 system. It
> mounted on a previous install of potato, but I reinstalled and now  when I
> try to mount it I get the following  error message:
> [I cannot determine the file type and none was specified]
> This floppy has lots of stuff on it that I would like to use for
> configuration, such as .rc files and such. Any suggestions on what I've
> done wrong or how I can get it to mount?
> I superformatted a floppy (although I had to use the /sbin/mke2fs -c
> /dev/fd0 argument) and it mounts fine, as do msdos disks.
> thanks
> dale
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null



Re: mounting floppy

2000-07-29 Thread kmself
On Fri, Jul 28, 2000 at 10:58:34PM -0700, Dale Morris wrote:
> kmself@ix.netcom.com [EMAIL PROTECTED] wrote:
> > 
> > Try:
> >  
> > $ e2fsck /dev/fd0
> > $ dd if=/dev/fd0 bs=512 count=1 | od -c
> > 
> > ...not that I can read all the output, but there should be some 
> > signature ext2fs stuff in the first block of the disk.
> > 
> > ...and DON'T fsck up that second command or you'll overwrite something.
> > You want "if" (infile), not "of" (outfile) specified.
> here's the result:
> debian:~# e2fsck /dev/fd0
> e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
> Couldn't find ext2 superblock, trying backup blocks...
> e2fsck: Attempt to read block from filesystem resulted in short read while 
> trying to open /dev/fd0
> Could this be a zero-length partition?
> 
> debian:~# dd if=/dev/fd0 bs=512 count=1 | od -c
> 1+0 records in
> 1+0 records out
> 000   #   T   h   e   b   e   l   o   w   c   o   n   f

Someone's writing raw output to disk.  There is no filesystem, just raw
data.  How did you create the disk in the first place?

To read, try:

   $ dd if=/dev/fd0 of=somefile bs=1024 count=1440

...replacing "somefile" with appropriate path and filename.

...and then access your file with standard tools.  You'll probably find
that it's filled with ASCII nulls (\000) following some point.  I'm not
sure of good methods for pulling out the data from here, but you can
probably muck around with tools to get a good approximation.

What did you expect to find on the disk?

-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpSOhWS5Sc6e.pgp
Description: PGP signature


Re: mounting floppy

2000-07-29 Thread brian moore
On Fri, Jul 28, 2000 at 10:58:34PM -0700, Dale Morris wrote:
> kmself@ix.netcom.com [EMAIL PROTECTED] wrote:
> > 
> > Try:
> >  
> > $ e2fsck /dev/fd0
> > $ dd if=/dev/fd0 bs=512 count=1 | od -c
> > 
> > ...not that I can read all the output, but there should be some 
> > signature ext2fs stuff in the first block of the disk.
> > 
> > ...and DON'T fsck up that second command or you'll overwrite something.
> > You want "if" (infile), not "of" (outfile) specified.
> here's the result:
> debian:~# e2fsck /dev/fd0
> e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
> Couldn't find ext2 superblock, trying backup blocks...
> e2fsck: Attempt to read block from filesystem resulted in short read while 
> trying to open /dev/fd0
> Could this be a zero-length partition?
> 
> debian:~# dd if=/dev/fd0 bs=512 count=1 | od -c
> 1+0 records in
> 1+0 records out
> 000   #   T   h   e   b   e   l   o   w   c   o   n   f
> 020   i   g   v   a   r   i   a   b   l   e   i   n   f   o
> 040   i   s   f   r   o   m   s   e   c   t   i   o   n

It looks like this floppy doesn't have a file system on it like
someone made it with "cp filename /dev/fd0"

You can't mount such things.

-- 
Brian Moore   | Of course vi is God's editor.
  Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
  Usenet Vandal   |  for it to load on the seventh day.
  Netscum, Bane of Elves.



Re: mounting floppy

2000-07-29 Thread Dale Morris
kmself@ix.netcom.com [EMAIL PROTECTED] wrote:
> 
> Try:
>  
> $ e2fsck /dev/fd0
> $ dd if=/dev/fd0 bs=512 count=1 | od -c
> 
> ...not that I can read all the output, but there should be some 
> signature ext2fs stuff in the first block of the disk.
> 
> ...and DON'T fsck up that second command or you'll overwrite something.
> You want "if" (infile), not "of" (outfile) specified.
here's the result:
debian:~# e2fsck /dev/fd0
e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
Couldn't find ext2 superblock, trying backup blocks...
e2fsck: Attempt to read block from filesystem resulted in short read while 
trying to open /dev/fd0
Could this be a zero-length partition?

debian:~# dd if=/dev/fd0 bs=512 count=1 | od -c
1+0 records in
1+0 records out
000   #   T   h   e   b   e   l   o   w   c   o   n   f
020   i   g   v   a   r   i   a   b   l   e   i   n   f   o
040   i   s   f   r   o   m   s   e   c   t   i   o   n
060   6   o   f   t   h   e   M   u   t   t   m
100   a   n   u   a   l   .  \n   #   C   o   m   m   e   n   t
120   s   p   r   e   c   e   d   e   d   b   y   #   #
140   #   a   r   e   v   e   r   b   a   t   i   m   f
160   r   o   m   t   h   e   m   a   n   u   a   l   ,
200   c   o   m   m   e   n   t   s   p   r   e   c   e   d   e
220   d  \n   #   b   y   #   a   r   e   m   y
240   o   w   n   c   o   m   m   e   n   t   s   .  \n  \n   #
260   #   #   a   b   o   r   t   _   n   o   s   u   b   j   e
300   c   t  \n   #   #   #   T   y   p   e   :   q   u   a
320   d   o   p   t   i   o   n  \n   #   #   #   D   e   f   a
340   u   l   t   :   a   s   k   -   y   e   s  \n   #   #   #
360   I   f   s   e   t   t   o   y   e   s   ,
400   w   h   e   n   c   o   m   p   o   s   i   n   g   m
420   e   s   s   a   g   e   s   a   n   d   n   o   s
440   u   b   j   e   c   t   i   s   g   i   v   e   n
460   a   t   t   h   e  \n   #   #   #   s   u   b   j   e
500   c   t   p   r   o   m   p   t   ,   c   o   m   p   o
520   s   i   t   i   o   n   w   i   l   l   b   e   a
540   b   o   r   t   e   d   .   I   f   s   e   t   t
560   o   n   o   ,   c   o   m   p   o   s   i   n   g  \n
600   #   #   #   m   e   s   s   a   g   e   s   w   i   t
620   h   n   o   s   u   b   j   e   c   t   g   i   v
640   e   n   a   t   t   h   e   s   u   b   j   e   c
660   t   p   r   o   m   p   t   w   i   l   l   n   e
700   v   e   r   b   e  \n   #   #   #   a   b   o   r   t
720   e   d   .  \n   s   e   t   a   b   o   r   t   _   n   o
740   s   u   b   j   e   c   t   =   a   s   k   -   y   e   s  \n
760  \n   #   #   #   a   b   o   r   t   _   u   n   m   o   d
0001000

I hope this makes sense to you.. thanks for your help
dale



Re: mounting floppy

2000-07-29 Thread kmself
On Fri, Jul 28, 2000 at 10:17:39PM -0700, Dale Morris wrote:
> kmself@ix.netcom.com [EMAIL PROTECTED] wrote:
> > On Fri, Jul 28, 2000 at 08:38:39PM -0700, Dale Morris wrote:
> > > Moritz Schulte [EMAIL PROTECTED] wrote:
> > > > On Thu, Jul 27, 2000 at 09:57:12PM -0700, Dale Morris wrote:
> > > > 
> > > > > I'm trying to mount a floppy that I made with Redhat 6.2 system. It
> > > > > mounted on a previous install of potato, but I reinstalled and now
> > > > > when I try to mount it I get the following error message: [I cannot
> > > > > determine the file type and none was specified]
> > > > 
> > > > which filesystem has this floppy? which filesystem does /dev/fd0 have
> > > > in /etc/fstab? can you mount the floppy with 'mount -t  /dev/fd0
> > > > /floppy'?
> > > This floppy is formatted ext2 filesystem and when I try to mount it with 
> > > the above command I receive the following message:
> > > 
> > > debian:/home/dlm# mount -t ext2 /dev/fd0/floppy
> >   ^^^
> > 
> > You need to leave a space between the device and the mount point:
> > 
> >$ mount -t ext2 /dev/fd0/floppy
> 
> Still doesn't work. Here's the output of that command:
> debian:/home/dlm# mount -t ext2 /dev/fd0/floppy
> mount: wrong fs type, bad option, bad superblock on /dev/fd0,
>or too many mounted file systems

Try:
 
$ e2fsck /dev/fd0
$ dd if=/dev/fd0 bs=512 count=1 | od -c

...not that I can read all the output, but there should be some 
signature ext2fs stuff in the first block of the disk.

...and DON'T fsck up that second command or you'll overwrite something.
You want "if" (infile), not "of" (outfile) specified.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpEwXfvqI4lk.pgp
Description: PGP signature


Re: mounting floppy

2000-07-29 Thread Dale Morris
kmself@ix.netcom.com [EMAIL PROTECTED] wrote:
> On Fri, Jul 28, 2000 at 08:38:39PM -0700, Dale Morris wrote:
> > Moritz Schulte [EMAIL PROTECTED] wrote:
> > > On Thu, Jul 27, 2000 at 09:57:12PM -0700, Dale Morris wrote:
> > > 
> > > > I'm trying to mount a floppy that I made with Redhat 6.2 system. It
> > > > mounted on a previous install of potato, but I reinstalled and now
> > > > when I try to mount it I get the following error message: [I cannot
> > > > determine the file type and none was specified]
> > > 
> > > which filesystem has this floppy? which filesystem does /dev/fd0 have
> > > in /etc/fstab? can you mount the floppy with 'mount -t  /dev/fd0
> > > /floppy'?
> > This floppy is formatted ext2 filesystem and when I try to mount it with 
> > the above command I receive the following message:
> > 
> > debian:/home/dlm# mount -t ext2 /dev/fd0/floppy
>   ^^^
> 
> You need to leave a space between the device and the mount point:
> 
>$ mount -t ext2 /dev/fd0/floppy

Still doesn't work. Here's the output of that command:
debian:/home/dlm# mount -t ext2 /dev/fd0/floppy
mount: wrong fs type, bad option, bad superblock on /dev/fd0,
   or too many mounted file systems

dale



Re: mounting floppy

2000-07-29 Thread kmself
On Fri, Jul 28, 2000 at 08:38:39PM -0700, Dale Morris wrote:
> Moritz Schulte [EMAIL PROTECTED] wrote:
> > On Thu, Jul 27, 2000 at 09:57:12PM -0700, Dale Morris wrote:
> > 
> > > I'm trying to mount a floppy that I made with Redhat 6.2 system. It
> > > mounted on a previous install of potato, but I reinstalled and now
> > > when I try to mount it I get the following error message: [I cannot
> > > determine the file type and none was specified]
> > 
> > which filesystem has this floppy? which filesystem does /dev/fd0 have
> > in /etc/fstab? can you mount the floppy with 'mount -t  /dev/fd0
> > /floppy'?
> This floppy is formatted ext2 filesystem and when I try to mount it with the 
> above command I receive the following message:
> 
> debian:/home/dlm# mount -t ext2 /dev/fd0/floppy
  ^^^

You need to leave a space between the device and the mount point:

   $ mount -t ext2 /dev/fd0/floppy

...if that wasn't just a typo.


-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpJejNQ0KhTY.pgp
Description: PGP signature


Re: mounting floppy

2000-07-28 Thread Dale Morris
Moritz Schulte [EMAIL PROTECTED] wrote:
> On Thu, Jul 27, 2000 at 09:57:12PM -0700, Dale Morris wrote:
> 
> > I'm trying to mount a floppy that I made with Redhat 6.2 system. It
> > mounted on a previous install of potato, but I reinstalled and now
> > when I try to mount it I get the following error message: [I cannot
> > determine the file type and none was specified]
> 
> which filesystem has this floppy? which filesystem does /dev/fd0 have
> in /etc/fstab? can you mount the floppy with 'mount -t  /dev/fd0
> /floppy'?
This floppy is formatted ext2 filesystem and when I try to mount it with the 
above command I receive the following message:

debian:/home/dlm# mount -t ext2 /dev/fd0/floppy
Usage: mount [-hV]
   mount -a [-nfFrsvw] [-t vfstypes]
   mount [-nfrsvw] [-o options] special | node
   mount [-nfrsvw] [-t vfstype] [-o options] special node
   A special device can be indicated by  -L label  or  -U uuid .
Here's the line in my fstab file for /dev/fd0:
/dev/fd0/floppy autodefaults,user,noauto0   
0
I am able to mount other floppies, although I'm wondering if maybe I might have 
trashed the disk by removing it before unmounting it or something??

Well, thanks for your time and assistance
cheers
dale



Re: mounting floppy

2000-07-28 Thread Moritz Schulte
On Thu, Jul 27, 2000 at 09:57:12PM -0700, Dale Morris wrote:

> I'm trying to mount a floppy that I made with Redhat 6.2 system. It
> mounted on a previous install of potato, but I reinstalled and now
> when I try to mount it I get the following error message: [I cannot
> determine the file type and none was specified]

which filesystem has this floppy? which filesystem does /dev/fd0 have
in /etc/fstab? can you mount the floppy with 'mount -t  /dev/fd0
/floppy'?

moritz
-- 
/* Moritz Schulte <[EMAIL PROTECTED]>
 * http://hp9001.fh-bielefeld.de/~moritz/
 * PGP-Key available, encrypted Mail is welcome.
 */



Re: Mounting Floppy

2000-06-23 Thread Eric G . Miller
On Sat, Jun 24, 2000 at 01:41:49PM -0700, Jay Kelly wrote:
> Hello Group,
> When I try to mount my floppy I use '/dev/fd0 /floppy' and receive
> 'you must specify filesystem type'. I am running Potato with kernel 
> 2.2.15. When I was running Slink I never got that. Is this from 
> upgrading to Potato or upgrading my kernel? How do I mount the 
> floppy now?
> Thanks for you help... 

Add to /etc/fstab:
/dev/fd0  /floppy  vfat   defaults,noauto,rw,user,unhide 0 0

Then:

$ mount /floppy

should be sufficient. Also there's the "auto" type, which need a file
named /etc/filesystems with a list of filesystem types to try.

See man mount

-- 
#! /bin/sh
echo 'Linux Must Die!' | wall
dd if=/dev/zero of=/vmlinuz bs=1 \
 count=`du -Lb /vmlinuz | awk '{ /^([0-9])+/ ; print $1 }'`
shutdown -r now



Re: mounting floppy disk

1999-04-19 Thread Jiri Baum
Hello,

"Jens B. Jorgensen":
> > This would seem to indicate your kernel lacks floppy drive support!?
> > What do you get from: 'cat /proc/devices | grep fd'?

Daniel González Gasull:
> Nothing.  :-( Here is my /proc/devices:
> 
> ---begin quoted text---
> 
> Character devices:
... 
> Block devices:
>  3 ide0
> ---end quoted text---
> 
> Please help.  TIA.

In the block devices, you need a line that starts with 2 (that's the same 2
you see when you do "ls -l /dev/fd0").

If you've recompiled your kernel recently, you probably forgot to include
floppy disk support. Just do "make config" again, and confirm everything
with Enter except answer "y" or "m" to the question about floppy disks.
Then recompile (make dep; make clean; ...).

(The option is called BLK_DEV_FD or "Normal floppy disk support".)

Alternatively, if you did answer "m", check that the module is being
loaded.


Jiri
-- 
<[EMAIL PROTECTED]>
We'll know the future has arrived when every mailer transparently
quotes lines that begin with "From ", but no-one remembers why.


Re: [Fwd: Re: mounting floppy disk]

1999-04-15 Thread David Wright
Quoting Daniel González Gasull ([EMAIL PROTECTED]):
> Hi all.
> 
> I'm re-sending this message, because I've got no response.  Please help me, or
> let me know where can I post this question.
> 
> Thank you in advance.
> 
> - Forwarded message from Daniel González Gasull <[EMAIL PROTECTED]> -
> 
> > Jiri Baum <[EMAIL PROTECTED]> wrote:
> > 
> > > Daniel Gonz_lez Gasull:
> > > > > I have problems mounting /dev/fd0:
> > > > >
> > > > > # mount -t msdos /dev/fd0 /mnt/floppy
> > > > > mount: the kernel does not recognize /dev/fd0 as a block 
> > > > > device
> > > > >(maybe `insmod driver'?)
> > > 
> > > Jens B. Jorgensen:
> > > > This would seem to indicate your kernel lacks floppy drive support!? 
> > > > What
> > > > do you get from: 'cat /proc/devices | grep fd'?

I thought I saw you post the output from cat /proc/devices
and it only had one line, "3 ide0", which means you have no
floppy support in your kernel. This would have showed up
as "2 fd". Possibly, no one pointed this out.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


[Fwd: Re: mounting floppy disk]

1999-04-15 Thread Daniel González Gasull
Hi all.

I'm re-sending this message, because I've got no response.  Please help me, or
let me know where can I post this question.

Thank you in advance.

- Forwarded message from Daniel González Gasull <[EMAIL PROTECTED]> -

> Jiri Baum <[EMAIL PROTECTED]> wrote:
> 
> > Daniel Gonz_lez Gasull:
> > > > I have problems mounting /dev/fd0:
> > > >
> > > > # mount -t msdos /dev/fd0 /mnt/floppy
> > > > mount: the kernel does not recognize /dev/fd0 as a block device
> > > >(maybe `insmod driver'?)
> > 
> > Jens B. Jorgensen:
> > > This would seem to indicate your kernel lacks floppy drive support!? What
> > > do you get from: 'cat /proc/devices | grep fd'?
> > 
> > And what do you get for 'ls -l /dev/fd0'?
> > 
> > I get:
> >   brw-rw   1 root floppy 2,   0 Apr 13 20:16 /dev/fd0
> > 
> > The important bits in that are the "b" at the beginning and the "2, 0" in
> > the middle.
> > 
> > You will get a different date and time - that's normal.
> 
> Then everything is OK:
> 
>   # ls -l /dev/fd0
>   brw-rw   1 root floppy 2,   0 oct 12  1997 /dev/fd0
> 
> Thanx in advance for your help.

- End forwarded message -


-- 
Daniel González Gasull   Signature  O O"A friend is a
mailto:[EMAIL PROTECTED]  under /\=,---.  T/\   present you give
PGP RSA key 1024/EEA93A69construction /\   `O'   U /\  yourself."
   -- Robert Louis
  Stevenson
 __
|  Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/  |
 ~~


Re: mounting floppy disk

1999-04-14 Thread Daniel González Gasull
Hi!

Jiri Baum <[EMAIL PROTECTED]> wrote:

> Daniel Gonz_lez Gasull:
> > > I have problems mounting /dev/fd0:
> > >
> > > # mount -t msdos /dev/fd0 /mnt/floppy
> > > mount: the kernel does not recognize /dev/fd0 as a block device
> > >(maybe `insmod driver'?)
> 
> Jens B. Jorgensen:
> > This would seem to indicate your kernel lacks floppy drive support!? What
> > do you get from: 'cat /proc/devices | grep fd'?
> 
> And what do you get for 'ls -l /dev/fd0'?
> 
> I get:
>   brw-rw   1 root floppy 2,   0 Apr 13 20:16 /dev/fd0
> 
> The important bits in that are the "b" at the beginning and the "2, 0" in
> the middle.
> 
> You will get a different date and time - that's normal.

Then everything is OK:

# ls -l /dev/fd0
brw-rw   1 root floppy 2,   0 oct 12  1997 /dev/fd0

Thanx in advance for your help.

-- 
Daniel González Gasull   Signature  O O"A friend is a
mailto:[EMAIL PROTECTED]  under /\=,---.  T/\   present you give
PGP RSA key 1024/EEA93A69construction /\   `O'   U /\  yourself."
   -- Robert Louis
  Stevenson
 __
|  Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/  |
 ~~


Re: mounting floppy disk

1999-04-14 Thread Daniel González Gasull
Hi!
On Mon, Apr 12, 1999 at 06:22:40PM -0500,
"Jens B. Jorgensen" <[EMAIL PROTECTED]> wrote:

> This would seem to indicate your kernel lacks floppy drive support!?
> What do you get from: 'cat /proc/devices | grep fd'?

Nothing.  :-( Here is my /proc/devices:

---begin quoted text---

Character devices:
 1 mem
 2 pty
 3 ttyp
 4 ttyp
 5 cua
 7 vcs

Block devices:
 3 ide0
---end quoted text---

Please help.  TIA.

> Daniel González Gasull wrote:
> 
> > Hi all.
> > I have problems mounting /dev/fd0:
> >
> > # mount -t msdos /dev/fd0 /mnt/floppy
> > mount: the kernel does not recognize /dev/fd0 as a block device
> >(maybe `insmod driver'?)

-- 
Daniel González Gasull   Signature  O O"A friend is a
mailto:[EMAIL PROTECTED]  under /\=,---.  T/\   present you give
PGP RSA key 1024/EEA93A69construction /\   `O'   U /\  yourself."
   -- Robert Louis
  Stevenson
 __
|  Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/  |
 ~~


Re: mounting floppy disk

1999-04-13 Thread Jiri Baum
Daniel Gonz_lez Gasull:
> > I have problems mounting /dev/fd0:
> >
> > # mount -t msdos /dev/fd0 /mnt/floppy
> > mount: the kernel does not recognize /dev/fd0 as a block device
> >(maybe `insmod driver'?)

Jens B. Jorgensen:
> This would seem to indicate your kernel lacks floppy drive support!? What
> do you get from: 'cat /proc/devices | grep fd'?

And what do you get for 'ls -l /dev/fd0'?

I get:
  brw-rw   1 root floppy 2,   0 Apr 13 20:16 /dev/fd0

The important bits in that are the "b" at the beginning and the "2, 0" in
the middle.

You will get a different date and time - that's normal.


Jiri
-- 
<[EMAIL PROTECTED]>
We'll know the future has arrived when every mailer transparently
quotes lines that begin with "From ", but no-one remembers why.


Re: mounting floppy disk

1999-04-12 Thread Jens B. Jorgensen
This would seem to indicate your kernel lacks floppy drive support!? What do 
you get
from: 'cat /proc/devices | grep fd'?

Daniel González Gasull wrote:

> Hi all.
> I have problems mounting /dev/fd0:
>
> # mount -t msdos /dev/fd0 /mnt/floppy
> mount: the kernel does not recognize /dev/fd0 as a block device
>(maybe `insmod driver'?)
>
> Any thoughts?  TIA.
>
> --
> Daniel González Gasull   Signature  O O"A friend is a
> mailto:[EMAIL PROTECTED]  under /\=,---.  T/\   present you give
> PGP RSA key 1024/EEA93A69construction /\   `O'   U /\  yourself."
>-- Robert Louis
>   Stevenson
>  __
> |  Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/  |
>  ~~
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

--
Jens B. Jorgensen
[EMAIL PROTECTED]



Re: mounting floppy to intsall packages

1998-10-10 Thread M.C. Vernon

> When I use the command to mount floppy:  mount /dev/fd0/mnt
> I get the msg from bash   :   cant find /dev/fd0/mnt in /etc/mtab or
> /etc/fstab

yes - /dev/fd0/mnt does not exist.

You need mount /dev/fd0 /mnt
   ^ this is important.
 
> Also, I am running two hard disks on  my system one of which has Win95 os
> and the second drive has Debian installed.  Is there a way in which I can
> read and work with the Win95 filesystem in Debian.  I know there are HOWTO's
> but when I type

zless is part of the gzip package:

This is in base: dists/stable/main/binary-i386/base/

(the exact name depends on whether you use stable or unstable - gzip
should tab-complete OK).
 
> I would really like to know whats going on.  I installed Debian 2.0 from the
> net and the basic installation seems to work ok.  But I wanted to read the
> manuals to learn more and discovered I needed the "man"packages  which I
> have now downloaded.  But I cant seem to install anything because I cant
> mount the floppy.  Is there a way to copy the files form WIN95 on the first
> disk where they were saved from the net.?

Should do - newer kernels support fat32. I don't know the flag for it
though.
 
> It would appear I cant use mcopy eitherCommand not found.

You need the mtools package. This is in otherosfs

HTH,

Matthew
-- 
Elen sila lumenn' omentielvo

Steward of the Cambridge Tolkien Society
Selwyn College Computer Support
http://www.geocities.com/Area51/Chamber/8841/
http://www.cam.ac.uk/CambUniv/Societies/tolkien/
http://pick.sel.cam.ac.uk/