I think you mean primary and extended partition; but it doesn't matter - linux mounts everything :)
You will just have to determine which device (/dev directory) points to the desired partition ... it depends on several things:
is the drive on the first (0) or the second (1) ... IDE (SCSI) driver and is it master or slave (master drive on 1st ide driver is usually /dev/hda and it's first partition is /dev/hda1 ...)
And than, all that's left is to mount it, which is done the same way
as you mount your cdrom or floppy:
mount /dev/hd?? /mnt/shared
Of course there must be a valid entry in /etc/fstab in order this to work!
Something like:
/dev/hd?? /mnt/shared auto (for auto fstype selection) noauto,owner,rw 0 0
Last edited by lfur; 07-09-2003 at 06:39 PM.
|