What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

can't change into /opt

cuekay

Occasional Visitor
Hello. I currently have an ext4 and ntfs partition on a usb 3.0 flash drive plugged into my Asus TM-AC1900 and I had noticed that the /opt directory is, while there, is not accessible. I had tried to remedy this by reinstalling entware using entware-setup.sh but it occurred again. I do notice a number of folders named "entware-old_2016-04-22_00-38" or similarly and am wondering if there's something I need to do after running the setup script, because I haven't and assumed that the script sets everything up with regards to entware being available per boot. I can still run opkg however. Thank you.
 
When you drop to the root directory "/" and issue "ls -l", do you see something that looks like this?
Code:
lrwxrwxrwx    1 admin    root             7 Apr  9 14:02 opt -> tmp/opt

When Entware is installed, it will create /opt which actually links to /tmp/opt which actually links to /tmp/mnt/XXX/entware where XXX is your USB. As far as I know, that doesn't exist until you've done something to create it. Even so, I've seen the Entware script see /opt already exist and continue on otherwise alright.
 
thanks for the response. For reason, I booted up, I regained access to /opt . I'm going to keep an eye on it though as I've lost access a number of times but never quite figured out the circumstances under which this has happened. Thank you.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top