Mounting non linux partitions

From: D.S. (donstock_at_nospamcox.net)
Date: 03/19/05


Date: Sat, 19 Mar 2005 10:30:49 -0600

How would I write a script to mount non linux partitions? some are VFAT
and some are NTFS. I would also like to have full access (privilages)

I would like to have my root user password passed on as part of the script.

I've tried the following with no success, where <donald> is the user's name:

su
mount /dev/hda6 /home/donald/Desktop/WindowsFiles

su --password=rootpassword
mount /dev/hda6 /home/donald/Desktop/WindowsFiles

I have saved the script to my desktop with the .sh extension. Either
way, when I try running it, it still opens a terminal prompting me for
the root user password.



Relevant Pages

  • Re: Mounting non linux partitions
    ... I would also like to have full access (privilages) ... > I would like to have my root user password passed on as part of the ... > I have saved the script to my desktop with the .sh extension. ...
    (linux.redhat)
  • Re: A question about NTFS
    ... > everytime i upgrade the linux core i have to download a new version of the ... > ntfs on my machine. ... acquire a _kernel_ with the NTFS support enabled. ... write a script to do it. ...
    (Fedora)
  • Re: Verify File System
    ... > I need to write a script to remotely check several thousand computers ... > to determine if they are formatted with NTFS or FAT32. ...
    (microsoft.public.scripting.vbscript)
  • Re: How to change MAX_PATH value?
    ... Definitely not FAT or NTFS... ... the file system supports paths up to about 32,000 Unicode characters ... with each path component up to 255 ... the file, and starts your script. ...
    (comp.lang.perl.misc)
  • Verify File System
    ... I need to write a script to remotely check several thousand computers ... to determine if they are formatted with NTFS or FAT32. ...
    (microsoft.public.scripting.vbscript)