From owner-freebsd-questions Sat Jul 22 15: 8:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 435C337B582 for ; Sat, 22 Jul 2000 15:08:22 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 13G78G-000OLP-00 for questions@freebsd.org; Sat, 22 Jul 2000 22:48:28 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.15 #1) id 13G78G-000GGy-00 for questions@FreeBSD.org; Sat, 22 Jul 2000 22:48:28 +0100 Date: Sat, 22 Jul 2000 22:48:28 +0100 From: Ben Smithurst To: questions@FreeBSD.org Subject: mount_msdos and /dev/vn devices Message-ID: <20000722224828.S64132@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: The data for partition 4 is: 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