Script to add all the partitions to the fstab.
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 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
Related articles by Zemanta
- Fedora 11 – Mount options for vfat and other volumes for automount. (amit-agarwal.co.in)
- ESX4 cannot create datastore (edugeek.net)
- Creating a Partition on an External Hard Drive (brighthub.com)
- Partition Assistant v2.1 (lockergnome.com)
Related Articles:
- 2010/05/19 bash script to change icon theme to check out all the installed themes (personal)
- 2010/05/07 bash script to periodically change the cursor theme.
- 2010/06/09 Scripts to create logins from bash command – for creating multiple accounts
- 2010/05/24 Menu driven ssh.
- 2010/04/11 Bugzilla Automation with perl — add, update or query any bug in Bugzilla using perl and www series modules for perl.

Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.