but change datadir to the location of the new filesystem
which could be a seperate partition or another drive even.
something like this in $HOME/.bitcoin/bitcoin.conf
### [Mainnet] ###
datadir=/srv/temp/blockchain/data
check it out
milton@milton:~/.bitcoin$ mount -v -t ext4 /dev/sdf5 /srv/temp
mount: /dev/sdf5 mounted on /srv/temp
milton@milton:~/.bitcoin$ ls -a /srv/temp/bitcoin/blockchain/data/
blocks chainstate db.log debug.log fee_estimates.dat .lock peers.dat wallet.dat wallet.dat.old
milton@milton:~/temp/bitcoin/src$ ./bitcoind -daemon
Bitcoin server starting
milton@milton:~/temp/bitcoin/src$ ./bitcoin-cli getmininginfo
{
"blocks" : 372686,
"currentblocksize" : 0,
"currentblocktx" : 0,
"difficulty" : 54256630327.88996124,
"errors" : "",
"genproclimit" : -1,
"networkhashps" : 396484914787293504,
"pooledtx" : 29,
"testnet" : false,
"chain" : "main",
"generate" : false
}
bitcoin-cli man!
There is another story of user accounts and process identity, file ownership and permissions,
which make up the access control model in Linux. But thats for another thread