Add partition in /etc/fstab file.

For ex, append with this line to mount /de/sda5 to /media/abhijeet

/dev/sda5 /media/abhijeet ntfs-3g defaults 0 0 

To get it more clear, my /etc/fstab file looks like 
###############################################
#                                                                               
                                                                                
                                          
# /etc/fstab: static file system information                                    
                                                                                
                                          
#                                                                               
                                                                                
                                          
# <file system>        <dir>         <type>    <options>          <dump> <pass> 
                                                                                
                                          
devpts                 /dev/pts      devpts    defaults            0      0     
                                                                                
                                          
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0     
                                                                                
                                          
                                                                                
                                                                                
                                          
#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0    
                                                                                
                                          
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0    
                                                                                
                                          
#/dev/fd0               /media/fl   auto    user,noauto             0      0    
                                                                                
                                          
                                                                                
                                                                                
                                          
UUID=10e85cc6-0231-4787-8081-b68cabfe7235 / ext4 defaults 0 1                   
                                                                                
                                          
UUID=cf67b3f5-ffa0-4a81-af41-62fe08d5e826 swap swap defaults 0 0                
                                                                                
                                          
/dev/sda5 /media/abhijeet ntfs-3g defaults 0 0                                  
                                                                                
                                          
/dev/sda6 /media/misc1 ntfs-3g defaults 0 0                                     
                                                                                
                                          
/dev/sda7 /media/misc2 ntfs-3g defaults 0 0



Regards,
Abhijeet ( http://www.google.com/profiles/abhijeet.1989 )
Blog: http://linux-junky.blogspot.com 

On Saturday 26 June 2010 22:39:48 1121 wrote:
> how to put automatically mount this on boot. I use Fedora 12.

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup

Reply via email to