[Bug 615873] Re: Doesn't allow forcing file systems to 255 heads

2021-02-25 Thread Pali
Specifying custom number of heads and sectors per track is now possible via new mkfs.fat's -g option available since dosfstools 4.2. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/615873 Title: Doesn

[Bug 615873] Re: Doesn't allow forcing file systems to 255 heads

2010-08-21 Thread Loïc Minier
So I fixed the issue I was seeing without these patches and I don't care for them anymore, however they do implement a missing feature to force the number of heads and sectors per track, which might be useful to someone. We can keep this bug open or close it and reopen if it turns out to be useful

[Bug 615873] Re: Doesn't allow forcing file systems to 255 heads

2010-08-10 Thread Brian Murray
** Tags added: patch -- Doesn't allow forcing file systems to 255 heads https://bugs.launchpad.net/bugs/615873 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu

[Bug 615873] Re: Doesn't allow forcing file systems to 255 heads

2010-08-10 Thread Loïc Minier
and this doesn't work: sudo mount /dev/mapper/loop0p1 /mnt; for f in /mnt2/*; do j=`basename $f`; sudo rm /mnt/$j; sudo cp -a /mnt2/$j /mnt; done; sudo umount /mnt gah -- Doesn't allow forcing file systems to 255 heads https://bugs.launchpad.net/bugs/615873 You received this bug notification be

[Bug 615873] Re: Doesn't allow forcing file systems to 255 heads

2010-08-10 Thread Loïc Minier
This doesn't work either: sudo mount /dev/mapper/loop0p1 /mnt; for f in /mnt2/*; do j=`basename $f`; sudo mcopy -o -i /dev/mapper/loop0p1 /mnt2/$j ::$j; done; sudo umount /mnt but this does: sudo mount /dev/mapper/loop0p1 /mnt; sudo rm /mnt/*; for f in /mnt2/*; do j=`basename $f`; sudo mcopy -o

[Bug 615873] Re: Doesn't allow forcing file systems to 255 heads

2010-08-10 Thread Loïc Minier
Ok, this doesn't work: sudo mount /dev/mapper/loop0p1 /mnt; sudo cp -a /mnt2/* /mnt; sudo umount /mnt but this does: sudo mount /dev/mapper/loop0p1 /mnt; sudo rm /mnt/*; sudo cp -a /mnt2/* /mnt; sudo umount /mnt The files are created by mcopy, so I suspect it's the true culprit. -- Doesn't all

[Bug 615873] Re: Doesn't allow forcing file systems to 255 heads

2010-08-10 Thread Loïc Minier
So with Ubuntu's image losetup-ed and kpart -ax-ed: sudo file -s /dev/mapper/loop0p1 /dev/mapper/loop0p1: x86 boot sector, mkdosfs boot message display, code offset 0x58, OEM-ID " mkdosfs", Media descriptor 0xf8, heads 64, sectors 144522 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 1112, serial n