Re: [ibm-pc] prikaz DD z linuxu pro win?


To "Petr" <vpe zavinac seznam bod cz>, ibm-pc zavinac debian bod cz
From Petr Šobáň <soban zavinac centrum bod cz>
Date Sun, 6 Jul 2003 03:37:23 +0200
User-agent KMail/1.5

Dne so 5. července 2003 21:18 Petr napsal(a):
> OK, tak jsem to poskladal, ty 2 knihovny k tomu co to dd.exe vyzadovalo
>
> Co ale nechodi je definice cile na disketu FDD - na A:
>
> Na linuxu je to snadne: of=/dev/fd0  - a je to v pohode, ve Woknech toto
> samozrejme nejde
>
> Zkousel jsem ve Woknech: of=a:\
>                          dd.exe: opening `a:\\': Invalid argument
>
>                          of=A (tak to vytvori soubor s nazvem A)
>                          0+1 records in
>                          0+1 records out
>
>                          of=A: bs=1k seek=400 (disketovka se zacne tocit,
> ale:
>                          dd.exe: opening `A:': Invalid argument
>
> Tak nevim :-((
>
> Poradi nekdo, jak zapsat floppy disketu?
>


A co of=a:/ normalní lomítko ?

Jestli vám to k něčemu bude:

Filenames

The path separator on Unix is the colon (:) and the directory separator is the 
forwardslash (/); on MS Windows these are the semicolon (;) and the backslash 
(\). Filenames with forwardslashes are understood by MS Windows, but you will 
have to change colons to semicolons when used as path separator. Tests for 
absolute filenames (on Unix filenames starting with /, on MS Windows 
filenames starting with x:/ or \\) must also be changed, as well as absolute 
filenames such as /tmp/..., /usr/..., /dev/..., /etc/.... These filename 
issues may also occur in shell scripts provided with the package. Often they 
are also the cause of failure in tests or checks with make test or make 
check.

Temporary file names may either be hardcoded (/tmp/...) or created with the 
help of an environment variable, usually TMP or TMPDIR. On Windows, the 
temporary file directory is Temp or Windows/Temp; and the corresponding 
environment variable is TEMP. You will have to change the Unix names, set the 
Unix environment variables, or adapt the source to look also for the Windows 
environment variable TEMP.



-- 

/----------------------------------------\
|            Petr Šobáň                  |
|            Olomouc                     |
|----------------------------------------|
|    e-mail soban zavinac centrum bod cz             |
|    jabber soban zavinac jabber bod cz              |
|    ICQ    179223500                    |
\----------------------------------------/


Partial thread listing: