Script to add all the partitions to the fstab.

2010-06-24 5 min read bash Fedora
I wrote a simple script today to get all the partitions on all the disks and then create <a class="zem_slink freebase/en/fstab" title="Fstab" rel="wikipedia" href="http://en.wikipedia.org/wiki/Fstab">fstab entry with them. The script also gets the <a class="zem_slink freebase/en/universally_unique_identifier" title="Universally Unique Identifier" rel="wikipedia" href="http://en.wikipedia.org/wiki/Universally_Unique_Identifier">UUID and uses the same to make the entry 🙂 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Continue reading

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

2010-06-22 1 min read Fedora
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. Here is something you can do to fix this: Open System-> Preferences -> Authourizations <a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-Authorizations.jpg"><img class="size-full wp-image-905" title="Screenshot-Authorizations" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-Authorizations.jpg" alt="Screenshot-Authorizations" width="800" height="700" /> Now, go to org -> hal -> storage and make the changes to suit your needs. Continue reading

Working with FTP Directories.

2010-05-19 1 min read Linux
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

Disk identification by UUID in Fedora.

2010-05-19 2 min read Gnome Linux
Yesterday I managed to delete my complete /usr directory and thus had to re-install my OS but I learned something new yesterday which I didn&#8217;t know earlier or actually never bothered to find out.br /br /All the partitions are mounted by udev using the UUID or label now. Finding the label of setting the label is easy but that was not the case with UUID (at least till you dont know how to do it). Continue reading

Fedora 11 - Mount options for vfat and other volumes for automount.

2010-03-11 2 min read Fedora
I have been searching to look for how to change the default umask and dmask for the auto-mounted directories. I searched all the google and bing pages that I could, but to no avail. But I found some interesting info though. Fedora now uses DeviceKit for managing the disks and Devicekit calls udev for actually mounting and unmounting the disks. The operation is controlled by policykit to determine who can do what? Continue reading

Mount and unmount/umount images(iso/img) from nautilus (Fixed not mounting in Fedora)

2010-03-09 2 min read Fedora Gnome
Get the Nautilus Script <a href="http://gnome-look.org/content/show.php/moiso?content=84301" target="_blank">here. So what is required is that you have the necessary permission to run mount and umount as normal user with sudo command. If you are using gksu or gnomesu then you can change this in the script that you will get. Once you have got the script then you can run the installer for the script that comes in the package. If you are running this is Fedora then you would need to make one more change other than the ones done by the installer, which is to allow sudo from non tty devices. Continue reading