?
Solved

formating ext2 floppy

Posted on 1998-07-22
3
Medium Priority
?
293 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
mikegrb earned 200 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month8 days, 11 hours left to enroll

764 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