Solved

try to mount a logical partition

Posted on 2003-11-02
1
853 Views
Last Modified: 2013-12-27
can anyone tell me what exactly to put into /dev/vfstab to mount a FAT32 partition outside the Solaris partition?
first of all I don't know how to determines those c0t0d0p?
my partition table should look like this:
Primary
1: NTFS
2: x86 boot (Solaris)
3: Solaris
4: Extended

and my extended looks like this
5: ext3  (Linux /boot)
6: ext3  (Linux / )
7: NTFS
8: FAT32
9: swap (Linux swap )

and now I want to mount the FAT32 partition which is a logical partition
with permission where all user has rwx access to it...

Thanks.
0
Comment
Question by:RedComet
1 Comment
 
LVL 2

Accepted Solution

by:
colsey79 earned 250 total points
ID: 9665440
Hi there

Normally you would mound a partition as follows:

mount -F pcfs /dev/dsk/c0t0d0p0:1 /mnt # SCSI DISK
mount -F pcfs /dev/dsk/c0d0p0:1   /mnt # ATAPI DISK

Where c0 is the controller number.
      t0 is the target (SCSI ID number) (omit for ATAPI)
      d0 is always 0 for SCSI, the drive # for ATAPI
      p0 is the partition (p0 is the entire disk, or p1 - p4)
      /mnt is the mount point
      :1 is the logical drive (c - z or 1 - 24)

Note: p0 refers to the first primary partition and p1, p2, . . . refers to the logical DOS partitions found in the extended DOS partition.

[ Disk naming explained :-) ]

To mount the partitions automatically, put something like this in /etc/vfstab:

#device           device         mount    FS    fsck  mount
#to mount         to fsck        point    type  pass  at boot
/dev/dsk/c0d0p0:1 -              /c       pcfs  -     yes       -
/dev/dsk/c0d1p0:1 -              /d       pcfs  -     yes       -

This mounts the DOS partitions (assuming it's the first partition) on /c and /d, respectively, on startup. For more info, see "man pcfs"

That should get your FAT32 partitions selected and mounted correctly.

HTH
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question