Mount Command
I have Install Redd hat linux 7.2 .Now i want to mount my windows software drive which is /hdb6.I have written the mount command in /etc/mtab file.Like
mount -t vfat /dev/hdb6 /mnt/soft but when i restart my compuetr ,this line of mount coomand is noot there and my dirve is get mounted. so pls anybody tell me how can i mont my drive permanantly. |
mtab shows currently mounted partitions, you should be editing fstab try man fstab for detailed instructions
happy hunting, jrtayloriv |
Don't use mount. Add this line to your /etc/fstab instead:
Code:
/dev/hdb6 /mnt/soft vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0 |
/etc/mtab is created automatically and represents all mounted filesystem. If you would like to mount a filesystem on bootup, you need to add this to /etc/fstab.
The syntax is little different from the commend you would use on command line. In one line, you put information on 1. device (/dev/hdb6) 2. mountpoint (/home) 3. filesystem (ntfs) 4. options (auto,users,umask=000) 5. some special info, how fsck has to treat the partition (mostly 0 0) See man fstab and man mount for further details. |
All times are GMT -5. The time now is 03:39 PM. |