Symbolic links breaking after restart 16.04. LTS (linux)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
2
down vote
favorite
i created a symbolic link with the below command (on UBUNTU 16.04 LTS 64 bit)
ln -s ttyACM0 ttyS5
to use with a usb pin pad ,but every time i restart the machine the link is broken.
i have little knowledge on linux.After the reboot this command shows that he link already exist.
ln -s ttyACM0 ttyS5 so i have to remove and create again but machine keeps losing the settings.
Please help
16.04
add a comment |Â
up vote
2
down vote
favorite
i created a symbolic link with the below command (on UBUNTU 16.04 LTS 64 bit)
ln -s ttyACM0 ttyS5
to use with a usb pin pad ,but every time i restart the machine the link is broken.
i have little knowledge on linux.After the reboot this command shows that he link already exist.
ln -s ttyACM0 ttyS5 so i have to remove and create again but machine keeps losing the settings.
Please help
16.04
Where do you create that symlink ?
â Soren A
Feb 7 at 13:24
âÂÂ/devâ directory
â Simon Sande
Feb 7 at 13:57
1
You probably need to Create a symlink in /dev using /etc/udev/rules
â steeldriver
Feb 7 at 14:25
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
i created a symbolic link with the below command (on UBUNTU 16.04 LTS 64 bit)
ln -s ttyACM0 ttyS5
to use with a usb pin pad ,but every time i restart the machine the link is broken.
i have little knowledge on linux.After the reboot this command shows that he link already exist.
ln -s ttyACM0 ttyS5 so i have to remove and create again but machine keeps losing the settings.
Please help
16.04
i created a symbolic link with the below command (on UBUNTU 16.04 LTS 64 bit)
ln -s ttyACM0 ttyS5
to use with a usb pin pad ,but every time i restart the machine the link is broken.
i have little knowledge on linux.After the reboot this command shows that he link already exist.
ln -s ttyACM0 ttyS5 so i have to remove and create again but machine keeps losing the settings.
Please help
16.04
16.04
asked Feb 7 at 13:23
![](https://lh5.googleusercontent.com/-xcmsOPFLT0I/AAAAAAAAAAI/AAAAAAAAABw/xyCS8ogGSZM/photo.jpg?sz=32)
![](https://lh5.googleusercontent.com/-xcmsOPFLT0I/AAAAAAAAAAI/AAAAAAAAABw/xyCS8ogGSZM/photo.jpg?sz=32)
Simon Sande
111
111
Where do you create that symlink ?
â Soren A
Feb 7 at 13:24
âÂÂ/devâ directory
â Simon Sande
Feb 7 at 13:57
1
You probably need to Create a symlink in /dev using /etc/udev/rules
â steeldriver
Feb 7 at 14:25
add a comment |Â
Where do you create that symlink ?
â Soren A
Feb 7 at 13:24
âÂÂ/devâ directory
â Simon Sande
Feb 7 at 13:57
1
You probably need to Create a symlink in /dev using /etc/udev/rules
â steeldriver
Feb 7 at 14:25
Where do you create that symlink ?
â Soren A
Feb 7 at 13:24
Where do you create that symlink ?
â Soren A
Feb 7 at 13:24
âÂÂ/devâ directory
â Simon Sande
Feb 7 at 13:57
âÂÂ/devâ directory
â Simon Sande
Feb 7 at 13:57
1
1
You probably need to Create a symlink in /dev using /etc/udev/rules
â steeldriver
Feb 7 at 14:25
You probably need to Create a symlink in /dev using /etc/udev/rules
â steeldriver
Feb 7 at 14:25
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
If you do a df -h
in a terminal you will see that /dev is "mounted on" udev, not /dev/sdx or anything else indicating a physical disk. udev is a virtual file-system (in memory) that is regenerated every time the system is booted.
That's why your symbolic link disappears on reboot.
yes i have seen as per above.. is there a way to get around this ,i would really appreciate
â Simon Sande
Feb 7 at 14:16
Follow the link @steeldriver provided ..
â Soren A
Feb 7 at 15:12
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
If you do a df -h
in a terminal you will see that /dev is "mounted on" udev, not /dev/sdx or anything else indicating a physical disk. udev is a virtual file-system (in memory) that is regenerated every time the system is booted.
That's why your symbolic link disappears on reboot.
yes i have seen as per above.. is there a way to get around this ,i would really appreciate
â Simon Sande
Feb 7 at 14:16
Follow the link @steeldriver provided ..
â Soren A
Feb 7 at 15:12
add a comment |Â
up vote
0
down vote
If you do a df -h
in a terminal you will see that /dev is "mounted on" udev, not /dev/sdx or anything else indicating a physical disk. udev is a virtual file-system (in memory) that is regenerated every time the system is booted.
That's why your symbolic link disappears on reboot.
yes i have seen as per above.. is there a way to get around this ,i would really appreciate
â Simon Sande
Feb 7 at 14:16
Follow the link @steeldriver provided ..
â Soren A
Feb 7 at 15:12
add a comment |Â
up vote
0
down vote
up vote
0
down vote
If you do a df -h
in a terminal you will see that /dev is "mounted on" udev, not /dev/sdx or anything else indicating a physical disk. udev is a virtual file-system (in memory) that is regenerated every time the system is booted.
That's why your symbolic link disappears on reboot.
If you do a df -h
in a terminal you will see that /dev is "mounted on" udev, not /dev/sdx or anything else indicating a physical disk. udev is a virtual file-system (in memory) that is regenerated every time the system is booted.
That's why your symbolic link disappears on reboot.
answered Feb 7 at 14:02
Soren A
3,0681724
3,0681724
yes i have seen as per above.. is there a way to get around this ,i would really appreciate
â Simon Sande
Feb 7 at 14:16
Follow the link @steeldriver provided ..
â Soren A
Feb 7 at 15:12
add a comment |Â
yes i have seen as per above.. is there a way to get around this ,i would really appreciate
â Simon Sande
Feb 7 at 14:16
Follow the link @steeldriver provided ..
â Soren A
Feb 7 at 15:12
yes i have seen as per above.. is there a way to get around this ,i would really appreciate
â Simon Sande
Feb 7 at 14:16
yes i have seen as per above.. is there a way to get around this ,i would really appreciate
â Simon Sande
Feb 7 at 14:16
Follow the link @steeldriver provided ..
â Soren A
Feb 7 at 15:12
Follow the link @steeldriver provided ..
â Soren A
Feb 7 at 15:12
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003890%2fsymbolic-links-breaking-after-restart-16-04-lts-linux%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Where do you create that symlink ?
â Soren A
Feb 7 at 13:24
âÂÂ/devâ directory
â Simon Sande
Feb 7 at 13:57
1
You probably need to Create a symlink in /dev using /etc/udev/rules
â steeldriver
Feb 7 at 14:25