* Rodrigo Moya ([EMAIL PROTECTED]) wrote:
> Hi all!
> 
> I am building a custom system, and for this I'm putting all the files I
> need in a partition and then, via dd command, build an image. The thing
> is that I have to copy some device files (hda1, sda4, ttyS*...), and
> started using cp, but then realize that this is not the way, since it
> copies the contents of the hard disks, not the device file itself.
> 
> How to do this?

cp -a

This'll handle device files, links etc.

Tom.
-- 
            .------------------------------------------------------.
    .^.     | Tom Gilbert, England | [EMAIL PROTECTED]       |
    /V\     |----------------------| www.btinternet.com/~gilbertt  |
   // \\    | Sites I recommend:   `-------------------------------|
  /(   )\   | www.freshmeat.net www.enlightenment.org slashdot.org |
   ^^-^^    `---------------------ICQ 65348629---------------------'


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to