Bug#588889: wrong instructions in syslinux.README.Debian

2010-07-13 Thread Fabian Greffrath
Package: syslinux
Version: 2:4.01+dfsg-2
Severity: minor

[This bug is filed against -2, although the change has been introduced in -3.]

Hi,

wrong instructions about how to create floppy disk images have been added to
syslinux.README.Debian in the -3 revision of the syslinux package.

First, if the code is supposed to be shell code, then there must not be two
dollar signs to variable calls. The first step in paragraph 2 results in the
following error messages:

$ for SIZE in 720 1200 1440 1743; do dd if=/dev/zero of=img$${SIZE}k bs=1k
count=$$SIZE; done
dd: invalid number `26518SIZE'
dd: invalid number `26518SIZE'
dd: invalid number `26518SIZE'
dd: invalid number `26518SIZE'

with 26518 being the PID of my current shell. Reducing to one dollar sign fixes
this issue.

The formatting in the second step also does not work. If the second dollar sign
is removed from the DRIVE variable, mformat spits out the following error
messages:
$ for DRIVE in a: b: c: d:; do MTOOLSRC=/usr/share/syslinux/examples/mtoolsrc
mformat $DRIVE; done
mformat: Can't open /dev/fd0: No such device or address
mformat: Can't open /dev/fd1: No such file or directory
mformat: Drive 'C:' not supported
mformat: Drive 'D:' not supported

This happens because mformat has no idea what is meant with a:, b:, c: and d:
and the config file that is supposed to tell it is missing!

Needless to tell that as a consequence of this the third step is also failing.

 - Fabian



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (501, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages syslinux depends on:
ii  libc6  2.11.2-2  Embedded GNU C Library: Shared lib
ii  syslinux-common2:4.01+dfsg-2 collection of boot loaders (common

syslinux recommends no packages.

Versions of packages syslinux suggests:
ii  dosfstools3.0.9-1utilities for making and checking 
ii  mtools4.0.12-1   Tools for manipulating MSDOS files

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#588889: wrong instructions in syslinux.README.Debian

2010-07-13 Thread Daniel Baumann
retitle 59 wrong variables in syslinux.README.Debian
tag 59 pending
thanks

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org