Aaarrrgghhh! Thanks. I had fixed that in ntfstruncate already but I must
have gotten side tracked and forgotten to fix mkntfs.c, too... )))-:
I have pushed the fix to bkbits and released new snapshots.
Szaka, I have also merged your massive ntfsclone patch into
ntfsprogs-devel and that is also on bkbits and the snapshots now.
Cheers,
Anton
On Fri, 11 Jul 2003, Szakacsits Szabolcs wrote:
> Hi,
>
> Core was generated by `mkntfs -Ff test-100M.img 200000'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x08049de8 in parse_options (argc=4, argv=0xbffff984) at mkntfs.c:354
> 354 vol->dev->d_name = argv[optind++];
> (gdb) p vol->dev
> $1 = (struct ntfs_device *) 0x0
>
> vol->dev can't be used in parse_options because it's not allocated yet.
> It's broken in both trees.
>
> Szaka
>
>
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
|