[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Floppy-Image aus einem Verzeichnis erzeugen



Hallo,

Peter Schütt wrote:

> gibt es ein Programm, was aus einem Verzeichnis ein Floppy-Image erzeugt?

Kein Tool, aber schnell mit Bordmitteln gemacht:

$ dd if=/dev/zero of=/tmp/floppy.img count=1440 bs=1024 
1440+0 Datensätze ein
1440+0 Datensätze aus
1474560 Bytes (1,5 MB) kopiert, 0,008637 Sekunden, 171 MB/s

$ /sbin/mkfs.vfat /tmp/floppy.img 
mkfs.vfat 2.11 (12 Mar 2005)

$ sudo mount -o loop /tmp/floppy.img /mnt

$ sudo cp -a /home/wolf/local/stuff/* /mnt

$ sudo umount /mnt


Ungetestet, sollte aber funktionieren.

hth, Wolf
-- 
Ich möchte mal sterben wie mein Opa, sanft einschlafen und dann ist's aus. 
Nicht schreiend und wild fuchtelnd, wie sein Beifahrer. (Eric in abg.witziges)



Reply to: