Sid Arth wrote:
What do you mean by unnecessary? If you do not want to access files in those drives, you can unmount them with:Hi, is there a command I can use that unmounts all unnecessary drives? And what command can I use to just unmount one drive?
# umount /path/to/mount/point That will unmount just one drive. You can issue the command: # umount -ato attempt to unmount *all* the drives. Note that the root filesystem cannot be unmounted.
If you don't want a particular drive to be mounted at the next reboot, edit the file '/etc/fstab' and comment out the corresponding lines.
If you are just looking for a way to suppress all the drive icons on your desktop (assuming you are using gnome) issue the command:
$ gconftool -s /apps/nautilus/desktop/volumes_visible -t bool false hth, Rajkiran