On Wed, 15 Jun 2005 01:54 pm, Voytek wrote:
> <quote who="James Gray">
>
> > On Wed, 15 Jun 2005 09:42 am, Voytek Eymont wrote:
> >> how do I asses %subject% (from remote acces)
> >
> > Assuming floppy access in /etc/fstab has the "user" option:
> > mount /dev/fd0
>
> thanks, James, Terry, Matthew
>
> # cat /etc/fstab
> ...snip...
> /dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu
> 0 0
>
> # mount /dev/fd0
> mount: /dev/fd0 is not a valid block device
>
> so, the 'mount: /dev/fd0 is not a valid block device' tells me there is no
> media in floppy drive, yes ?

Yes

> could it also signify unformatted floppy ?

Possibly - but you'd more likely get a message about invalid super-block, 
wrong filesystem or too many mounted filesystems, etc.

> (I amd doing a kernel update, hence, rebooting the machine, hence, I'd
> like to make sure it will boot from the hardrive, not, an inserted floppy,
> should there be one)

In that case try using "dd":

dd if=/dev/fd0 of=floppy.img

Then use a hex editor or "strings" to read floppy.img and see if you get 
anything useful.  Of course, if the server boots from floppy before it boots 
the hard drive, and there's *anything* in the floppy drive 
(formatted/bootable or otherwise) then you're screwed.  If you don't know, 
then wait until you can verify the floppy's status manually.

James
-- 
Dyslexia means never having to say that you're ysror.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to