> he...@delljm:~$ pfexec mkfs -F pcfs -o b=mh,fat=32 /dev/rdsk/c0t0d0s2:c
> No such logical drive (missing extended partition entry)
> 
> what's the meaning of this error?

The ":c" syntax needs an fdisk partition tagged
with the correct fdisk partition id (for a FAT
filesystem);  such a partition does not exist.

The error message seems to be a bit confusing...

> ...
> Deleted the solaris2 partition, and re-create a fat32 one.
> Then it works:
> he...@delljm:~$ pfexec mkfs -F pcfs -o b=mh,fat=32 /dev/rdsk/c0t0d0p0:c
> Construct a new FAT file system on /dev/rdsk/c0t0d0p0:c: (y/n)? y

Yep, now we have a fat32 tagged fdisk partition
and the :c syntax can be used.

> he...@delljm:~$ fstyp /dev/rdsk/c0t0d0p0
> unknown_fstyp (no matches)
> but why fstyp displays "unknown" type?

Try fstyp /dev/dsk/c0t0d0p1
or  fstyp /dev/dsk/c0t0d0p0:1

IIRC, for some reason fstyp /dev/dsk/c0t0d0p0:c
does not work.
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to