[KLUG Hardware] Re: USB Hardward

Bryan J. Smith hardware@kalamazoolinux.org
09 May 2002 11:45:02 -0400


On Thu, 2002-05-09 at 10:09, Jim Rix wrote:
> Adam
> Thanks for providing this information.  I do have two questions.
> 1.  How do I make the Linux side see the Windows side, i.e. the hard drive.

Just like Linux partitions and removable disks, all filesystems/mounts
are defined in /etc/fstab.  I wouldn't be surprised if RedHat already
set it up for you on installation.  Try:
   mount /mnt/dos

If there is line with "vfat" listed in the 3rd column in the /etc/fstab
file, then you'll have to find out what partition is Windows.  Run:
   fdisk -l /dev/hda     (as root)

Look for a partition type of "6" or "e" (FAT16), "b" or "c" (FAT32). 
Once you find out which one it is, put a line your /etc/fstab like the
following (replace "/dev/hda#" with the # being the correct one):

   /dev/hda#    /mnt/dos    vfat    noauto,user     0 0

If the partition type is "7" (NTFS), I recommend you make it "read-only"
with (it might be read-only by default in the kernel anyway, so you
won't be able to write to it):
   /dev/hda#    /mnt/nt     ntfs    noauto,user,ro  0 0

Make sure /mnt/dos or /mnt/nt directory (or whatever you want to use)
_exists_ before you try to mount it.

> 2.  I think the command to install the rpm for the modem is rpm -Uvh 
> *.rpm or is there a graphical program to install rpms?

gnorpm -- be sure you are root if you plan on installing anything.  It
takes a bit getting used when it comes to installing software.  At least
for me, it didn't act like I expected it to.

-- Bryan

-- 
The US government could be 100x more effective, and 1/100th the
Constitutional worry, if it dictated its policy to Microsoft as
THE MAJOR CUSTOMER it is, and not THE REGULATOR it fails to be.
---------------------------------------------------------------
Bryan J. Smith, SmithConcepts, Inc.   mailto:b.j.smith@ieee.org
Engineers and IT Professionals     http://www.SmithConcepts.com