Thread: shell scripts
View Single Post
Old 18-03-2005, 10:29 AM   #5 (permalink)
grub
Right Off the Assembly Line
 
Join Date: Mar 2005
Location: before you
Posts: 10
Default

Quote:
hello everyone, i recently installed PCQlinux..........but the thing that i dont like is to mount the ntfs filesystem each n every time(to listen to songs)......... i want to know how can i make a shell script which automatically runs when i start my linux (i.e. mount -t ntfs /dev/hda5 /root/abc command automatically runs).
i mean i want to put this script in startup.......any ideas???
follow the steps
Code:
 # vi  /etc/fstab
add the following line
Code:
 /dev/hda5    ntfs    /root/abc    users,owner,ro  0  0
save ur work and issue the command
[code[
# mount -a
[/code]
or u can restart ur system , next time ur partition will mount automatically
__________________
live life linux size
grub is offline