Yeah, I just realized this morning that fstab is the placed to do that, but I didn't know what to put in the entry.
Thanks Mark H. for supplying the entry info On Mon, Mar 22, 2010 at 12:53 AM, Trevor Benedict <mre...@gmail.com> wrote: > Why are you not using /etc/fstab, and have that mount the drive. > I dont see the point in mounting something on login... very very weird. > -- Trevor > > On Sun, Mar 21, 2010 at 4:33 PM, Paul Saenz <forensicneoph...@gmail.com>wrote: > >> First, I ran the following command >> >> mkdir /media/disk >> >> I put the following command in the .bashrc file: >> >> mount /dev/sda2 /media/disk >> >> It does not mount, and when I open the terminal after >> booting, it asks for the sudo password. >> >> is there a work around for that. >> >> I also tried making a script with root powers that would >> do the same thing, but it would not work. >> >> I realize that it might not be safe to put a script with root powers >> in the home folder, but I just wanted to see if it works, and then >> remove it. >> >> does anyone know of a way that I can accomplish what I want to? >> >> Thanks >> Paul >> >> _______________________________________________ >> LinuxUsers mailing list >> LinuxUsers@socallinux.org >> http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers >> >> > > _______________________________________________ > LinuxUsers mailing list > LinuxUsers@socallinux.org > http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers > >
_______________________________________________ LinuxUsers mailing list LinuxUsers@socallinux.org http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers