Amit Agarwal

Linux and Photography Blog
partner
contact

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}

Continue Reading »

Script to add all the partitions to the fstab.
Hot:sun Script to add all the partitions to the fstab.sun Script to add all the partitions to the fstab.sun Script to add all the partitions to the fstab.sun dark Script to add all the partitions to the fstab.sun dark Script to add all the partitions to the fstab.

 Script to add all the partitions to the fstab.

Technorati Tags: , , , , ,

Script to add all the partitions to the fstab.
mail

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.

Continue Reading »

Fedora 11 Leonidas — Fix HDD (Hard Disk) and CD/DVD automount issues for users other than root.
Hot:sun Fedora 11 Leonidas    Fix HDD (Hard Disk) and CD/DVD automount issues for users other than root.sun Fedora 11 Leonidas    Fix HDD (Hard Disk) and CD/DVD automount issues for users other than root.sun Fedora 11 Leonidas    Fix HDD (Hard Disk) and CD/DVD automount issues for users other than root.sun Fedora 11 Leonidas    Fix HDD (Hard Disk) and CD/DVD automount issues for users other than root.sun Fedora 11 Leonidas    Fix HDD (Hard Disk) and CD/DVD automount issues for users other than root.

Technorati Tags: , , , ,

Fedora 11 Leonidas — Fix HDD (Hard Disk) and CD/DVD automount issues for users other than root.
partner

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.

Continue Reading »

Working with FTP Directories.
Hot:sun Working with FTP Directories.sun Working with FTP Directories.sun dark Working with FTP Directories.sun dark Working with FTP Directories.sun dark Working with FTP Directories.

terms

Technorati Tags: , ,

Working with FTP Directories.
feedback

© 2010 Amit Agarwal | Entries (RSS) and Comments (RSS) | Valid CSS 2.1 Valid XHTML 1.0 Transitional

Powered by Wordpress 3.0.1, design by Abel, handcrafted by Abel County Laboratories, based on Wsg Standards Wsg Standards

mail

Switch to our mobile site

Page optimized by WP Minify WordPress Plugin