bug-grub
[Top][All Lists]
Advanced

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

[PATCH] misc *BSD fixes (device names, support for non-BSD userland)


From: Robert Millan
Subject: [PATCH] misc *BSD fixes (device names, support for non-BSD userland)
Date: Tue, 22 Jul 2003 18:57:25 +0000
User-agent: Mutt/1.5.4i

Hi!

I made a patch with some *BSD related fixes:

 - Add compatibility for non-BSD systems using *BSD kernels (such as
   GNU/FreeBSD). These don't define __*BSD__, but do define __*BSD_kernel__,
   so i added compatibility defines in lib/device.c and then switch
   from __*BSD__ to __*BSD_kernel__ (see the patch, it's self-explanatory)
 - Devices for FreeBSD's kernel are outdated. Recent 5.x versions don't
   add a "r" prefix to the device name, so it is now "fd%d", "ad%d", etc.
   I'm adding a detection for __FreeBSD_kernel__'s version number.

My patch differed against pristine sources would conflict with my dynamic
allocation one sent a while ago, so I'm differing against my patched version.

You need to apply my previous patch [1] before this one. If this is a problem
tell me and i'll adapt my changes.

[1] http://mail.gnu.org/archive/html/bug-grub/2003-07/msg00055.html

-- 
Robert Millan

Attachment: kbsd.diff
Description: Text document


reply via email to

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