Hi
So you are changing you promary maste disk, to boot different os. OK
I will asume that your primary slave stays in, and is called different names 
by diferent oses :-) That does not sounfd very english :-)

Unix/Linux does not designate drives/partitions/devices to letters of the 
alphabet. That would defeat the purpose. What you find is /etc/dev containing 
all rhe devices (device names) (that you have) that youn could have ... The 
braces are to accomodate for diferences. 
You / The system then mounts them appropriate devices anywhare in the (root) 
main file system. Note that you are not constrained as to whare you mount 
your drives/devices.
In redhat the usual mount-point of other file-systems/devices/etc is 
/mnt/populardevicename like floppy, cdrom, jazz, digitalcamera :-)

In the system (unix/linux) there is a file governing where to mount what and 
with what parameters... 

The file is /etc/fstab
fstab is a strictly formatted file, you may get more information about it by 
typeing man fstab , yes the manual pages :-)

to make is simple:

look at your current /etc/fstab

you should see something close to the following

/dev/hda1               /mnt/c                  vfat    defaults        0 0
/dev/hdb1               /mnt/d                  vfat    user,exec,dev,suid

this is sample from my fstab, mounting fat32 partitions in my first hard-disk 
during system startup. 

in your case, i would think hda would be hdb and the number is most likely 
different :-)
The mountpoints under /mnt where deliberately created to resemble the 
drivenames of a long forgotten legacy os. :-) ... 

the mountpoints will have to be created as subdirectories by you first .....

/dev/hda1               /mnt/c                  vfat    defaults        0 0
/dev/hdb1               /mnt/d                  vfat    user,exec,dev,suid

The other option is to mount it by (hand) anywhare you want it to be. Your 
friends are
mount  to mount
umount to unmount what you have mounted.

more details :
man mount
man umount

it is detaild painfully there.
now fat32 is called vfat under linux, and you should specify the 
filesystem-type to avoid ambiguaty 
/dev/fd0                /mnt/floppy             auto    noauto,owner    0 0   
from fstab to mount the first (and only) floppy device /dev/fd0 at 
/mnt/floppy mountpoint and try to detect the filesystem it is using 
automatically. 

The reason why you get the lecture about mounting and file-systems and 
structure is becouse you wanted to list the directory contents of a partition 
using very legacy nomenclature. 

As to how you go about doing the actual directory listing, well
ls -l /whereewver/you/mouted/it

and if the list is long try
ls -l /whereewver/you/mouted/it | less

that should enable you to scroll
to quit scrolling press q 

I hope that was useful
Cheers
Szemir



On Saturday 04 January 2003 17:36, you wrote:
> Hi all.
>
> At the risk of displaying my obvious newbiness, and incurring the quick
> "rtfm" solution, can someone point me in the right direction with the
> following directions?  I've got lots of manuals and books and magazines,
> which I've been reading but sometimes it's nice to just be able to ask a
> direct question and get a direct answer.  Here's the scoop ...
>
> 1.  How do you do a "dir f:" command in linux ?
>
> It's only one simple little question, but I've not been able to find the
> equivalent in linux.
>
> I'm running RH 8.0 and I've been playing around with it.  Actually
> thought I'd been doing quite well, but I've got a pretty decent box to
> run it on.  Some of you might have seen it at the last instalfest at
> Nexus.  It's got a p4-2.4gh-512mb- spec.  I have a removeable C: with
> 20gb on it, a D: that is a 12X DVD drive, and an E: that is a 40x12x48
> LitOn CD-RW.  They all work great.
>
> What I've been trying to do is access an F: that is a fat32 formatted
> 6.4gb common "data disk", that I wish to be available to my RH
> configuration and to my WinXP-Pro configuration, when I pull the RH C:
> out and plug in my WinXP C: (80 gb Western Digital).
>
> With Windows, I can open up explorer and check out c: and d: and etc, or
> go to dos (a window, in XP) and type "dir x: /w" or whatever.  I'm very
> comfortable in Dos or in Windows, but I don't know all the equivalent
> commands in linux.
>
> Maybe I need to do something with Samba to accomplish this ??  I don't
> know, but I'm sure lots of people in this group can point me in several
> different directions that will all help me.
>
> My New Years Resolution last year was to get into linux and here I am.
> I haven't given up, and I'm still enthused about learning it.  One of
> the things that I did accomplish was setting up my C: as a removeable
> drive so that I could plug my OS of choice in and boot accordingly.
> With Windows on my C: I have long been able to do a "ghost" image which
> I do frequently for obvious reasons.  With Linux on my C: I ran into a
> problem in that testing the backup seemed to indicate the backup was not
> a reliable image.  I've been able to succeed with Ghost 2003, however,
> albeit with a minor tweak to get the image up after it was made.  It
> seems it needed a boot disk to boot from on the first run after imaging
> in order to correct something in the mbr or the lilo config.  I'm not
> sure which, but booting from a disk did succeed in fixing the boot
> process on the HD so that the next time booting off the HD was
> successful.  So now I can make a backup of my Linux C: and then play
> with it to my hearts content, without fear of trashing something and not
> having a backup.
>
> Progress sometimes occurs in small steps.  But I'm running off at the
> mouth, so I better quit while I'm ahead.  See you all at the meeting on
> Wed.
>
> (I've got my browser (mozilla 1.1) set, as far as I can tell, to send
> this in text mode, so if it fails and sends it in html, please let me
> know).
>
> TIA.

Reply via email to