• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kfloppy

format.h File Reference


Detailed Description

This file defines a hierarchy of classes that can run a sequence of external programs (like fdformat, mkisofs, etc.

) in sequence. Stdout and stderr of those programs can be captured and analyzed in order to provide feedback to the user.

  • KFAction: Base class, just for performing some action.
  • KFActionQueue: Provides sequencing of KFActions
  • FloppyAction: Weird name; handles running a program, understands FD device names. This can be considered the "useful" base class of programming actions.
  • FDFormat: Runs fdformat(1) under BSD or Linux.
  • FATFilesystem: Creates an msdos (FAT) filesystem.
  • Ext2Filesystem: Creates ext2 filesystems.
  • MinixFilesystem: Creates Minix filesystems, under Linux.
  • UFSFilesystem: Creates UFS filesystem, under BSD.

Note:
Maybe this is overkill, since for floppies all you need is fdformat(1) and some create-filesystem program like newfs(1) or mke2fs(1). However, for Zip disks, should they ever be supported, this is quite useful since you need to dd, fdisk, disklabel, and newfs them.

Definition in file format.h.

#include "debug.h"
#include <QObject>

Include dependency graph for format.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  KFAction
 Abstract base class of actions to be undertaken. More...
class  KFActionQueue
 Acts as a queue and executes the actions in the queue in FIFO order. More...
struct  fdinfo
 Description structure for floppy devices. More...
class  FloppyAction
 Concrete action for running a single external program. More...
class  FDFormat
 Concrete class that runs fdformat(1). More...
class  DDZeroOut
 Zero out disk by runnind dd(1). More...
class  FATFilesystem
 Create an msdos (FAT) filesystem on the floppy. More...
class  Ext2Filesystem
 Format with Ext2. More...

Functions

QString findExecutable (const QString &)

Function Documentation

QString findExecutable ( const QString &   ) 

Utility function that looks for executables in $PATH and in /sbin and /usr/sbin.

Definition at line 38 of file format.cpp.

kfloppy

Skip menu "kfloppy"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal