On 4/23/07, <b class="gmail_sendername">Lance Duivenbode</b> <<a href="mailto:plug@duivenbode.id.au">plug@duivenbode.id.au</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just a few 'tips' from a long-time Linux user who should have known better....<br><br>#1 - Partition Structure<br>Always know what the partition structure is on the machine you are *currently*<br>working on. Just because your work machine uses /dev/hda for its partitions
<br>and /dev/sda for your thumbdrive, it does not mean that it is the same on all<br>machines. On the rare occasion you are actually at home, it could be that<br>your machine uses /dev/sda for it's partitions and /dev/sdb for your
<br>thumbdrive.</blockquote><div><br>Indeed. Especially now since libata all drives will (probably) be sd<something> instead of hd<something>...<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
#2 - Partition ID's<br>Just because a partition is marked as HPFS/NTFS in the partition table, it<br>does not mean that mke2fs will respect that. Which leads me to tip #3....</blockquote><div><br>Well to be fair a partition ID doesn't imply anything about the filesystem...
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">#3 - mke2fs<br>mke2fs is extremely quick and unforgiving. Before you can say - wait that's my
<br>Windows partition - it's all over :(</blockquote><div><br>Would you prefer it to be slower? I'm sure you can chuck a few sleeps in the source ;) </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
#4 - Backups<br>Always keep backups - even of your window's system!<br></blockquote></div><br>Indeed, but if you're trashing Windows, you're probably beating it to the chase anyway.<br><br>Bad luck anyway ;)<br>
<br>Tomasz<br>