Results 1 to 10 of 19

Thread: resizing knoppix-data.img

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    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.

  2. #2
    Junior Member registered user
    Join Date
    Aug 2007
    Posts
    16

    2. Yes it's save to move a file tied to a local loopback while the system is live

    Quote Originally Posted by kl522 View Post
    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
  •  


Intel Core i5-12600K 2.80GHz 10-Core Processor LGA 1700 BX8071512600K picture

Intel Core i5-12600K 2.80GHz 10-Core Processor LGA 1700 BX8071512600K

$164.99



Intel Core i5-7500t 2.70ghz SR337 Processor picture

Intel Core i5-7500t 2.70ghz SR337 Processor

$30.00



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$544.99



Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc... picture

Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...

$306.99



AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads - 5.60 GHz Max Boo picture

AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads - 5.60 GHz Max Boo

$349.00



Intel Core i7-14700KF Unlocked Desktop Processor picture

Intel Core i7-14700KF Unlocked Desktop Processor

$419.99



** AMD Ryzen 5 2600 CPU Processor - USED  ** picture

** AMD Ryzen 5 2600 CPU Processor - USED **

$38.99



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$79.00



Intel Core i5-8500 @ 3.00GHz - SR3XE CPU - Processor #95 picture

Intel Core i5-8500 @ 3.00GHz - SR3XE CPU - Processor #95

$44.99



Intel Core i9-9900 SRG18 3.10GHz 16MB 8-Core LGA1151 CPU Processor picture

Intel Core i9-9900 SRG18 3.10GHz 16MB 8-Core LGA1151 CPU Processor

$262.49