06-21-2006, 09:29 AM #1PhilipinaGuestHow to create a link to a device like /dev/tty.xyz
I have a problem because I'm using a usb/serial converter under Mac OS x and the name given by the driver is too long "/dev/tty.ASZU2D9876F.R". I would like to create a link (with a shorter name) to this device but I' can't.
Here is the command I used :
ln -s /dev/tty.ASZU2D9876F.R /dev/ttyS99
but in this case I get the result "ln: /dev/ttyS99: Permission denied"
I'm logged as Administrator! Can anyone of you explain me how can I create a link to be able to use a shorter name than tty.ASZU2D9876F.R ?
Thanks in advance for your answers.
06-21-2006, 10:56 AM #2
- Member Since
- Dec 24, 2002
- Los Angeles, California
- 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
You don't have enough power (permission) to complete the process. Try using the sudo command.
sudo ln -s /dev/tty.ASZU2D9876F.R /dev/ttyS99Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
06-22-2006, 02:22 AM #3PhilipinaGuest
Thank you, this is working fine!!!!
06-22-2006, 02:52 AM #4LoganGuest
06-22-2006, 07:40 AM #5PhilipinaGuest
Oups, after restarting my machine to link is not there anymore. I cannot live with that!
I imagine it is due to the fact that my usbserial converter is not detected when the OS tries to create the link at startup.
I wanted to launch a script at startup but as sudo requests the password I cannot do this!
Does anyone of you have an idea?
Thanks in advance.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Raffy129 in forum OS X - Operating SystemReplies: 5Last Post: 11-20-2012, 06:38 AM
By Quazer in forum OS X - Operating SystemReplies: 1Last Post: 06-01-2011, 02:09 PM
By jacksmax in forum OS X - Development and DarwinReplies: 0Last Post: 12-08-2009, 06:56 PM
By omr_treb22 in forum OS X - Development and DarwinReplies: 2Last Post: 10-24-2009, 12:13 PM
By codyman in forum Running Windows (or anything else) on your MacReplies: 2Last Post: 11-29-2005, 02:58 PM