Solved

formating ext2 floppy

Posted on 1998-07-22
3
282 Views
Last Modified: 2013-12-15
This is probably a dumb question, but.
I just installed RedHat 4.2 and been playing with it..
I can mount a dos floppy..
But,I want to know how to setup an ext2 file system on a floppy.. or can you even do that..
also, is there a way to switch disketts without unmounting and remounting..
really easy questions..
0
Comment
Question by:Tinkerer
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
mikegrb earned 50 total points
ID: 1628476
1. To make an ext2 file system:
        # mkfs -t ext2 /dev/fd0
      # fsck -f -y /dev/fd0 (recommended)
NOTE: I would not recommend this except for cases where the kernel does not have support for umsdos fs.
2. Switch disks w/o remounting:
        Nope, you may want to make a simple shell script to               execute after switching disks... aka something like:
#!/bin/sh
umount /dev/fd0
mount /dev/fd0 /floppy
        Assuming you are the only user on the system you could                 make this +SUID and owned by root so you don't have to su         -c '/usr/sbin/fswitch' every time you switch floppys
0
 
LVL 1

Expert Comment

by:mikegrb
ID: 1628477
sorry about the  formating
0
 

Author Comment

by:Tinkerer
ID: 1628478
mind if I ask what +SUID is?

and your saying just mount floppys as dos filesystems unless it's
not supported by the kernel?

and would that shell script be a text file like dos batch files?
I assume the permissions would have to be set to make it executable?

0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question