Emidio Planamente 's Homepage

Home GNU/Linux Programming Technology Sport Others Contact

Search

  Google linux


Debian

  Apt-get
  Debian Anatomy
  Debian Backports
  Debian Help
  Debian Planet
  Debian Swiss
  History of Debian
  Getdeb
  Kernel
  Kernel 2.6
  Packages
  Refcard for newbie
  Reference book
  SATA raid
  Weekly News


Official Docs

  Distrowatch
  Firewire
  Gimp
  Gimp Photo Archive
  Linuxdoc
  Linuxdoc Reference
  Linux Focus
  Linux From Scratch
  Linux Hacks
  Linux Hardware
  Linux Printing
  MySQL
  O'Reilly
  Rute
  Source Forge
  USB guide


Installation

  Instalinux
  Preseed


Laptop

  Linux on Laptops
  Linux Toshiba
  Tux Mobil


Live-CDs

  Create it Your self
  Knoppix
  Kororaa XGL 3


Pictures

  Bay13
  Gnomelook
  Kuznetsov


Security

  GNU/Linux
  PortsDB


Linux based product

  Dreambox


Free web service

  S5 presents


Against Micro$oft

  Combatti Micro$oft
  Microsuck


HTML validator CSS validator

 

Demo of "emifloppy"


Short demo about what can do the emifloppy package.


I first want to format a floppy at 1.7MB with:

user@host:~/tmp$ emifloppy -f /dev/fd0u1722
formatting /dev/fd0u1722 ...
Double-sided, 82 tracks, 21 sec/track. Total capacity 1722 kB.
Formatting ... done


Now, I want to create a fat filesystem and assign it the name "myfloppy" with:

user@host:~/tmp$ emifloppy -d myfloppy /dev/fd0u1722
making dosfs on /dev/fd0u1722 ...
mkdosfs 2.10 (22 Sep 2003)
/dev/fd0u1722 has 2 heads and 21 sectors per track,
logical sector size is 512,
using 0xf0 media descriptor, with 3444 sectors;
file system has 2 12-bit FATs and 1 sector per cluster.
FAT size is 10 sectors, and provides 3409 clusters.
Root directory contains 224 slots.
Volume ID is 3fba81cc, volume label myfloppy .


And here the result:

user@host:~/tmp$ mdir
Volume in drive A is myfloppy
Volume Serial Number is 3FBA-81CC
Directory for A:/

No files
1 745 408 bytes free


Since version 1.3-1, it's possible to combine the switches.

To format, create dos filesystem and make it bootable, execute:

user@host:~/tmp$ emifloppy -fb -d mydisk /dev/fd0
formatting /dev/fd0...
Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
Formatting ... done
making dosfs on /dev/fd0...
mkdosfs 2.10 (22 Sep 2003)
/dev/fd0 has 2 heads and 18 sectors per track,
logical sector size is 512,
using 0xf0 media descriptor, with 2880 sectors;
file system has 2 12-bit FATs and 1 sector per cluster.
FAT size is 9 sectors, and provides 2847 clusters.
Root directory contains 224 slots.
Volume ID is 4151ec1c, volume label mydisk .
making /dev/fd0 bootable...

user@host:~/tmp$ mdir
Volume in drive A is mydisk
Volume Serial Number is 4151-EC1C
Directory for A:/

ldlinux sys 8204 2004-09-22 23:18 ldlinux.sys
1 file 8 204 bytes
1 448 960 bytes free


Emidio Planamente

Last modified on 2005-11-05