Okay. So you need following command:
mkfs -F pcfs /dev/rdsk/c9t1d4p1

p0 is whole disk (including the partition table).
Sorry I mistyped the mkfs command in the first e-mail. That was Linux syntax.

Milan

Dne 14.04.10 16:41, Sarah.kho napsal(a):
Hi,
Thank you for helping me on this.

before applying mkfs I tried the mount command as follow:

  mount -F pcfs /dev/dsk/c9t1d4p0 /media/s

The command returns the following error:

mount: /dev/dsk/c9t1d4p0 is not a DOS filesystem.

So I tried the fstyp command on that partition and it says:

unknown_fstyp (no matches)


Now I tried to use mkfs as follow:

  mkfs pcfs  /dev/dsk/c9t1d4p0

it returns the following error:
mkfs: Operation not applicable for FSType nfs

I tried P0-p9 and it did not work.

To ensure that the partition is there, I used format > fdisk command
again and the partition is there:

                                                Cylinders
       Partition   Status    Type          Start   End   Length    %
       =========   ======    ============  =====   ===   ======   ===
           1       Active    Win95 FAT32       1  1022    1022    100



What do I miss here? Does fstyp and mkfs works on raw devices or on
block devices? I tried them on both ..../rdsk/... and .../dsk/.... and
the result was the same.


If you cached what I am doing wrong, please let me know.


On Wed, Apr 14, 2010 at 6:53 PM, E. Mike Durbin [via Opensolaris General
discuss mail-list] <[hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4902001&i=0>> wrote:

    Close!

    All the partitions that end in sN (e.g. s0) are Solaris partitions (aka
    slices).
    All the Solaris slices reside in one fdisk partition.

    All the fdisk partitions end in pN (e.g. p0)

    So ...

    use:

       mount -F pcfs /dev/dsk/c9t1d4p0 /media/s



    emike


    On 04/14/2010 09:09 AM, Sarah.kho wrote:

     > Hi
     >
     > I created a fat32 partition using:
     >
     > format
     > format>fdisk
     > fdisk>1
     > and then C for fat32.
     >
     > then I exit the fdisk and format.  To make sure that the
    partition is there,
     > I entered the format and fdisk command and my partition was there
    (it was
     > active as well).  The disk name is c9t1d4 so I assumed that the
    partition
     > name is c9t1d4s0 and used the following command to mount it
     >
     >   mount -F pcfs /dev/dsk/c9t1d4s0 /media/s
     >
     > The error message for the above command is "mount: I/O error"
     >
     > I tried mount -F pcfs /dev/dsk/c9t1d4s0 /media/s  for s1-s9 and
    it still
     > returns the same error.
     >
     > Do you know what should I do to mount the partition?
     >
     > when i select the same disk in format command and then I try to
    enter
     > partition command it shows the following error:
     >
     > "WARNING - This disk may be in use by an application that has
     >  modified the fdisk table. Ensure that this disk is
     >  not currently in use before proceeding to use fdisk."
     >
     > Thank you.
     >
     >
     >
    _______________________________________________
    opensolaris-discuss mailing list
    [hidden email]
    <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4901898&i=0>



------------------------------------------------------------------------
View this message in context: Re: Created a FAT32 partition using Fdisk,
but it can not be mounted..
<http://n2.nabble.com/Created-a-FAT32-partition-using-Fdisk-but-it-can-not-be-mounted-tp4901842p4902001.html>
Sent from the Opensolaris General discuss mail-list mailing list archive
<http://n2.nabble.com/Opensolaris-General-discuss-mail-list-f3823541.html>
at Nabble.com.



_______________________________________________
opensolaris-discuss mailing list
[email protected]

--
The amount of things I don't know is enormous.
But I'm grateful for every bit of information.
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to