On Fri, 2008-03-28 at 18:04 +0100, Denys Vlasenko wrote: > On Friday 28 March 2008 16:22, Joakim Tjernlund wrote: > > On Fri, 2008-03-28 at 09:44 -0500, Kevin Holland wrote: > > > You have to use something like > > > cat myfile > /dev/mtdblock/1 > > > because you don't have a filesystem mounted to that mtdblock I'm > > > assuming. If there is a filesystem you would mount it then copy the > > > file to the mountpoint. > > > Kevin > > > > Yeah, I know the cat trick works but so should cp too, I think. Earlier > > I used GNU cp and that worked like that. Compare with symlinks, cp > > copies the contents, not the symlink itself(unless -d or -P is given) > > I am trying to make cp match coreutils. > Question: logically, when I do > > cp /dev/device new_file > > what mode should new_file get?
Should be same as for cp file1 file2. Jocke _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
