I wrote a simple script today to get all the partitions on all the disks and then create fstab entry with them. The script also gets the UUID and uses the same to make the entry ![]()
[cce_bash]
#!/bin/bash -
#===============================================================================
#
# FILE: mount_add_all.sh
#
# USAGE: ./mount_add_all.sh
#
# DESCRIPTION: Find all the disk partitions and all those that are not present
# in the fstab.
#
# OPTIONS: —
# REQUIREMENTS: —
# BUGS: —
# NOTES: —
# AUTHOR: Amit Agarwal (AKA), amit.agarwal@amit-agarwal.co.in
# COMPANY: Individual
# VERSION: 1.0
# CREATED: 06/19/2010 10:44:34 PM IST
# REVISION: 0.1
#===============================================================================
file=”/tmp/fstab”
disk_types=(hd sd)
count=${#disk_types}
I have been thinking of putting this for quite some time now. By default no user (other than root) on Fedora 11 has the permission to mount CD/DVD and or ntfs/vfat partitions. So HAL automount does not work for these.
Fedora 11 Leonidas — Fix HDD (Hard Disk) and CD/DVD automount issues for users other than root.| Hot: |
If you have to manage some ftp site, I can understand you pain in managing the site with FTP. Specially if you are managing a site where you need to edit the files. Without shelling out some decent amount of money you will not get decent editor which can help you edit the files directly over ftp. So today I spent my time looking for a good solution and UREKA I found it.
Working with FTP Directories. Working with FTP Directories.






















