[PLUG] SCSI device driver

John Jason Jordan johnxj at gmx.com
Mon Jan 29 23:07:17 UTC 2018


On Mon, 29 Jan 2018 14:18:07 -0800 (PST)
Rich Shepard <rshepard at appl-ecosys.com> dijo:

>On Mon, 29 Jan 2018, John Jason Jordan wrote:
>
>> A slight problem:
>>
>> $ ln -s /dev/sg0 /dev/sr0
>> ln: failed to create symbolic link ‘/dev/sr0’: File exists
>>
>> What am I doing wrong?

>   You have them backwards. Try:
>
> 	ln -s /dev/sr0/ /dev/sg0/
>
>   sr0 is the target and sg0 is the link name. 'man ln' has details.

OK, still doesn't work:

 ln -s /dev/sr0/ /dev/sg0/
ln: failed to access ‘/dev/sg0/’: Not a directory

ln -s /dev/sr0 /dev/sg0
ln: failed to create symbolic link ‘/dev/sg0’: File exists

I read the man page for ln and maybe I need to give the command the
name of a file that it will create? Still confused.



More information about the PLUG mailing list