On Sat, Mar 23, 2002 at 05:33:39AM +0530, Nataraj S Narayanan wrote:
> 
> In my RH 6.2 machine, the depmod program seems to be currupt. How 
> do i extract just depmod binary from the modutils-2.4.3-1.rpm? 
> 

1. Copy the PACKAGE.rpm /tmp
2. Convert it to cpio with rpm2cpio.
   #rpm2cpio /tmp/PACKAGE.rpm > /tmp/PACKAGE.cpio
3. Extract the contents   
   #cpio --extract \
         --preserve-modification-time \
         --make-directories < /tmp/PACKAGE.cpio
4. Copy the desired file to the appropriate location manually.

>         
> Also ,which is the rpm to reinstall vfat and msdos modules ? 
> Something is wrong with my  system  that me can'nt mount the 
> Windows partition or floppy drive. Major or Minor number for 
> the device seems not to be found.
> 

No RPM deals with this. This is a portion of the kernel modules
which would be there in your /lib/modules.

Check if they are there, and then insert modules with insmod

#locate vfat.o
#insmod /path/to/vfat.o
#lsmod

Same for msdos.o. Note for most stock kernels, msdos support is
normally compiled in static, so it may not be needed.

HTH

Bish

--
:
####[ Linux One Stanza Tip (LOST) ]###########################
  
Sub : rpm quick hints                                LOST #158

Install   ... rpm -ivh package-ver.no.arch.rpm 
Upgrade   ... rpm -Uvh package-ver.no.arch.rpm
Remove    ... rpm -e foo
Query     ... rpm -qi foo   (display package info)
Query     ... rpm -ql foo   (list package contents)
PGP check ... rpm --checksig foo 

####<[EMAIL PROTECTED]>#####################
:

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to