VectorLinux
October 31, 2014, 07:30:36 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: mount window on VL70 light  (Read 1677 times)
ted_chou12
Member
*
Posts: 31



« on: September 26, 2012, 09:53:08 pm »

Hi, I am troubled that a mount window that pops up before when I plug in usb flash drive or insert cds (a small window probably 200x200 that has mount and umount buttons) which detects the hardware mounts recently does not pop up anymore, I wonder where this script is, if I have accidentally disabled it or I can edit it somehow?
Thanks,
Ted
Logged
Metodej
Member
*
Posts: 9


« Reply #1 on: September 27, 2012, 01:10:34 am »

Hi.
What desktop enviroment are you using (Fluxbox, XFce, Kde,...)? ..

Did you make any changes before it stopped working (upgrade some packages, kernel, etc)?

After plugging usb flash drive, run command dmesg and paste output here (just the last part where you can see the information about connected device).
Logged
ted_chou12
Member
*
Posts: 31



« Reply #2 on: September 27, 2012, 01:49:15 am »

I think my system is LXDE if I am not wrong.
Code:
root:# uname -a
Linux server 3.0.17 #1 SMP Fri Jan 20 08:54:56 MST 2012 i686 Intel(R) Celeron(R
 CPU 2.40GHz GenuineIntel GNU/Linux
I currently turn it on server mode, not gui mode so I think the uname appears as server.
Code:
[10044.806863] sr 3:0:0:0: [sr0]  Result: hostbyte=0x00 driverbyte=0x08
[10044.806872] sr 3:0:0:0: [sr0]  Sense Key : 0x5 [current]
[10044.806880] sr 3:0:0:0: [sr0]  ASC=0x64 ASCQ=0x0
[10044.806887] sr 3:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 10 00 00 01 00
[10044.806903] end_request: I/O error, dev sr0, sector 64
[10044.807642] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
[10301.914041] usb 1-3: new high speed USB device number 7 using ehci_hcd
[10302.031345] usb 1-3: New USB device found, idVendor=05dc, idProduct=a769
[10302.031353] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[10302.031358] usb 1-3: Product: USB Flash Drive
[10302.031361] usb 1-3: Manufacturer: Lexar
[10302.031365] usb 1-3: SerialNumber: ZK0PS7ODE95Q8NYSJ4VY
[10302.033691] scsi9 : usb-storage 1-3:1.0
[10303.428546] scsi 9:0:0:0: Direct-Access     Lexar    USB Flash Drive  1100 PQ
: 0 ANSI: 0 CCS
[10303.428986] sd 9:0:0:0: Attached scsi generic sg7 type 0
[10303.433300] sd 9:0:0:0: [sdg] 7700480 512-byte logical blocks: (3.94 GB/3.67
GiB)
[10303.434367] sd 9:0:0:0: [sdg] Write Protect is off
[10303.434377] sd 9:0:0:0: [sdg] Mode Sense: 43 00 00 00
[10303.435479] sd 9:0:0:0: [sdg] No Caching mode page present
[10303.435487] sd 9:0:0:0: [sdg] Assuming drive cache: write through
[10303.439283] sd 9:0:0:0: [sdg] No Caching mode page present
[10303.439290] sd 9:0:0:0: [sdg] Assuming drive cache: write through
[10303.440695]  sdg: sdg1
[10303.443406] sd 9:0:0:0: [sdg] No Caching mode page present
[10303.443413] sd 9:0:0:0: [sdg] Assuming drive cache: write through
[10303.443419] sd 9:0:0:0: [sdg] Attached SCSI removable disk
Thanks,
Ted
Logged
nightflier
Administrator
Vectorian
*****
Posts: 4026



« Reply #3 on: September 27, 2012, 02:55:05 am »

The feature you describe is unique to VL7 Light with IceWM.
Scripts are in /usr/local/bin/ (udev-find/mon/popup).
They are invoked from ~/.icewm/startup. Look for the "# auto-mount" section.

If you run LXDE, the auto-mounting takes place within the file manager PCManFM.
Logged
ted_chou12
Member
*
Posts: 31



« Reply #4 on: September 27, 2012, 03:53:07 am »

Thanks nightflier! I believe it is indeed the feature that you are describing. In addition, i have found the following line in /home/ted/.icewm/startup:
Code:
# auto-mount
udev-mon --exec-on-drive "udev-find %f %d drive" --exec-on-disc "udev-find %f %d optical" &
But when I attempt to enter this into the terminal, no command is found:
Code:
root:# udev-mon
bash: udev-mon: command not found
server://home/ted
root:# udev-find %f %d drive
bash: udev-find: command not found
server://home/ted
root:# udev-mon --exec-on-drive "udev-find %f %d drive" --exec-on-disc "udev-find %f %d optical"
bash: udev-mon: command not found
and I can't find the /usr/local/bin directory:
Code:
root:# cd /usr/local
server://usr/local
root:# ls
etc/  games/  include/  info/  lib/  man/  sbin/  share/  src/
I don't recall removing this folder though, how can I restore this feature?
Thanks,
Ted
Logged
nightflier
Administrator
Vectorian
*****
Posts: 4026



« Reply #5 on: September 27, 2012, 03:51:41 pm »

You can extract these files from your VL7-Light ISO file, or a CD burned with the image. This needs to be done as root.

For an ISO:
Code:
mount -o loop /path/to/VL7.0-LIGHT.iso /mnt/loop
For a CD:
Code:
mount /dev/cdrom /mnt/cdrom
Now navigate to the mount point, then continue to the "config" folder.
Find a file named "option1.txz".
You can manually extract whatever you want from the archive,
or re-install everything with command
Code:
installpkg option1.txz
Logged
ted_chou12
Member
*
Posts: 31



« Reply #6 on: September 27, 2012, 09:05:49 pm »

thanks! btw, I tried searching this issue online, although info was limited but the scripts seems to be written by you? (icewmvmods) awesome!
« Last Edit: September 27, 2012, 09:08:36 pm by ted_chou12 » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!