Triode wrote: 
> Any chance you could run squeeze-web-gui.lua manually with --debug 
> (stop the service, find it and start it manually as the relevant user,
> or check out from github and run from that version:
> https://github.com/CommunitySqueeze/squeeze-web-gui-lua)
> 
> All the interface does is run sudo unmount <mount point>, and I am not
> sure why it is getting a different mount point.  Can you correlate what
> is shown in the list of active mount points to what is passed to the
> unmount command?  [needless to say it looks to be doing the right thing
> to me, which is why I'm asking....]

Hi Triode,

I've re-run the same sequence of events as in yesterdays post, except
the Samsung drive is connected as /dev/sda1/  
I had the same problem, with the wrong drives being unmounted.  It
appears that clicking the 'Unmount' button for the Samsung drive (or in
fact any drive) is removing the drive that is displayed at the top of
the list in the GUI.

I went through and allowed it to remove each of the external drives in
turn until /dev/sda1 was removed and then mounted / unmounted that drive
repeatedly.  When it is the only drive listed this appears to work
fine...

The debug report:

Code:
--------------------
    
  [root@wandboard squeeze-web-gui-lua]# ./squeeze-web-gui.lua --debug
  [D 2014/03/07 15:13:17] capture: mount
  [D 2014/03/07 15:13:17] capture: mount
  [S 2014/03/07 15:13:17] [web.lua] 200 OK GET /storage.html (192.168.1.2) 70ms
  [D 2014/03/07 15:13:59] capture: sudo mount -t ntfs-3g -o nofail /dev/sda1 
/mnt/disk1
  [D 2014/03/07 15:14:01] capture: mount
  [D 2014/03/07 15:14:01] execute: sudo sp-fstabUpdate /tmp/conf.tmp
  [D 2014/03/07 15:14:01] execute: rm /tmp/conf.tmp
  [D 2014/03/07 15:14:01] wrote and updated fstab
  [D 2014/03/07 15:14:01] capture: mount
  [D 2014/03/07 15:14:01] capture: mount
  [S 2014/03/07 15:14:01] [web.lua] 200 OK POST /storage.html (192.168.1.2) 
2390ms
  [D 2014/03/07 15:14:39] execute: sudo umount /storage/Films
  [D 2014/03/07 15:14:39] capture: mount
  [D 2014/03/07 15:14:39] execute: sudo sp-fstabUpdate /tmp/conf.tmp
  [D 2014/03/07 15:14:39] execute: rm /tmp/conf.tmp
  [D 2014/03/07 15:14:39] wrote and updated fstab
  [D 2014/03/07 15:14:39] capture: mount
  [D 2014/03/07 15:14:39] capture: mount
  [S 2014/03/07 15:14:39] [web.lua] 200 OK POST /storage.html (192.168.1.2) 
317ms
  [D 2014/03/07 15:14:45] execute: sudo umount /storage/Music
  [D 2014/03/07 15:14:45] capture: mount
  [D 2014/03/07 15:14:45] execute: sudo sp-fstabUpdate /tmp/conf.tmp
  [D 2014/03/07 15:14:46] execute: rm /tmp/conf.tmp
  [D 2014/03/07 15:14:46] wrote and updated fstab
  [D 2014/03/07 15:14:46] capture: mount
  [D 2014/03/07 15:14:46] capture: mount
  [S 2014/03/07 15:14:46] [web.lua] 200 OK POST /storage.html (192.168.1.2) 
306ms
  [D 2014/03/07 15:14:50] execute: sudo umount /storage/Data
  [D 2014/03/07 15:14:50] capture: mount
  [D 2014/03/07 15:14:50] execute: sudo sp-fstabUpdate /tmp/conf.tmp
  [D 2014/03/07 15:14:50] execute: rm /tmp/conf.tmp
  [D 2014/03/07 15:14:50] wrote and updated fstab
  [D 2014/03/07 15:14:50] capture: mount
  [D 2014/03/07 15:14:50] capture: mount
  [S 2014/03/07 15:14:50] [web.lua] 200 OK POST /storage.html (192.168.1.2) 
296ms
  [D 2014/03/07 15:14:56] execute: sudo umount /mnt/disk1
  [D 2014/03/07 15:14:56] capture: mount
  [D 2014/03/07 15:14:56] execute: sudo sp-fstabUpdate /tmp/conf.tmp
  [D 2014/03/07 15:14:56] execute: rm /tmp/conf.tmp
  [D 2014/03/07 15:14:56] wrote and updated fstab
  [D 2014/03/07 15:14:56] capture: mount
  [D 2014/03/07 15:14:56] capture: mount
  [S 2014/03/07 15:14:57] [web.lua] 200 OK POST /storage.html (192.168.1.2) 
311ms
  [D 2014/03/07 15:15:12] capture: sudo mount -t ntfs-3g -o nofail /dev/sda1 
/mnt/disk1
  [D 2014/03/07 15:15:14] capture: mount
  [D 2014/03/07 15:15:14] execute: sudo sp-fstabUpdate /tmp/conf.tmp
  [D 2014/03/07 15:15:14] execute: rm /tmp/conf.tmp
  [D 2014/03/07 15:15:14] wrote and updated fstab
  [D 2014/03/07 15:15:14] capture: mount
  [D 2014/03/07 15:15:14] capture: mount
  [S 2014/03/07 15:15:14] [web.lua] 200 OK POST /storage.html (192.168.1.2) 
2373ms
  [D 2014/03/07 15:15:18] execute: sudo umount /mnt/disk1
  [D 2014/03/07 15:15:18] capture: mount
  [D 2014/03/07 15:15:18] execute: sudo sp-fstabUpdate /tmp/conf.tmp
  [D 2014/03/07 15:15:18] execute: rm /tmp/conf.tmp
  [D 2014/03/07 15:15:18] wrote and updated fstab
  [D 2014/03/07 15:15:18] capture: mount
  [D 2014/03/07 15:15:18] capture: mount
  [S 2014/03/07 15:15:19] [web.lua] 200 OK POST /storage.html (192.168.1.2) 
329ms
  
--------------------


------------------------------------------------------------------------
slackhead's Profile: http://forums.slimdevices.com/member.php?userid=13963
View this thread: http://forums.slimdevices.com/showthread.php?t=99395

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to