-
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

Samsung 850 Pro Series 2TB 2.5inch SATA3 6Gbp Internal SSD MZ-7KE2T0 5 Available
$189.00

Samsung Galaxy S10 10.9" FE 128GB WiFi Tablet SM-X520NZACXAR S-Pen Keyboard 2025
$299.99

Samsung Galaxy Tab S11 Ultra - 1TB / 16GB RAM (Moonstone Gray)
$1199.99

Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem
$152.99

Samsung SCXSTP000, SCX-STP000 (Swingline Staple Cartridge - 3 Refills)
$57.99

Kids Case for Samsung Galaxy Tab A9+/A9 plus 11 Inch 2023 Case, with Strap, Shoc
$27.99

SAMSUNG CD-RW DRIVE MODEL SW-224 AMAZING CONDITION+ORIGINAL BOX NEVER USED
$30.00

Samsung DVI to DVI Cable 6 ft Digital Video Interface Audio Video NEW
$30.89

QTY 100 Samsung Galaxy Tab Active 4 Pro 10.1” Case, Black
$500.00

Samsung Chomrebook XE350XBA-K02US LCD Screen FHD Display 15.6" XE350XBA-K03US
$51.77