info-mtools
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mtools] Mtools support for media with >512 byte sectors


From: Alain Knaff
Subject: Re: [mtools] Mtools support for media with >512 byte sectors
Date: Wed, 31 May 2006 15:56:22 +0200
User-agent: Thunderbird 1.5 (X11/20051201)

Peter Jeremy wrote:
On Thu, 2006-May-25 23:10:42 +0200, Alain Knaff wrote:
I've made a new patch today, which is meant to address the issue.

http://mtools.linux.lu/mtools-3.9.10-20060525.diff.gz

The revised patch (10040 bytes) works with the addition of the attached
patch.  Thank you very much.



------------------------------------------------------------------------

--- mformat.c~  Sat May 27 07:09:45 2006
+++ mformat.c   Sat May 27 07:24:05 2006
@@ -689,6 +689,7 @@
        exit(1);
 }
+#ifdef OS_linux
 static int get_block_geom(int fd, struct MT_STAT *buf, struct device *dev,
                          char *errmsg) {
        struct hd_geometry geom;
@@ -733,6 +734,7 @@
        size = dev->tracks * dev->heads * dev->sectors + dev->hidden;
        return 0;
 }
+#endif
void mformat(int argc, char **argv, int dummy)
 {


------------------------------------------------------------------------


This is now part of today's patch

Thanks for the note,

Alain

_______________________________________________
mtools mailing list
address@hidden
http://www.tux.org/mailman/listinfo/mtools


reply via email to

[Prev in Thread] Current Thread [Next in Thread]