Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2008 14:29:09 -0500
From:      Josh Paetzel <josh@tcbug.org>
To:        freebsd-questions@freebsd.org
Cc:        Snow Mountains <snow.mountains.4@gmail.com>
Subject:   Re: no ad1s3a,b,d... on ad1s3 after bsdlabel
Message-ID:  <200803121429.14760.josh@tcbug.org>
In-Reply-To: <3cf9f8920803120530k7f6420bfl5aa203864c058c90@mail.gmail.com>
References:  <3cf9f8920803101018i573a5c26l986b9508495fcd5a@mail.gmail.com> <444pbcdvwj.fsf@be-well.ilk.org> <3cf9f8920803120530k7f6420bfl5aa203864c058c90@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1613318.RVZF690VW6
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 12 March 2008 07:30:34 am Snow Mountains wrote:
> 2008/3/12, Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>:
> > "Snow Mountains" <snow.mountains.4@gmail.com> writes:
> >  > I try to understand bsdlabel.
> >  > I have former fat slice (ad1s3) on my disk and I want to make several
> >  > BSD partitions on it. I did this:
> >  >
> >  > # dd if=3D/dev/zero of=3D/dev/ad1s3 bs=3D1k count=3D1024
> >  > 1024+0 records in
> >  > 1024+0 records out
> >  > 1048576 bytes transferred in 0.318986 secs (3287217 bytes/sec)
> >  > # bsdlabel -w ad1s3
> >  > # bsdlabel -e ad1s3
> >  > (edit)
> >  > # bsdlabel ad1s3
> >  > # /dev/ad1s3:
> >  > 8 partitions:
> >  > #        size   offset    fstype   [fsize bsize bps/cpg]
> >  >   a: 10000000       16    4.2BSD        0     0     0
> >  >   b: 10000000 10000016    4.2BSD        0     0     0
> >  >   c: 47616660        0    unused        0     0         # "raw" part,
> >  > don't edit d: 27616644 20000016    4.2BSD        0     0     0
> >  > # newfs -U /dev/ad1s3a
> >  > newfs: /dev/ad1s3a: could not find special device
> >  > # ls /dev/ad1s3*
> >  > /dev/ad1s3
> >  > #
> >  >
> >  > What I miss because I don't have ad1s3a,b,d?
> >  > If repeat same procedure on disk (big file) mounted as /dev/md0, a s=
ee
> >  > /dev/md0,a,b,d,e... after this group of commands.
> >
> > On what version of FreeBSD?
>
> This happens on:
>
> # uname -r
> 6.2-RELEASE-p11
>
> SergiM

Did you delete and recreate the slice or is it still marked as FAT when you=
 do=20
fdisk /dev/ad1

If it's still a FAT/DOS slice you might try deleting and recreating it as a=
=20
native FreeBSD slice, I'm not entirely sure putting a bsdlabel on a FAT sli=
ce=20
is going to do the right thing (although I could be wrong here)

=2D-=20
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB

--nextPart1613318.RVZF690VW6
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBH2C8KJvkB8SevrssRAmQKAJ9VWTI4Q00WQm/OOxshQyX761OHuwCeLs31
GcOIZwbob0md6SPYlaf1XXo=
=5Ri/
-----END PGP SIGNATURE-----

--nextPart1613318.RVZF690VW6--



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