LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-02-2007, 04:00 PM   #1
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 295

Rep: Reputation: 30
Rox + Icewm + Usb memories


Hello,

in a few days i'll need to install etch on a quite old p2 with 96 mega ram, and i have choosed to install it with icewm + rox for quite good usability.

I don't yet know how to mount/umount graphically ( without command line ) usb sticks. Or dinamically creating mountpoint on /media when the stick is inserted would be enought.

At least 10 different keys will be used ( and more in the future ), and also a memory card reader for digital cameras, so the fstab solutions won't work ( sda sda1 sda2 sdb sdc sdc1... who knows? ).

What should i try?

Tya.
 
Old 04-03-2007, 01:46 AM   #2
Kallio
LQ Newbie
 
Registered: Nov 2006
Location: Finland
Distribution: Debian, Ubuntu, SalixOS
Posts: 9

Rep: Reputation: 0
Hi,
Fstab solutions should work for usb sticks though; unfortunately I dont't know the solution for digital cameras. This might be repeating something you already know, but I put it here just in case.

For usb-sticks:

Modify /etc/fstab file; add a line or lines like this for each mount point you want to have

/dev/sda1 /media/usbstick1 vfat rw,user,noauto 0 0

-substitute vfat if there some other file system on the stick, like ext2
-name the "usbstick1", "usbstick2" as you like & substitute /dev/sda1, /dev/sdb1 etc according to the names that your machine has for port(s). (I am writing this on my office Windows-computer, and I don't in fact remember exactly how they are named on my computer but I can check that at home)

Then, from the command line, make a directory/ies for the usb stick(s)

# mkdir /media/usbstick1

create symbolic link(s)

# ln -s /dev/sda0 /media/usbstick1

Now there should be a rox directory icon for /media/usbstick1 with a small circle in the corner. When you click the icon, the stick should be mounted and a rox window opens (and the circle turns green). When you close the rox window, it asks you whether you want to unmount the disk or or not. You can also mount/unmount it by pressing right mouse button on the directory icon, and choosing mount/unmount from the menu.

I've put the /media/usbstick1 on the rox panel so it's easily accessible with one click.

More information:
<http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Flash-Memory-HOWTO.html>

Cheers
Petra

Last edited by Kallio; 04-03-2007 at 01:47 AM.
 
Old 04-03-2007, 03:12 AM   #3
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 295

Original Poster
Rep: Reputation: 30
Thank you, but situation is different. You have only 1 stick.

For example, there could be an usb key that mount with sda4 if plugged for first ( actually an mp3 player ), sdb4 if plugged for second, another one that mount with sda, another one with sda1, another one ( an sd memory card with the reader ) with sdc1 if plugged for first...

This computer needs to be used by previously windows users, they will say linux is a s**t if i tell them to type dmesg |tail, look, and mount from command line with something like

sudo mount -t vfat -o rw,user,noauto,showexec /dev/sdd1 /media/usb1/

It is ways too complex.

Udev solution, as wrote in the howto, leads to nothing, since i can't have information about every key that will be used.
 
Old 04-04-2007, 07:28 AM   #4
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 295

Original Poster
Rep: Reputation: 30
I have seen an interesting page here .

I have tried it and i have seen that the key, on my pc, is extremely slow, due to the sync option.

Without sync, i don't know how can i umount the key...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Thanks For the Memories vls LQ Suggestions & Feedback 2 07-12-2006 11:27 PM
ROX and ROX Filer cb951303 Linux - Software 1 04-17-2005 03:47 PM
Is there any other memories I can use in this machine? Mega Man X Linux - Hardware 3 11-13-2004 08:10 PM
Icewm and Rox tims1979 Linux - Newbie 2 08-02-2004 02:53 AM
ROX icewm funny_harry Linux - General 5 01-11-2004 11:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration