I would like to thank the following people for there input:
Jonathan.Loh, Jim Harmon, azhang@ect.enron.com, Mark, David
Thorburn-Gundlach, Fischer Jens, Jay Lessert, Wanamaker, Stephen Harris, Igor
Schein, Rick Reineman, Harry Levinson, John Nguyen, Plesha, Thomas A.
Special thanks to Rich Kulawiec for his time!
The answer ended up being tar with only the normal options. I was
postive tar never used to keep symbolic links but I guess I was wrong.
(cd /cdrom;tar cf - .) | (cd /foo/bar/blah; tar xpf -)
CPIO did not work it followed the links down and dd creates a file so
I could not use it for my purposes. I really appreciate all the help!
Sincerely,
Janet Hoo
Customer Training Instructor
Sun Microsystems
Original Question:
> I have an interesting problem. I need to place an exact copy of a cdrom
> on a
> server. I have tried tar, cpio and dd but they all expand the symlinks.
> I'm
> not sure if there is an option I am missing. I know ufsdump will keep
> the
> symlinks but since I am comming from a HSFS instead of UFS I can't use
> dump.
> My question is: Does anyone know of a way to make an exact copy of a
> cdrom to a
> hard disk without losing the links?
> I will summarize. Any help is greatly appreciated.
>