Displaying 5 results from an estimated 5 matches for "magdir".
2004 Nov 13
2
Build of RELENG_5 fails in libmagic
...ABLE, I have cvsuped the latest source, cleared
out /usr/obj and I still get this problem. Any idea what could be causing it?
Mark
===> lib/libmagic
cat /usr/src/lib/libmagic/../../contrib/file/Header /usr/src/lib/libmagic/../../contrib/file/Localstuff /usr/src/lib/libmagic/../../contrib/file/Magdir/zyxel /usr/src/lib/libmagic/../../contrib/file/Magdir/xdelta /usr/src/lib/libmagic/../../contrib/file/Magdir/sysex /usr/src/lib/libmagic/../../contrib/file/Magdir/sccs/usr/src/lib/libmagic/../../contrib/file/Magdir/allegro /usr/src/lib/libmagic/../../contrib/file/Magdir/cvs /usr/src/lib/libmagic/.....
2011 Nov 22
1
[file PATCH] Properly detect .vdi (VirtualBox disk image) files
...often contain different strings (ref: [1]).
The correct test in this patch looks for the magic number at offset
0x40 in the file (ref: [2]).
Example:
Upstream 'file' without the patch on an example file[3]:
$ file ttylinux.vdi
ttylinux.vdi: data
With the patch:
$ ./src/file -m magic/Magdir ttylinux.vdi
ttylinux.vdi: VirtualBox Disk Image, major 1, minor 1
Rich.
[1] http://repo.or.cz/w/qemu.git/blob/HEAD:/block/vdi.c#l109
[2] https://forums.virtualbox.org/viewtopic.php?t=8046
[3] https://one-vbox.googlecode.com/svn-history/r117/trunk/remotes/ttylinux.vdi
--
Richard Jones, Virtual...
2014 Jun 03
2
Re: libguestfs supermin error
Hi Rich
But there is no src/kernel.ml file on my ubuntu powerpc to which the
above patch is reffering.
I have installed supermin as supermin_5.1.8-2_powerpc.deb debian package.
Thanks
On Tue, Jun 3, 2014 at 7:16 PM, Richard W.M. Jones <rjones@redhat.com>
wrote:
> On Tue, Jun 03, 2014 at 06:55:49PM +0530, abhishek jain wrote:
> > supermin: failed to find a suitable kernel
2014 Jun 04
2
Re: libguestfs supermin error
...inux kernel file.
> *
> * Returns a string containing the version or [Not_found] if the
> * file can't be read, is not a Linux kernel, or the version can't
> * be found.
> *
> * See ftp://ftp.astron.com/pub/file/file-<ver>.tar.gz
> * (file-<ver>/magic/Magdir/linux) for the rules used to find the
> * version number:
> * 514 string HdrS Linux kernel
> * >518 leshort >0x1ff
> * >>(526.s+0x200) string >\0 version %s,
> *
> * Bugs: probably limited to x86 kernels.
> *)
> a...
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...he kernel version from a Linux kernel file.
- * Returns a malloc'd string containing the version or NULL if the
- * file can't be read, is not a Linux kernel, or the version can't
- * be found.
- *
- * See ftp://ftp.astron.com/pub/file/file-<ver>.tar.gz
- * (file-<ver>/magic/Magdir/linux) for the rules used to find the
- * version number:
- * 514 string HdrS Linux kernel
- * >518 leshort >0x1ff
- * >>(526.s+0x200) string >\0 version %s,
- *
- * Bugs: probably limited to x86 kernels.
- */
-static char*
-get_kernel_version...