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)
  • NTFS Permissions via VBScripting
    ... I can quickly get all of the share permissions for all of the shared folders ... I am also able to get all of the NTFS ... What I am looking to do is to create a VB script that will take care of ... And, since this will be for a client, the output has to be "user ...
    (microsoft.public.scripting.vbscript)
  • Re: NTFS Permissions via VBScripting
    ... I can quickly get all of the share permissions for all of the shared ... However, the NTFS ... And, since this will be for a client, the output has to be "user ... create a generic VBScripting script that I can use in all environments ...
    (microsoft.public.scripting.vbscript)
  • 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)