Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 05-21-2003, 03:09 PM   #1
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.


Old 05-21-2003, 04:10 PM   #2
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

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, 04:25 PM   #3
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, 05:35 PM   #4
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,195

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


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 06:02 AM
Executing scripts upon login jungatheart Linux - Newbie 3 04-19-2004 06:06 PM
Executing Files on a vfat partition pymehta Linux - Newbie 3 01-23-2004 05:04 AM
Executing Shell Scripts? l0f33t Linux - General 7 08-17-2003 03:36 PM
Executing shell scripts justinv Linux - General 6 01-26-2003 07:57 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:47 PM.

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