[wellylug] cp and Linking to /dev/dsp

Richard Hector rhector at paradise.net.nz
Fri Jun 6 11:10:51 NZST 2003


On Fri, Jun 06, 2003 at 10:04:33AM +1200, Ewen McNeill wrote:
> In message <20030605215341.72D969F500 at smtp-2.paradise.net.nz>, Edouard Chalaron 
> writes:
>
> >cp -l /dev/sound/dsp /dev/dsp
> >should link /dev/sound/dev to /dev/dsp
> 
> Any particular reason you want to use the GNU-extension to cp (which
> creates a hard link IIRC),
> 
> >I got "Operation not permitted"
> 
> strace would probably tell you what operation this is; I suspect it's
> not the link operation per se.

Doesn't the structure /dev/sound/dsp indicate devfs being in use?

You can't hard link between filesystems - and I wouldn't be surprised if you
can't hard link devices at all.

Richard



More information about the wellylug mailing list