Solved

try to mount a logical partition

Posted on 2003-11-02
1
849 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now