mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 14:56:13 +01:00
before this commit, specfs reported disk partitions
using decimal major and minor numbers. "ls -l" reports disk partitions using decimal major numbers and hex minor numbers. make specfs use decimal major numbers and hex minor numbers, just like "ls -l"
This commit is contained in:
parent
e439c30cf4
commit
caea99a368
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61572
@ -150,7 +150,7 @@ spec_open(ap)
|
||||
if (*dev->si_name != '\0')
|
||||
printf("Device \"%s\" ", dev->si_name);
|
||||
else
|
||||
printf("Device char-major=%d minor=%d ",
|
||||
printf("Device char-major=%d minor=0x%x ",
|
||||
major(dev), minor(dev));
|
||||
printf("opened in block mode, convert to char mode with /dev/MAKEDEV before 2000-07-01\n");
|
||||
dev->si_flags |= SI_WHINED;
|
||||
|
@ -150,7 +150,7 @@ spec_open(ap)
|
||||
if (*dev->si_name != '\0')
|
||||
printf("Device \"%s\" ", dev->si_name);
|
||||
else
|
||||
printf("Device char-major=%d minor=%d ",
|
||||
printf("Device char-major=%d minor=0x%x ",
|
||||
major(dev), minor(dev));
|
||||
printf("opened in block mode, convert to char mode with /dev/MAKEDEV before 2000-07-01\n");
|
||||
dev->si_flags |= SI_WHINED;
|
||||
|
Loading…
Reference in New Issue
Block a user