Removing duplicate Nook Main Memory folders in /media

I have a Nook. When I plug it into the USB port on my system, a window pops up asking what I want to do with the new device. I can open it and access media/nook and move files into and out of the directory.

There’s a button to “Safely dismount Nook” before I unplug it. I use that. Apparently, however, sometimes it doesn’t respond.

Now I have .hal-mtab-lock in my /media folder, along with Nook Main Memory and Nook Main Memory (1) folders. I can’t delete any of them.

How do I a) delete these folders, and b) make sure it actually unmounts the device in the future?

You’re most likely trying to delete them as a regular user. You need to be root.

No, I opened a command line, logged in as root and tried. When I try to delete Nook Main Memory, it says the folder doesn’t exist (though that’s how it shows up when I use ls in /media).

On Tue, 05 Oct 2010 17:36:02 +0000, Roy Preston wrote:

> No, I opened a command line, logged in as root and tried. When I try to
> delete Nook Main Memory, it says the folder doesn’t exist (though that’s
> how it shows up when I use ls in /media).

I also have a nook - but I don’t see this particular issue.

What’s in /media when the device is not connected?

What I typically do is drop to a CLI and just eject the drives (as I have
a microSD card in my Nook as well, it shows up as a second device) - it
usually takes two tries, though.

Also, which DE are you using - GNOME, KDE, or some other - and which
version of openSUSE?

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Ordinarily there’s nothing /media. My Nook (a recent acquisition) is the only portable device I connect to my computer.

I’m running OpenSuse 11.2 with KDE 4.3.5.

How do you eject the drives?

On Tue, 05 Oct 2010 21:36:02 +0000, Roy Preston wrote:

> Ordinarily there’s nothing /media. My Nook (a recent acquisition) is the
> only portable device I connect to my computer.
>
> I’m running OpenSuse 11.2 with KDE 4.3.5.
>
> How do you eject the drives?

I just use the ‘eject’ command:

eject /dev/sdg; eject /dev/sdh

Usually have to issue it twice. I think if I did it from my GNOME
desktop, it would just work, but I’m an old CLI addict. :wink:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On Tue, 05 Oct 2010 23:18:42 +0000, Jim Henderson wrote:

> On Tue, 05 Oct 2010 21:36:02 +0000, Roy Preston wrote:
>
>> Ordinarily there’s nothing /media. My Nook (a recent acquisition) is
>> the only portable device I connect to my computer.
>>
>> I’m running OpenSuse 11.2 with KDE 4.3.5.
>>
>> How do you eject the drives?
>
> I just use the ‘eject’ command:
>
> eject /dev/sdg; eject /dev/sdh
>
> Usually have to issue it twice. I think if I did it from my GNOME
> desktop, it would just work, but I’m an old CLI addict. :wink:

I should also add that my wife also has a Nook (same oS release, but
GNOME as mine is), and she uses Calibre’s eject function and it works
very well.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C