Solved

formating ext2 floppy

Posted on 1998-07-22
3
279 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now