LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-21-2003, 04:09 PM   #1
maciejz
LQ Newbie
 
Registered: May 2003
Posts: 1

Rep: Reputation: 0
Executing scripts on a vfat partition


Is there any way to mount a vfat partition so that I can execute scripts located on the partition?

I've tried setting the options in the /stc/fstab file to include exec as you can see from the excerpt below:

/dev/hda5 /data vfat rw,exec,users,gid=users,umask=002,iocharset=iso8859-1 1 1


Any help on this would be greatly appreciated.

Thanks,

--Maciej
 
Old 05-21-2003, 05:10 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 587

Rep: Reputation: 32
My fstab line is following:
dev/hda1 /mnt/windows vfat rw,gid=500,umask=0 0 0
and everything is ok
 
Old 05-21-2003, 05:25 PM   #3
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Only problem might be vfat line ends differ to *nix ones, and text based scripts might fall over that.
 
Old 05-21-2003, 06:35 PM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
you could type
source /mnt/hda1/script
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem executing scripts on mounted fat32 partition roald Linux - General 8 06-14-2004 07:02 AM
Executing scripts upon login jungatheart Linux - Newbie 3 04-19-2004 07:06 PM
Executing Files on a vfat partition pymehta Linux - Newbie 3 01-23-2004 06:04 AM
Executing Shell Scripts? l0f33t Linux - General 7 08-17-2003 04:36 PM
Executing shell scripts justinv Linux - General 6 01-26-2003 08:57 AM


All times are GMT -5. The time now is 05:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration