tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: vndconfig vs mount_cd9660
wiz%NetBSD.org@localhost (Thomas Klausner) writes:
>I wanted to mount an ISO image (on 9.99.77/amd64), so I did, following the guide:
># vnconfig -c vnd0 file.iso
>The disklabel looks unpromising.
>4 partitions:
># size offset fstype [fsize bsize cpg/sgs]
> a: 16868776 0 4.2BSD 0 0 0 # (Cyl. 0 - 8236*)
> d: 16868776 0 unused 0 0 # (Cyl. 0 - 8236*)
That's a bit large, isn't it? With the default 512 byte blocks your image
is about 8GB. The 9.99.77/amd64 ISO image from daily however is 484MB.
Otherwise:
-rw-r--r-- 1 mlelstv staff 484M Dec 28 01:21 NetBSD-9.99.77-amd64.iso
% sudo vnconfig -c vnd0 NetBSD-9.99.77-amd64.iso
% sudo mount -t cd9660 /dev/vnd0a /mnt
% ls /mnt
altroot boot.cfg lib mnt2 sbin usr
amd64 dev libdata netbsd stand var
bin etc libexec rescue targetroot
boot install.sh mnt root tmp
N.B. the default disklabel for that iso shows:
4 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 990512 0 ISO9660 0 # (Cyl. 0 - 483*)
d: 990512 0 unused 0 0 # (Cyl. 0 - 483*)
but things also work if I change the (in-core) label to 4.2BSD instead
of ISO9660.
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index