Unmounting external USB drives in Ubuntu 9.04

2009/08/11 at 3:29 (Uncategorized) (, , , )

UPDATE root issue discussed below was fixed in Ubuntu 9.10 – unmounting and spinning down the drive works just fine from GUI

As some people know there are problems with correct unplugging of external USB hard drives on linux, Ubuntu in particular. The problem is that none of graphical managers support drive spindown when unmounting/ejecting the external hard drive. This can cause severe damage to HDD.

There’s an old bug in LP for that. The summary is that you can use a script by Clem-Vangelis and Dave Rosky to do the work. Later someone posted a link to scipt by Yan Li, which does even some more stuff.

But since Ubuntu 9.04 those scripts have stopped working – the drive kept spinning. Googling around I found a similar problem and found out the problem was in udev rules. There was a manul solution in comments of LP bug #388506 mentioning udev rules editing: in ubuntu 9.04 I needed to copy the 60-persistent-storage.rules file, modify ACTION!="add|change" to ACTION!="add". This way the scripts worked. Somehow when this rule is present my home partition couldn’t be mounted. So this rules file must be removed after external drive unmount.

To make things easier I merged the scripts by Clem-Vangelis,  Dave Rosky and Yan Li, updated it with udev rules workaround and done some other things. The script is as follows:

Read the rest of this entry »

Permalink 24 Comments

the day after tomorrow…

2008/04/23 at 22:10 (Uncategorized) (, , )

So what do we have:

LONDON, April 21, 2008 – Canonical Ltd. announced the upcoming availability of Ubuntu 8.04 LTS Desktop Edition for free download on Thursday 24 April

Ubuntu 8.04 Long Term Support (LTS) provides a stable platform for software and hardware vendors, developers and users.

….

It includes the latest, stable version of many core products, and in that spirit is the first distribution to bring Mozilla Firefox 3 (Beta 5) to millions of users.

These just don’t fit. I already see all upcoming articles and rants full of swearing and other negative stuff : (

Just think about it:

  • most of us use the PC mainly for web
  • we use Firefox™to do that
  • why do we use firefox? Riiight, the add-ons (I have 15)
  • what happens with the beta?? Righ on! some (or lots of, or only few of them??) add-ons don’t work
  • what do we have in the finalé? Right, a (semi)broken web-browser and broken user experience

All the poor users, who’ll click the “Upgrade” button only to find their firefox profile to be broken.

Broken till June? Hell no! the addons would catch up earlier. But then again read this and keep wondering why you can’t see the plugin’s minimal supported version on the new add-ons portal (I didn’t find, only some of them have the info in the comments).

What were they (the ubuntu release team) thinking®?

Here’s a link you might find usefull.

As for me, still comfy with good ‘ol 7.04. And right said, synchronise the releases!

Permalink 2 Comments

GParted LiveCD

2006/08/10 at 1:39 (Uncategorized) ()

It’s so great such programs exist. When I realised I almost screwed my Dapper installation….GParted saved me. Now I have extra unallocated_space for my OS experiments (ReactOS, FreeBSD, SLED etc).

It’s so great!!!

Permalink Leave a Comment