Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 16:04:01 +0100
From:      Ceri Davies <ceri@submonkey.net>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Craig Rodrigues <rodrigc@crodrigues.org>, Scott Long <scottl@samsco.org>, freebsd-current@freebsd.org, Robert Watson <rwatson@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: [RFC] mount can figure out fstype automatically
Message-ID:  <20060711150401.GI65857@submonkey.net>
In-Reply-To: <200607110954.01691.jhb@freebsd.org>
References:  <20060708152801.GA3671@crodrigues.org> <20060711124356.Y78628@fledge.watson.org> <20060711132752.GF65857@submonkey.net> <200607110954.01691.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--+sHJum3is6Tsg7/J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 11, 2006 at 09:54:00AM -0400, John Baldwin wrote:
> On Tuesday 11 July 2006 09:27, Ceri Davies wrote:
> >=20
> > Assuming that there is a valid partition type.  I don't really know what
> > this makes, but there's a valid FAT filesystem on it:
> >=20
> > % truncate -s 1440k floppy
> > % sudo mdconfig -a -f floppy=20
> > md1
> > % sudo newfs_msdos -f 1440 /dev/md1
> > /dev/md1: 2847 sectors in 2847 FAT12 clusters (512 bytes/cluster)
> > bps=3D512 spc=3D1 res=3D1 nft=3D2 rde=3D224 sec=3D2880 mid=3D0xf0 spf=
=3D9 spt=3D18 hds=3D2 hid=3D0
> > % sudo mount -t msdos /dev/md1 /mnt
> > % df -h /mnt
> > Filesystem    Size    Used   Avail Capacity  Mounted on
> > /dev/md1      1.4M    1.0K    1.4M     0%    /mnt
> > {ceri@shrike}-{~} % fdisk /dev/md1
> > ******* Working on device /dev/md1 *******
> > parameters extracted from in-core disklabel are:
> > cylinders=3D0 heads=3D255 sectors/track=3D63 (16065 blks/cyl)
> >=20
> > parameters to be used for BIOS calculations are:
> > cylinders=3D0 heads=3D255 sectors/track=3D63 (16065 blks/cyl)
> >=20
> > Media sector size is 512
> > Warning: BIOS sector numbering starts with sector 1
> > Information from DOS bootblock is:
> > The data for partition 1 is:
> > <UNUSED>
> > The data for partition 2 is:
> > <UNUSED>
> > The data for partition 3 is:
> > <UNUSED>
> > The data for partition 4 is:
> > <UNUSED>
> >=20
> > Ceri
>=20
> Dos floppies don't have an MBR (so fdisk on them is meaningless).

That agrees with observation :)  Thanks!

Ceri
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--+sHJum3is6Tsg7/J
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFEs73gocfcwTS3JF8RAlfpAJ9Vrmj2JBz7qJVJXraRdSNp7zPTWwCfYPtr
/MA7r0NQO8fHKd/5zJ9dBh0=
=z1zj
-----END PGP SIGNATURE-----

--+sHJum3is6Tsg7/J--



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