Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2000 22:48:28 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        questions@FreeBSD.org
Subject:   mount_msdos and /dev/vn devices
Message-ID:  <20000722224828.S64132@strontium.scientia.demon.co.uk>

next in thread | raw e-mail | index | archive | help
Any ideas why this doesn't work:

root@platinum:~# mount_msdos -o ro /dev/vn0s1 /mnt2
mount_msdos: /dev/vn0s1: Invalid argument

fdisk shows the slices correctly:

root@platinum:/dev# fdisk vn0
fdisk: can't get disk parameters on /dev/vn0; supplying dummy ones
******* Working on device /dev/vn0 *******
parameters extracted from in-core disklabel are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6,(Primary 'big' DOS (> 32MB))
    start 63, size 1044225 (509 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 258/ sector 63/ head 63
The data for partition 2 is:
sysid 5,(Extended DOS)
    start 1044288, size 1068480 (521 Meg), flag 0
        beg: cyl 259/ sector 1/ head 0;
        end: cyl 523/ sector 63/ head 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

The file which was vnconfig'd was created from a harddisk which I can
successfully do 'mount_msdos /dev/ad2s1 /mnt2' on.

Clues?  Is this an msdosfs problem, or something more general?

-- 
Ben Smithurst                 / ben@FreeBSD.org / PGP: 0x99392F7D
FreeBSD Documentation Project /


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000722224828.S64132>