Installation / Removal > Sandisk - Installation/Removal

e260 (not R), MSC mode, Linux, sansapatcher, OEM fW v01.02.18A [SOLVED]

<< < (3/4) > >>

mmmmna:
Thanks for the idea, onionfyre. I use KDE, not Gnome (funny you should mention Nautilus... I left Gnome mostly because when Gnome first started using Nautilus, Nautilus choked the system I was using so badly that I tried KDE and have not returned to Gnome since).

My /etc/mtab and my /etc/fstab before automagic mounting of the Sansa
AND as normal user are:


--- Quote from: mtab ---[mmmmna@localhost ~]$ more /etc/mtab
/dev/hda1 / ext3 rw,noatime 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,mode=0620 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/hda3 /home ext3 rw,noatime 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
[mmmmna@localhost ~]$

--- End quote ---
and
--- Quote from: fstab ---[mmmmna@localhost ~]$ more /etc/fstab
## fstab created by Livecd-install

none    /proc   proc    defaults        0 0
none    /dev/pts        devpts  mode=0620       0 0
none    /proc/bus/usb   usbfs   defaults        0 0

# /dev/hda1, size=23438772, type=131: Journalised FS: ext3 (primary)
/dev/hda1 / ext3 noatime 1 1

# /dev/hda2, size=5076540, type=130: Linux swap (primary)
/dev/hda2 swap swap defaults 0 0

# /dev/hda3, size=49624785, type=131: Journalised FS: ext3 (primary)
/dev/hda3 /home ext3 noatime 1 2

# cdrom: SONY CD-RW/DVD-ROM CRX830E
#       /dev/hdb        /media/cdrom    auto    user,exec,ro,noauto     0 0
[mmmmna@localhost ~]$
--- End quote ---

I haven't the time right now to get same files as root AND after automagic mounting of the Sansa, but might these offer a clue?

orionfyre:
If I'm not mistaken KDE shows the sansa on the desktop as well, and provides an "unmount" option through it's respective context menus.

If there's no context menu, or you feel like being all hacker-like you can do the following
use cat to list the contents of mtab. pipe that into grep looking for known text of the line we want ("sansa" in this case) further pipe that output into awk to print the first column of that line which is the location of the drive mounted. we use that resulting output passing it into umounts option area.


--- Code: ---umount `cat /etc/mtab | grep -i sansa | awk '{print $1;}'`
--- End code ---

prepend that with sudo if you're using the su layer.

I've added that into my /.bashrc as an alias for umountsansa so that when I type that it un-mounts the drive no matter what device block it was assigned.

mmmmna:
Yeah, when the KDE UI detects the Sansa, I get a new icon on the desktop called 'Sansa e200 Series' and it's a realistic looking (not generic!) icon.

Sadly, within PCLOS & KDE, the last time I tried to use a 'context menu' to 'unmount' a Compact Flash card (and possibly also the same happened when issuing a context menu 'eject' for a CD, but I'm not sitting at that system right now), I had an error message saying 'only root' could do that. I believe the automounter daemon uses root privileges for mounting the devices, but it also gathers enough information and ultimately assigns the active system user appropriate read/write access to the automagic device according to some demoniacal incantation (or was that a configuration file?). Something like that, I think. In any event, the safest means for removing the automounted devices seems to be the Microsoftian "Safely Remove" option from the context menu.

I prefer to leave the deeper umount and .bashrc things to the distro devs; I've tried such methods and the result has rarely been within the full context of what the developers implemented in the whole UI configuration (meaning that it might work for this one thing, but then this breaks some other portion of the UI experience which I'd rather not disturb).

I will, however, try the 'safely remove' idea, at some point. Right now, too much going on at home versus making a UI change on a media player that already works well enough as-is. I will try to revisit this soon.

MarcGuay:
Are you sure it's not a Rhapsody model?  Your first post says it is but the title says it's not.  If it is a Rhapsody model, you need to follow the instructions here:  http://www.rockbox.org/twiki/bin/view/Main/SansaE200RInstallation.

mmmmna:
Actually, my first post says:
--- Quote from: my first post ---my wife had a Sansa e240r which she bought from BestBuy
--- End quote ---
Been there, done that, know how it feels, empathy expressed.

I am only as sure as these images (which I shot tonight) have convinced me to be: Backside, Version screen, USB Modes. IIRC, the current firmware on my e260 came from a link which I found here at Rockbox. At one time, I had a massive database problem and that firmware had been installed in hopes of fixing the database problem (installing the displayed firmware ultimately didn't fix my database problem, I simply left that firmware version installed and moved ahead; instead, I touched a 'sansa.fmt' file which ultimately fixed my database problem).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version