mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 05:58:06 +00:00
Mount drives with error=continue
This commit is contained in:
parent
b6e03e507e
commit
21d5fe085b
|
@ -74,7 +74,7 @@ proc createMyNodeFsOnBlockDevice {blockDevice} {
|
||||||
puts "Formatting new partition ${blockDevice}1"
|
puts "Formatting new partition ${blockDevice}1"
|
||||||
runCommand mkfs.ext4 -F -L myNode /dev/${blockDevice}1
|
runCommand mkfs.ext4 -F -L myNode /dev/${blockDevice}1
|
||||||
|
|
||||||
runCommand mount /dev/${blockDevice}1 /mnt/hdd
|
runCommand mount /dev/${blockDevice}1 /mnt/hdd -o errors=continue
|
||||||
runCommand date >/mnt/hdd/.mynode
|
runCommand date >/mnt/hdd/.mynode
|
||||||
runCommand echo /dev/${blockDevice}1 > /tmp/.mynode_drive
|
runCommand echo /dev/${blockDevice}1 > /tmp/.mynode_drive
|
||||||
}] {
|
}] {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user