summaryrefslogtreecommitdiff
path: root/sag-0.6.1-www/Invisible/sag-0.6/node52.html
diff options
context:
space:
mode:
Diffstat (limited to 'sag-0.6.1-www/Invisible/sag-0.6/node52.html')
-rw-r--r--sag-0.6.1-www/Invisible/sag-0.6/node52.html61
1 files changed, 61 insertions, 0 deletions
diff --git a/sag-0.6.1-www/Invisible/sag-0.6/node52.html b/sag-0.6.1-www/Invisible/sag-0.6/node52.html
new file mode 100644
index 0000000..2938b1b
--- /dev/null
+++ b/sag-0.6.1-www/Invisible/sag-0.6/node52.html
@@ -0,0 +1,61 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
+<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
+<HTML>
+<HEAD>
+<TITLE>Disks without filesystems</TITLE>
+<META NAME="description" CONTENT="Disks without filesystems">
+<META NAME="keywords" CONTENT="sag">
+<META NAME="resource-type" CONTENT="document">
+<META NAME="distribution" CONTENT="global">
+<LINK REL=STYLESHEET HREF="sag.css">
+</HEAD>
+<BODY LANG="EN" >
+ <A NAME="tex2html967" HREF="node53.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="./next_motif.gif"></A> <A NAME="tex2html965" HREF="node28.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="./up_motif.gif"></A> <A NAME="tex2html959" HREF="node51.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="./previous_motif.gif"></A> <A NAME="tex2html969" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="./contents_motif.gif"></A> <A NAME="tex2html970" HREF="node114.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="./index_motif.gif"></A> <BR>
+<B> Next:</B> <A NAME="tex2html968" HREF="node53.html">Allocating disk space</A>
+<B>Up:</B> <A NAME="tex2html966" HREF="node28.html">Using Disks and Other </A>
+<B> Previous:</B> <A NAME="tex2html960" HREF="node51.html">Other tools for the </A>
+<BR> <P>
+<H1><A NAME="SECTION00590000000000000000">Disks without filesystems</A></H1>
+<P>
+ Not all disks or partitions are used as filesystems. A swap
+ partition, for example, will not have a filesystem on it. Many
+ floppies are used in a tape-drive emulating fashion, so that
+ a <tt>tar</tt><A NAME="1766">&#160;</A> or other file is written directly on the raw disk,
+ without a filesystem. Linux boot floppies don't contain a
+ filesystem, only the raw kernel.
+<P>
+ Avoiding a filesystem has the advantage of making more of the
+ disk usable, since a filesystem always has some bookkeeping
+ overhead. It also makes the disks more easily compatible with
+ other systems: for example, the <tt>tar</tt><A NAME="1768">&#160;</A> file format is the same
+ on all systems, while filesystems are different on most systems.
+ You will quickly get used to disks without filesystems if you
+ need them. Bootable Linux floppies also do not necessarily have
+ a filesystem, although that is also possible.
+<P>
+ One reason to use raw disks is to make image copies of them.
+ For instance, if the disk contains a partially damaged filesystem,
+ it is a good idea to make an exact copy of it before trying to
+ fix it, since then you can start again if your fixing breaks things
+ even more. One way to do this is to use <tt>dd</tt><A NAME="1770">&#160;</A>:
+ <BLOCKQUOTE> <TT>
+<code>$</code> <I>dd if=/dev/fd0H1440 of=floppy-image</I> <BR>
+<code>2880+0 records in</code> <BR>
+<code>2880+0 records out</code> <BR>
+<code>$</code> <I>dd if=floppy-image of=/dev/fd0H1440 </I> <BR>
+<code>2880+0 records in</code> <BR>
+<code>2880+0 records out</code> <BR>
+<code>$</code>
+ </TT></BLOCKQUOTE>
+ The first <tt>dd</tt><A NAME="1772">&#160;</A> makes an exact image of the floppy to the file
+ <tt>floppy-image</tt><A NAME="1774">&#160;</A>, the second one writes the image to the floppy.
+ (The user has presumably switched the floppy before the second
+ command. Otherwise the command pair is of doubtful usefulness.)
+<P>
+<BR> <HR>
+<P><ADDRESS>
+<I>Lars Wirzenius <BR>
+Sat Nov 15 02:32:11 EET 1997</I>
+</ADDRESS>
+</BODY>
+</HTML>