git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: kprintf now goes into dedicated pseudo-dev rather than flooding the framebuffer
[lunaix-os.git]
/
lunaix-os
/
kernel
/
fs
/
probe_boot.c
diff --git
a/lunaix-os/kernel/fs/probe_boot.c
b/lunaix-os/kernel/fs/probe_boot.c
index 4f38c6ac90cc2d93c250c7171db3e708de5e8e19..77b4dff6eca146790e333886a4cadcf5a21586a5 100644
(file)
--- a/
lunaix-os/kernel/fs/probe_boot.c
+++ b/
lunaix-os/kernel/fs/probe_boot.c
@@
-23,10
+23,10
@@
probe_boot_medium()
int errno =
pos->ops.read(pos, (void*)volp, ISO9660_READ_OFF, ISO9660_BLKSZ);
if (errno < 0) {
int errno =
pos->ops.read(pos, (void*)volp, ISO9660_READ_OFF, ISO9660_BLKSZ);
if (errno < 0) {
- kprintf(K
WARN "can not probe %x:%s (%d)\n
",
- pos->
dev_id
,
- pos->
name.val
ue,
-
errno
);
+ kprintf(K
INFO "failed %xh:%xh, /dev/%s
",
+ pos->
ident.fn_grp
,
+ pos->
ident.uniq
ue,
+
pos->name.value
);
pos = NULL;
goto done;
}
pos = NULL;
goto done;
}
@@
-36,8
+36,9
@@
probe_boot_medium()
}
if (*(u32_t*)volp->sys_id == LUNAIX_ID) {
}
if (*(u32_t*)volp->sys_id == LUNAIX_ID) {
- kprintf(KINFO "[%x:%s] %s\n",
- pos->dev_id,
+ kprintf(KINFO "%xh:%xh, /dev/%s, %s",
+ pos->ident.fn_grp,
+ pos->ident.unique,
pos->name.value,
(char*)volp->vol_id);
break;
pos->name.value,
(char*)volp->vol_id);
break;