LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2002, 04:44 PM   #1
BruceLeroy
LQ Newbie
 
Registered: Jan 2002
Location: miami,fl
Distribution: Redhat 7
Posts: 24

Rep: Reputation: 15
Where do I save my aliaseses'..aliasi?


I made an alias to mount my Win2k partion:alias mntwin='mount -t vfat /dev/hda1 /windows' , but I cant make it stick when I reboot. I've tried saving it to /etc/bashrc and /root/bashrc, but neither has worked. Any help? BTW, please give me an example so I know what it looks like. I use pico as my file editor.....Oh, and how can I get the mounted partiton to automatically mount upon reboot? I tried editing the /etc/fstab file, but it didnt work. This is more or less what my fstab edit looks like..

/mnt/hda1 /mnt/hda1 vfat user,auto,rw 0 0


I'm not in Linux now, so I cant be exact.:smash:
 
Old 01-25-2002, 10:31 PM   #2
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Your fstab file line should look like this:

/dev/hda1 /windows vfat user,auto,rw 0 0
 
Old 01-27-2002, 06:36 AM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Quote:
Originally posted by linuxcool
Your fstab file line should look like this:

/dev/hda1 /windows vfat user,auto,rw 0 0
/dev/hda1 being the device to mount, in this case first ide device on first ide controller(a) and first partition on disk(1).

/windows being the directory in your filesystem tree you whant to mount your windows partition. Remember to make the directory before trying to mount it, mkdir /windows
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I save to XF86Config? Joe Belmaati Linux - Newbie 4 11-12-2004 05:43 AM
save my h/d alaios Linux - Hardware 3 12-13-2003 12:04 PM
where to save in VI DTre08 Linux - Software 3 07-15-2003 02:17 AM
save me some work! dalton9267 Linux - Newbie 10 03-13-2003 10:52 PM
Save her..... A-dummy General 5 08-15-2002 01:00 PM


All times are GMT -5. The time now is 11:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration