NetBSD-Bugs archive

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

Re: install/39894: Boot floppies no longer boot in -current



gson%gson.org@localhost wrote:

> I suspect the problem may be caused by the fact that the first file in
> the tar archive contained on the floppy is now "." rather than "boot".

FS_OPS(ustarfs) can't open files (boot.cfg in that case)
because files are stored with "./" prefix added by specfile:

---
% dd if=netbsd-5/boot-big.fs bs=8k skip=1 | tar tvf -
-r--r--r--  1 10000    125        60500 Nov  4 18:06 boot
-rw-r--r--  1 10000    125          466 Nov  4 18:06 boot.cfg
-rw-r--r--  1 10000    125            0 Nov  4 18:06 USTAR.volsize.16040
-rw-r--r--  1 10000    125      2809650 Nov  4 18:07 netbsd
tar: ustar vol 1, 4 files, 2875392 bytes read, 0 bytes written in 1 secs 
(2875392 bytes/sec)
449+0 records in
449+0 records out
3678208 bytes transferred in 0.017 secs (216365176 bytes/sec)
% dd if=HEAD/boot-big.fs bs=8k skip=1 | tar tvf -
drwxr-xr-x  2 root     wheel          0 Nov 10 08:51 .
-r--r--r--  1 root     wheel      60500 Nov 10 08:51 ./boot
-rw-r--r--  1 root     wheel        466 Nov 10 08:51 ./boot.cfg
-rw-r--r--  1 root     wheel          0 Nov 10 08:51 ./USTAR.volsize.16040
-rw-r--r--  1 root     wheel    2819013 Nov 10 08:51 ./netbsd
449+0 records in
449+0 records out
tar: ustar vol 1, 5 files, 2883584 bytes read, 0 bytes written in 1 secs 
(2883584 bytes/sec)
3678208 bytes transferred in 0.014 secs (262729142 bytes/sec)
% 
---

No idea how to specify uid/gid without such prefix.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index