mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 05:21:08 +01:00
Don't try to open the /dev/rXXX device.
This commit is contained in:
parent
07b1028579
commit
149938cc61
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61103
@ -67,7 +67,7 @@ int secsize = 0; /* the sensed sector size */
|
||||
const char *disk;
|
||||
const char *disks[] =
|
||||
{
|
||||
"/dev/rad0", "/dev/rwd0", "/dev/rda0", "/dev/rod0", 0
|
||||
"/dev/ad0", "/dev/wd0", "/dev/da0", "/dev/od0", 0
|
||||
};
|
||||
|
||||
struct disklabel disklabel; /* disk parameters */
|
||||
|
@ -67,7 +67,7 @@ int secsize = 0; /* the sensed sector size */
|
||||
const char *disk;
|
||||
const char *disks[] =
|
||||
{
|
||||
"/dev/rad0", "/dev/rwd0", "/dev/rda0", "/dev/rod0", 0
|
||||
"/dev/ad0", "/dev/wd0", "/dev/da0", "/dev/od0", 0
|
||||
};
|
||||
|
||||
struct disklabel disklabel; /* disk parameters */
|
||||
|
Loading…
Reference in New Issue
Block a user