Can't see a directory that's supposed to exist The 2019 Stack Overflow Developer Survey Results Are InEstablishing an AP on Raspberry piI'm running out of room on my root partition. How do I expand it with free space?run file from different directoryequivs-build / apt-get: how to preserve directorySelf complied version of GCC overwriting package installed versionCreating an alias to Change Directory and have that directory be the current working directory in new terminal tabsSSH Key trouble on DebianHow to set Samba Root Directory?Can't modify system file in Debiannginx php 110:connection timed out running nextcloud and wordpress
On the insanity of kings as an argument against monarchy
How to answer pointed "are you quitting" questioning when I don't want them to suspect
I looked up a future colleague on LinkedIn before I started a job. I told my colleague about it and he seemed surprised. Should I apologize?
Output the Arecibo Message
Monty Hall variation
Could JWST stay at L2 "forever"?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
Realistic Alternatives to Dust: What Else Could Feed a Plankton Bloom?
How come people say “Would of”?
Falsification in Math vs Science
How to create dashed lines/arrows in Illustrator
Understanding the implication of what "well-defined" means for the operation in quotient group
Does a dangling wire really electrocute me if I'm standing in water?
What does "rabbited" mean/imply in this sentence?
Inversion Puzzle
How to manage monthly salary
Are there any other methods to apply to solving simultaneous equations?
What is the motivation for a law requiring 2 parties to consent for recording a conversation
What is a mixture ratio of propellant?
Geography at the pixel level
Deadlock Graph and Interpretation, solution to avoid
Patience, young "Padovan"
Why could you hear an Amstrad CPC working?
Carnot-Caratheodory metric
Can't see a directory that's supposed to exist
The 2019 Stack Overflow Developer Survey Results Are InEstablishing an AP on Raspberry piI'm running out of room on my root partition. How do I expand it with free space?run file from different directoryequivs-build / apt-get: how to preserve directorySelf complied version of GCC overwriting package installed versionCreating an alias to Change Directory and have that directory be the current working directory in new terminal tabsSSH Key trouble on DebianHow to set Samba Root Directory?Can't modify system file in Debiannginx php 110:connection timed out running nextcloud and wordpress
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
So I own a device (casa node) which is basically a raspberry pi 3b+ with a hard drive and a modified OS (they call it CasaOS) and I want to edit a file. I found the location of this file by looking at the debug logs of the program that uses it. here's what they look like:
2019-01-05T22:11:44Z Bitcoin Core version v0.17.0 (release build)
2019-01-05T22:11:44Z InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrel$2019-01-05T22:11:44Z Assuming ancestors of block 0000000000000000002e63058c023a9a1de233554f28c7b21380b6c9003f36a8 hav$2019-01-05T22:11:44Z Setting nMinimumChainWork=0000000000000000000000000000000000000000028822fef1c230963535a90d
2019-01-05T22:11:44Z Using the 'standard' SHA256 implementation
2019-01-05T22:11:44Z Default data directory /root/.bitcoin
2019-01-05T22:11:44Z Using data directory /usr/local/casa/chains/bitcoind/data/
2019-01-05T22:11:44Z Using config file /usr/local/casa/chains/bitcoind/conf/bitcoin.conf
The bitcoin.conf
is the on I'm after, however I can't get in the directory. Once I'm in /usr/local/casa
I can't see or cd
into the chains
dir. the ls -a
command returns
. .. applications launch.sh
How can I get in the chains folder and ultimately to the bitcoin.conf
file? I did all of this as root.
debian command-line raspberry-pi cd-command bitcoin
New contributor
add a comment |
So I own a device (casa node) which is basically a raspberry pi 3b+ with a hard drive and a modified OS (they call it CasaOS) and I want to edit a file. I found the location of this file by looking at the debug logs of the program that uses it. here's what they look like:
2019-01-05T22:11:44Z Bitcoin Core version v0.17.0 (release build)
2019-01-05T22:11:44Z InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrel$2019-01-05T22:11:44Z Assuming ancestors of block 0000000000000000002e63058c023a9a1de233554f28c7b21380b6c9003f36a8 hav$2019-01-05T22:11:44Z Setting nMinimumChainWork=0000000000000000000000000000000000000000028822fef1c230963535a90d
2019-01-05T22:11:44Z Using the 'standard' SHA256 implementation
2019-01-05T22:11:44Z Default data directory /root/.bitcoin
2019-01-05T22:11:44Z Using data directory /usr/local/casa/chains/bitcoind/data/
2019-01-05T22:11:44Z Using config file /usr/local/casa/chains/bitcoind/conf/bitcoin.conf
The bitcoin.conf
is the on I'm after, however I can't get in the directory. Once I'm in /usr/local/casa
I can't see or cd
into the chains
dir. the ls -a
command returns
. .. applications launch.sh
How can I get in the chains folder and ultimately to the bitcoin.conf
file? I did all of this as root.
debian command-line raspberry-pi cd-command bitcoin
New contributor
Is the application chrooted? I.e. does it have a displaced root directory under which the path exists? What's, for example, under/root/.bitcoin/usr/local/...
?
– Kusalananda♦
Apr 4 at 21:37
K7AAY, if you mean sudo ls -a, then it returns the same thing. Kusalananda, I have no idea how to check that. Does that help? root@casa-node:/usr/local/casa# ls -al total 16 drwxr-sr-x 3 root staff 4096 Dec 5 16:30 . drwxrwsr-x 11 root staff 4096 Nov 14 01:50 .. drwxr-sr-x 2 root staff 4096 Apr 2 14:54 applications -rwxr-xr-x 1 root root 321 Apr 4 12:53 launch.sh
– Relaxo143
Apr 4 at 21:39
1
You might try to use find: find / -name bitcoin.conf
– Fitz
Apr 5 at 4:58
1
Oh my God Fitz, you are literally the best. Thanks. The actual path was/mnt/data/overlay2/60fe75e985602eb59c95fb97c0002750e4a41935c02a9d73472b8997f52a879e/diff/usr/local/casa/chains/bitcoind/conf/bitcoin.conf
I would have never found it myself if it wasn't for you! Thanks to the others for the great tips and effort too!
– Relaxo143
Apr 5 at 10:26
add a comment |
So I own a device (casa node) which is basically a raspberry pi 3b+ with a hard drive and a modified OS (they call it CasaOS) and I want to edit a file. I found the location of this file by looking at the debug logs of the program that uses it. here's what they look like:
2019-01-05T22:11:44Z Bitcoin Core version v0.17.0 (release build)
2019-01-05T22:11:44Z InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrel$2019-01-05T22:11:44Z Assuming ancestors of block 0000000000000000002e63058c023a9a1de233554f28c7b21380b6c9003f36a8 hav$2019-01-05T22:11:44Z Setting nMinimumChainWork=0000000000000000000000000000000000000000028822fef1c230963535a90d
2019-01-05T22:11:44Z Using the 'standard' SHA256 implementation
2019-01-05T22:11:44Z Default data directory /root/.bitcoin
2019-01-05T22:11:44Z Using data directory /usr/local/casa/chains/bitcoind/data/
2019-01-05T22:11:44Z Using config file /usr/local/casa/chains/bitcoind/conf/bitcoin.conf
The bitcoin.conf
is the on I'm after, however I can't get in the directory. Once I'm in /usr/local/casa
I can't see or cd
into the chains
dir. the ls -a
command returns
. .. applications launch.sh
How can I get in the chains folder and ultimately to the bitcoin.conf
file? I did all of this as root.
debian command-line raspberry-pi cd-command bitcoin
New contributor
So I own a device (casa node) which is basically a raspberry pi 3b+ with a hard drive and a modified OS (they call it CasaOS) and I want to edit a file. I found the location of this file by looking at the debug logs of the program that uses it. here's what they look like:
2019-01-05T22:11:44Z Bitcoin Core version v0.17.0 (release build)
2019-01-05T22:11:44Z InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrel$2019-01-05T22:11:44Z Assuming ancestors of block 0000000000000000002e63058c023a9a1de233554f28c7b21380b6c9003f36a8 hav$2019-01-05T22:11:44Z Setting nMinimumChainWork=0000000000000000000000000000000000000000028822fef1c230963535a90d
2019-01-05T22:11:44Z Using the 'standard' SHA256 implementation
2019-01-05T22:11:44Z Default data directory /root/.bitcoin
2019-01-05T22:11:44Z Using data directory /usr/local/casa/chains/bitcoind/data/
2019-01-05T22:11:44Z Using config file /usr/local/casa/chains/bitcoind/conf/bitcoin.conf
The bitcoin.conf
is the on I'm after, however I can't get in the directory. Once I'm in /usr/local/casa
I can't see or cd
into the chains
dir. the ls -a
command returns
. .. applications launch.sh
How can I get in the chains folder and ultimately to the bitcoin.conf
file? I did all of this as root.
debian command-line raspberry-pi cd-command bitcoin
debian command-line raspberry-pi cd-command bitcoin
New contributor
New contributor
edited Apr 6 at 0:05
Paradox
485317
485317
New contributor
asked Apr 4 at 21:27
Relaxo143Relaxo143
61
61
New contributor
New contributor
Is the application chrooted? I.e. does it have a displaced root directory under which the path exists? What's, for example, under/root/.bitcoin/usr/local/...
?
– Kusalananda♦
Apr 4 at 21:37
K7AAY, if you mean sudo ls -a, then it returns the same thing. Kusalananda, I have no idea how to check that. Does that help? root@casa-node:/usr/local/casa# ls -al total 16 drwxr-sr-x 3 root staff 4096 Dec 5 16:30 . drwxrwsr-x 11 root staff 4096 Nov 14 01:50 .. drwxr-sr-x 2 root staff 4096 Apr 2 14:54 applications -rwxr-xr-x 1 root root 321 Apr 4 12:53 launch.sh
– Relaxo143
Apr 4 at 21:39
1
You might try to use find: find / -name bitcoin.conf
– Fitz
Apr 5 at 4:58
1
Oh my God Fitz, you are literally the best. Thanks. The actual path was/mnt/data/overlay2/60fe75e985602eb59c95fb97c0002750e4a41935c02a9d73472b8997f52a879e/diff/usr/local/casa/chains/bitcoind/conf/bitcoin.conf
I would have never found it myself if it wasn't for you! Thanks to the others for the great tips and effort too!
– Relaxo143
Apr 5 at 10:26
add a comment |
Is the application chrooted? I.e. does it have a displaced root directory under which the path exists? What's, for example, under/root/.bitcoin/usr/local/...
?
– Kusalananda♦
Apr 4 at 21:37
K7AAY, if you mean sudo ls -a, then it returns the same thing. Kusalananda, I have no idea how to check that. Does that help? root@casa-node:/usr/local/casa# ls -al total 16 drwxr-sr-x 3 root staff 4096 Dec 5 16:30 . drwxrwsr-x 11 root staff 4096 Nov 14 01:50 .. drwxr-sr-x 2 root staff 4096 Apr 2 14:54 applications -rwxr-xr-x 1 root root 321 Apr 4 12:53 launch.sh
– Relaxo143
Apr 4 at 21:39
1
You might try to use find: find / -name bitcoin.conf
– Fitz
Apr 5 at 4:58
1
Oh my God Fitz, you are literally the best. Thanks. The actual path was/mnt/data/overlay2/60fe75e985602eb59c95fb97c0002750e4a41935c02a9d73472b8997f52a879e/diff/usr/local/casa/chains/bitcoind/conf/bitcoin.conf
I would have never found it myself if it wasn't for you! Thanks to the others for the great tips and effort too!
– Relaxo143
Apr 5 at 10:26
Is the application chrooted? I.e. does it have a displaced root directory under which the path exists? What's, for example, under
/root/.bitcoin/usr/local/...
?– Kusalananda♦
Apr 4 at 21:37
Is the application chrooted? I.e. does it have a displaced root directory under which the path exists? What's, for example, under
/root/.bitcoin/usr/local/...
?– Kusalananda♦
Apr 4 at 21:37
K7AAY, if you mean sudo ls -a, then it returns the same thing. Kusalananda, I have no idea how to check that. Does that help? root@casa-node:/usr/local/casa# ls -al total 16 drwxr-sr-x 3 root staff 4096 Dec 5 16:30 . drwxrwsr-x 11 root staff 4096 Nov 14 01:50 .. drwxr-sr-x 2 root staff 4096 Apr 2 14:54 applications -rwxr-xr-x 1 root root 321 Apr 4 12:53 launch.sh
– Relaxo143
Apr 4 at 21:39
K7AAY, if you mean sudo ls -a, then it returns the same thing. Kusalananda, I have no idea how to check that. Does that help? root@casa-node:/usr/local/casa# ls -al total 16 drwxr-sr-x 3 root staff 4096 Dec 5 16:30 . drwxrwsr-x 11 root staff 4096 Nov 14 01:50 .. drwxr-sr-x 2 root staff 4096 Apr 2 14:54 applications -rwxr-xr-x 1 root root 321 Apr 4 12:53 launch.sh
– Relaxo143
Apr 4 at 21:39
1
1
You might try to use find: find / -name bitcoin.conf
– Fitz
Apr 5 at 4:58
You might try to use find: find / -name bitcoin.conf
– Fitz
Apr 5 at 4:58
1
1
Oh my God Fitz, you are literally the best. Thanks. The actual path was
/mnt/data/overlay2/60fe75e985602eb59c95fb97c0002750e4a41935c02a9d73472b8997f52a879e/diff/usr/local/casa/chains/bitcoind/conf/bitcoin.conf
I would have never found it myself if it wasn't for you! Thanks to the others for the great tips and effort too!– Relaxo143
Apr 5 at 10:26
Oh my God Fitz, you are literally the best. Thanks. The actual path was
/mnt/data/overlay2/60fe75e985602eb59c95fb97c0002750e4a41935c02a9d73472b8997f52a879e/diff/usr/local/casa/chains/bitcoind/conf/bitcoin.conf
I would have never found it myself if it wasn't for you! Thanks to the others for the great tips and effort too!– Relaxo143
Apr 5 at 10:26
add a comment |
1 Answer
1
active
oldest
votes
This answer is made from the comments of Fitz and the Questioner:
To find the file:
find / -name bitcoin.conf
This shows that the file is present in:/mnt/data/overlay2/60fe75e985602eb59c95fb97c0002750e4a41935c02a9d73472b8997f52a879e/diff/usr/local/casa/chains/bitcoind/conf/bitcoin.conf
Which can be mounted on a different path. Note /mnt/ is used as the default mount point for devices. You have to run these commands as root
(prepending sudo
)
umount /dev/sdx
mount /dev/sdx /usr/local/casa/chains/bitcoind
Or use:
mount -o remount, rw /dev/sdx /usr/local/casa/chains/bitcoind
The file can be edited as long as the device it's on is mounted, whether on default mount point /mnt
or the path it is mounted on after the manual mounting
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Relaxo143 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510589%2fcant-see-a-directory-thats-supposed-to-exist%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This answer is made from the comments of Fitz and the Questioner:
To find the file:
find / -name bitcoin.conf
This shows that the file is present in:/mnt/data/overlay2/60fe75e985602eb59c95fb97c0002750e4a41935c02a9d73472b8997f52a879e/diff/usr/local/casa/chains/bitcoind/conf/bitcoin.conf
Which can be mounted on a different path. Note /mnt/ is used as the default mount point for devices. You have to run these commands as root
(prepending sudo
)
umount /dev/sdx
mount /dev/sdx /usr/local/casa/chains/bitcoind
Or use:
mount -o remount, rw /dev/sdx /usr/local/casa/chains/bitcoind
The file can be edited as long as the device it's on is mounted, whether on default mount point /mnt
or the path it is mounted on after the manual mounting
add a comment |
This answer is made from the comments of Fitz and the Questioner:
To find the file:
find / -name bitcoin.conf
This shows that the file is present in:/mnt/data/overlay2/60fe75e985602eb59c95fb97c0002750e4a41935c02a9d73472b8997f52a879e/diff/usr/local/casa/chains/bitcoind/conf/bitcoin.conf
Which can be mounted on a different path. Note /mnt/ is used as the default mount point for devices. You have to run these commands as root
(prepending sudo
)
umount /dev/sdx
mount /dev/sdx /usr/local/casa/chains/bitcoind
Or use:
mount -o remount, rw /dev/sdx /usr/local/casa/chains/bitcoind
The file can be edited as long as the device it's on is mounted, whether on default mount point /mnt
or the path it is mounted on after the manual mounting
add a comment |
This answer is made from the comments of Fitz and the Questioner:
To find the file:
find / -name bitcoin.conf
This shows that the file is present in:/mnt/data/overlay2/60fe75e985602eb59c95fb97c0002750e4a41935c02a9d73472b8997f52a879e/diff/usr/local/casa/chains/bitcoind/conf/bitcoin.conf
Which can be mounted on a different path. Note /mnt/ is used as the default mount point for devices. You have to run these commands as root
(prepending sudo
)
umount /dev/sdx
mount /dev/sdx /usr/local/casa/chains/bitcoind
Or use:
mount -o remount, rw /dev/sdx /usr/local/casa/chains/bitcoind
The file can be edited as long as the device it's on is mounted, whether on default mount point /mnt
or the path it is mounted on after the manual mounting
This answer is made from the comments of Fitz and the Questioner:
To find the file:
find / -name bitcoin.conf
This shows that the file is present in:/mnt/data/overlay2/60fe75e985602eb59c95fb97c0002750e4a41935c02a9d73472b8997f52a879e/diff/usr/local/casa/chains/bitcoind/conf/bitcoin.conf
Which can be mounted on a different path. Note /mnt/ is used as the default mount point for devices. You have to run these commands as root
(prepending sudo
)
umount /dev/sdx
mount /dev/sdx /usr/local/casa/chains/bitcoind
Or use:
mount -o remount, rw /dev/sdx /usr/local/casa/chains/bitcoind
The file can be edited as long as the device it's on is mounted, whether on default mount point /mnt
or the path it is mounted on after the manual mounting
answered Apr 6 at 20:12
ToxicMenderToxicMender
5314
5314
add a comment |
add a comment |
Relaxo143 is a new contributor. Be nice, and check out our Code of Conduct.
Relaxo143 is a new contributor. Be nice, and check out our Code of Conduct.
Relaxo143 is a new contributor. Be nice, and check out our Code of Conduct.
Relaxo143 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510589%2fcant-see-a-directory-thats-supposed-to-exist%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-bitcoin, cd-command, command-line, debian, raspberry-pi
Is the application chrooted? I.e. does it have a displaced root directory under which the path exists? What's, for example, under
/root/.bitcoin/usr/local/...
?– Kusalananda♦
Apr 4 at 21:37
K7AAY, if you mean sudo ls -a, then it returns the same thing. Kusalananda, I have no idea how to check that. Does that help? root@casa-node:/usr/local/casa# ls -al total 16 drwxr-sr-x 3 root staff 4096 Dec 5 16:30 . drwxrwsr-x 11 root staff 4096 Nov 14 01:50 .. drwxr-sr-x 2 root staff 4096 Apr 2 14:54 applications -rwxr-xr-x 1 root root 321 Apr 4 12:53 launch.sh
– Relaxo143
Apr 4 at 21:39
1
You might try to use find: find / -name bitcoin.conf
– Fitz
Apr 5 at 4:58
1
Oh my God Fitz, you are literally the best. Thanks. The actual path was
/mnt/data/overlay2/60fe75e985602eb59c95fb97c0002750e4a41935c02a9d73472b8997f52a879e/diff/usr/local/casa/chains/bitcoind/conf/bitcoin.conf
I would have never found it myself if it wasn't for you! Thanks to the others for the great tips and effort too!– Relaxo143
Apr 5 at 10:26