LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   how to mount devices not shown in /ect/fstab??? (http://www.linuxquestions.org/questions/slackware-14/how-to-mount-devices-not-shown-in-ect-fstab-127322/)

len 12-19-2003 02:46 PM

how to mount devices not shown in /ect/fstab???
 
slackware 9.1, system has a zip drive that i'd like to mount. the first thing that comes to mind, is to edit /ect/fstab to reflect this device, though i am uncertain how to do this correctly. at present, it wasn't detected at initial install, so it isn't in /ect/fstab.

a second issue, is i would like to mount a different linux os partition (mandrake 9.1- currently non bootable) that isn't in /ect/fstab either, and would appreciate some pointers in this regard as well.

trickykid 12-19-2003 02:55 PM

mount -t <filesystem-type> <device> <mount point>

Example: (If I wanted to mount a windows partition formatted as FAT>

mount -t vfat /dev/hda1 /mnt/windows

mount = command
-t vfat = type of filesystem its formatted as
/dev/hda1 = location of drive and partition its located at
/mnt/windows = my empty directory to view the contents of the drive


For more details, read the man pages on:

man mount
man fstab

gnashley 12-19-2003 06:01 PM

Your zip drive should be sda4
try:
mkdir /mnt/zip
mount -t vfat /dev/sda4 /mnt/zip
cd /mnt/zip
ls

If that doesn't work try:
dmesg | less
and look through the boot messages for a reference to your zip drive, should be sd??


All times are GMT -5. The time now is 09:46 PM.