-
Junior Member
registered user
2. Yes it's save to move a file tied to a local loopback while the system is live
Originally Posted by
kl522
Actually you did not answer my question (2) directly, but from the flow of the sentences, it appears to me you are overwritting knoppix-data while you are having it mounted. Since the whole operation is surrounded on increasing the size of knoppix-data, it might be safe to perform it while having knoppix-data mounted, but personally I am not sure it will be 100% safe.
and actively using the file. Just like you can mv a running exectutable to another file of the same name, you can do this with files tied to a loopback. I think the mv will create a hard link to the new file then remove the old file. All open file descriptors will still point to the correct data blocks.
I ran this script as knoppix on my system and had no issues. Until I rebooted, the kernel still sees knoppix-data.bak content exactly as it was when it was before the mv.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch
$37.45
Juniper QFX5200-32C-AFO 32P QSFP28 Switch
$1399.00
Juniper EX3300-48P 48-Port 10/100/1000BASE-T (48 PoE+ ports) with 4 SFP+
$74.00
JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER
$210.00
Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord
$54.99
Juniper Networks SRX345 Service Gateway 8 Port Gigabit 8 SFP 1G
$229.00
Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch
$89.00
Juniper EX4550-32F-AFO 32 Port 10G SFP+ Dual AC w/EX4550-VC1-128G, FULL 4PST-RMK
$595.00
Juniper Networks EX4550-32F-AFI 32 Port 10G SFP Back to Front Airflow Dual PSU
$300.00
Juniper EX4500 40-Port 10GB SFP Managed Ethernet Switch P/N: EX4500-40F-VC1-FB
$199.99