Public bug reported:

Binary package hint: partman-ext3

When loopfiles are used, mkfs has to target the file and not the
containing device. Preliminary patch is provided. Similar patches should
also be applied to other commit.d/*format_* scripts.

loopfile=$(losetup $device 2>/dev/null|cut -f 3 -d ' ')  
loopfile=${loopfile#\(}  
loopfile=${loopfile%\)}  
if [ -n "$loopfile" ]; then   
   if log-output -t partman --pass-stdout mkfs.ext3 -F "$loopfile" >/dev/null; 
then  
       sync  
       status=OK  
   else  
       status=failed  
   fi  
else   
    #run mkfs as usual
fi

** Affects: wubi
     Importance: Undecided
         Status: New

** Affects: partman-ext3 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: wubi

** Description changed:

  Binary package hint: partman-ext3
  
  When loopfiles are used, mkfs has to target the file and not the
- containing device.
+ containing device. Preliminary patch is provided. Similar patches should
+ also be applied to other commit.d/*format_* scripts.
  
  loopfile=$(losetup $device 2>/dev/null|cut -f 3 -d ' ')  
  loopfile=${loopfile#\(}  
  loopfile=${loopfile%\)}  
  if [ -n "$loopfile" ]; then   
     if log-output -t partman --pass-stdout mkfs.ext3 -F "$loopfile" 
>/dev/null; then  
         sync  
         status=OK  
     else  
         status=failed  
     fi  
  else   
      #run mkfs as usual
  fi

** Tags added: wubi

-- 
When loopfiles are used mkfs has to target the file and not the containing 
device
https://bugs.launchpad.net/bugs/177868
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to