ts-7000
[Top] [All Lists]

[ts-7000] Re: Mounting USB pendrive

To:
Subject: [ts-7000] Re: Mounting USB pendrive
From: "dokapra" <>
Date: Thu, 24 Apr 2008 19:13:16 -0000
--- In  "LaksCEO" <> wrote:
>
> 
>  Kevin Cozens wrote:
> 
> >Show us the lines you are using in rcS.sysinit to run the rc.local
file. If
> Here is the complete listing of rcS.sysinit
....
> 
> IF I MOUNT THE USB NOW AFTER THE LOGIN IT IS MOUNTED
> 
> THANKS IN ADVANCE
> 
> -laks
>
You can try with the script I am using:

#!/bin/sh
DEVPATH=/dev/scsi/host0/bus0/target0/lun0

insmod usbcore
insmod pcipool
insmod usb-ohci
insmod usb-ohci-ep93xx
insmod scsi_mod
insmod sd_mod
insmod usb-storage

# this cleans up part1 from dev, if it existed before, but usb stick
was removed afterwards
ls $DEVPATH > /dev/null

until test  -e $DEVPATH/part1
do 
  ls $DEVPATH > /dev/null
  usleep 100000
done

mount -t vfat $DEVPATH/part1 /srv/ -o
async,noatime,nodiratime,nodev,noexec,nosuid,gid=100,umask=002



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU