LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   saving html text to floppy (https://www.linuxquestions.org/questions/linux-general-1/saving-html-text-to-floppy-16477/)

jamaso 03-17-2002 05:52 PM

saving html text to floppy
 
How can i save html text files to a floppy disk ? I tried to mount the floppy ( mount /mnt/floppy) but i get :
Quote:

Mount:wrong fs type , bad option, bad superblock on /dev/fd0 or too many mounted file systems
I already saved the data on mnt/floppy directory . I read some threads and someone was asking if the floppy was already formated .Can this be the problem ? Help please .

trickykid 03-17-2002 06:42 PM

did you format the floppy for linux, which probably cause less problems ??

try a:

mak2fs /dev/fd0

mount -t ext2 /dev/fd0 /mnt/floppy

it may differ as you most likely have /dev/floppy pointing to your /dev/fd0.. etc etc.. but formatting the floppy in linux, you can mount it with the ext2 or whatever filesystem type you format it as..

or if you didn't format it and it was dos formatted, you can mount it using that filesystem type..

-trickykid

jamaso 03-17-2002 06:57 PM

thanks
 
Forgot to say that i have mandrake installed for the time being .
The line you told me (mak2fs /dev/fd0) got me a command not found ( tried as root too) and the second one :
Quote:

Could not mount device. The reported error was: mount : /dev/fd0 already mounted or /mnt/floppy busy
Quote:

mount : according to mtab , /dev/fd0 is already mounted on /mnt/floppy
PS i need to save these texts on a floppy so that i can print it on a windows machine . Thanks a lot

linuxcool 03-18-2002 02:42 AM

First, you need to copy your data to a new location, because when you mount your floppy at /mnt/floppy, you won't be able to see your data. Next, make sure your floppy is formatted for msdos. Then try to mount it using
mount -t vfat /dev/fd0 /mnt/floppy.

Sixpax 03-18-2002 09:25 AM

I wouldnt even bother worrying about mounting it.

To format: mformat a:
To list the contents: mdir a:
To copy files to it: mcopy /local_dir/file1.html a:

That way you're sure you can use it on a Windoze box too.

Pretty simple actually.


All times are GMT -5. The time now is 06:13 PM.