New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

How to create a link to a device like /dev/tty.xyz


Post Reply New Thread Subscribe

 
Thread Tools
Philipina
Guest
 
Posts: n/a

Hello,

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.

Remi.
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 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

rman is offline
You don't have enough power (permission) to complete the process. Try using the sudo command.

sudo ln -s /dev/tty.ASZU2D9876F.R /dev/ttyS99

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
Philipina
Guest
 
Posts: n/a

Thank you, this is working fine!!!!

Alain
QUOTE Thanks
Logan
Guest
 
Posts: n/a

sudo chop!

hiiiyaa! tty
QUOTE Thanks
Philipina
Guest
 
Posts: n/a

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.

Alain
QUOTE Thanks

Post Reply New Thread Subscribe


« terminal is messed up | Shell scripts run slow on my Macs »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Tablet? Gaming device? dan828 Apple Rumors and Reports 1 01-30-2006 09:14 PM
iMac G5 Sound Output Device question mint_mac_mini Apple Desktops 0 01-03-2006 07:02 PM
Airport+Bluetooth a user installable device? Rez Apple Desktops 3 11-24-2005 06:59 AM
Create a new mailbox on an exchange server from entourage? edokid Switcher Hangout 0 06-19-2005 01:31 AM
Apple posts iTunes Link Maker Murlyn Web Design and Hosting 2 02-28-2004 10:35 PM

All times are GMT -4. The time now is 11:21 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?