Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

formating ext2 floppy

Posted on 1998-07-22
3
Medium Priority
?
302 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

609 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