2004-03-12 Yoshinori K. Okuji <okuji@enbug.org>

From Sergey Matveychuk <sem@ciam.ru>:
	* lib/device.c (get_drive_geometry): Do not open the same device
	more than once unnecessarily.
	(get_drive_geometry) [__FreeBSD_version >= 500040]: Use new
	ioctl methods.
	(get_floppy_disk_name) [__FreeBSD__ >= 4]: Use /dev/fd%d rather
	than /dev/rfd%d.
	(get_ide_disk_name) [__FreeBSD__ >= 4]: Use /dev/ad%d rather
	than /dev/rad%d.
	(get_scsi_disk_name) [__FreeBSD__ >= 4]: Use /dev/da%d rather
	than /dev/rda%d.
	* grub/asmstub.c (get_diskinfo): Check if ERRNO is EPERM as
	well.
This commit is contained in:
okuji 2004-03-12 17:31:51 +00:00
parent 8f31d2ff88
commit 9b1392428c
7 changed files with 87 additions and 12 deletions

View file

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
.TH GRUB "8" "February 2004" "grub (GNU GRUB 0.94)" FSF
.TH GRUB "8" "March 2004" "grub (GNU GRUB 0.94)" FSF
.SH NAME
grub \- the grub shell
.SH SYNOPSIS

View file

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
.TH MBCHK "1" "January 2004" "mbchk (GNU GRUB 0.94)" FSF
.TH MBCHK "1" "March 2004" "mbchk (GNU GRUB 0.94)" FSF
.SH NAME
mbchk \- check the format of a Multiboot kernel
.SH SYNOPSIS