Opened 16 years ago
Closed 16 years ago
#311 closed defect (fixed)
NTFS partitions can not be created at restore rime
Reported by: | Bruno Cornec | Owned by: | Bruno Cornec |
---|---|---|---|
Priority: | normal | Milestone: | 2.2.9 |
Component: | mondo | Version: | 2.2.8 |
Severity: | normal | Keywords: | |
Cc: |
Description
I have a couple of ntfs partitions (which I excluded from the backup) that parted is complaining about ("Unknown format ('ntfs') - using supplied string anyway"). I had to change these to 'ext3' for mondorestore to be able to continue. I have attached 'mondorestore.log.cantpart' relating to this issue.
Code should be added in set_partition_type of mondo/src/mondorestore/mondo-prep.c to support those.
Attachments (2)
Change History (6)
comment:1 by , 16 years ago
Status: | new → assigned |
---|
comment:2 by , 16 years ago
Milestone: | 2.2.9 → 2.2.8 |
---|
comment:3 by , 16 years ago
This is still a problem. /etc/mindi/deplist.txt does not refer to mkfs.ntfs, mkntfs, /sbin/mount.ntfs or /sbin/mount.ntfs-3g . I have attached a patch for mindi for this.
mondorestore uses a call to mkfs:
mkfs -t ntfs -c /dev/sda1
unfortunately, mkfs.ntfs intreprets the '-c' switch as 'specify cluster size' so formatting of ntfs partitions fails. I have patched mondo-prep.c to leave out the '-c' switch if the format is 'ntfs'. I have attached a patch for mondo for this.
Regards,
Conor
by , 16 years ago
Attachment: | mindi-2.0.5-mkntfs.patch added |
---|
PATCH to mindi deplist.txt to include mkfs.ntfs and mount.ntfs components
by , 16 years ago
Attachment: | mondo-2.2.8-mkntfs.patch added |
---|
PATCH to mondo-prep.c to leave out the '-c' switch in calls to mkfs.ntfs
comment:4 by , 16 years ago
Milestone: | 2.2.8 → 2.2.9 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Patches applied to rev [2147]. Will be in 2.2.9.
Should be fixed in rev [2141]. Will be finaly in 2.2.8 Final !