On Mon, Jan 29, 2018 at 2:18 PM, Rich Shepard <[email protected]> wrote:
> 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? >> > > John, > > 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. > > Rich > > Additionally, it will give this message if the symlink you're trying to create already exists. You'll have to rm it first. It should be noted that restoring it if this doesn't work is not an obvious process. You may be able to use mknod, but I don't know the syntax offhand to recreate the device file. Hopefully this won't matter since all your other apps use sr0 instead of sg0. The risk is low, but not zero. -wes _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
