OpenSUSE Hardware :: Script To Automount Pendrives?

Feb 14, 2010

I want to be able to easily mount and unmount my pendrives, and I want them to be automounted as soon as they are plugged in.However:The plasmoid Device Notifier does not automount. The plasmoid device notifier with automount is not being developed anymore (AFAIK) and I haven't been able to install it. Whenever I mount a pendrive with the Device Notifier and write sth to it with thunderbird, I can't unmount it afterwards.I don't know how to get ivam working. Halevt is not in the repositories.Therefore, I tried with the following messed up alternative:1) I placed the following script in the autostart folder:

Code:
#! /bin/bash
rm -f /tmp/de-mounted.txt

[code]....

View 2 Replies


ADVERTISEMENT

Ubuntu :: Writing Cache In USB Pendrives

Feb 23, 2010

Whenever I plug-in my USB 8gb pendrive to copy a large file, it takes eons. Using Ubuntu 9.10 for AMD64. At first it copies a file at high speeds, because it's not actually writing to the USB but to the cache; at 500-700mb, the write cache is full and flushes, *while* still copying the rest of the file. Since the system is trying to access the USB in two different places at the same time, the transfer speed bunks down, often to 200-300kb/s. The final process, instead of taking 2 minutes, takes one hour.

This continues until 1.4gb, when the cache finishes the flush, the copy can continue streamlined and the last 200-300mb are copied again at quicker speeds. I've made a test, copying a 1.6gb file to the USB and waiting for the cache to get full. Once it happens, I copy another file of the same size to the USB at the same time, when it starts copying I cancel the previous copy - cancelling it could take 1-2 minutes, but once it's cancelled, the second copy goes amazingly quick since the pendrive doesn't have any access troubles anymore.

However, that means for the trick to work that I can't copy four 1.6 files to the 8gb pendrive, but only three. The fourth one would need an hour unless I start copying it just before the first three finish so the write cache is still not in use or something like that. So what I would want is that everytime I plug-in this specific USB drive (identified by its label or UUID), the automount parameters disable write caching for this drive. Is that feasible? Using fstab or how?

View 1 Replies View Related

OpenSUSE :: Automount With IVMAN Not Working (11.2)

Jan 24, 2010

I don't use a KDE or Gnome, but want to have USB and cdrom media automounted by ivman. That worked fine with OS 11.1 (with the help of a selfmade "mountpolicies.fdi"). I installed and started ivman on a freshly installed and up-to-date OS 11.2 running icewm as WM, but an USB stick or USB disk is only automounted if ivman is restarted after every insertion of the device, or if it is present at boot time.

View 9 Replies View Related

OpenSUSE :: Automount: Segfault At ... In Lookup_hosts.so?

Feb 4, 2010

automount[9052]: segfault at 60 ip 00007f75c15bcd7c sp 00007f75c0753c30 error 4 in lookup_hosts.so[7f75c15b6000+1b000]/etc/hosts...10.226.219.46 zbv6 zbv6.gud.s.atcd /net/zbv6/home

View 2 Replies View Related

OpenSUSE :: Moved LVM To New System How To Automount

Mar 23, 2010

I moved an LVM to a new computer, but everytime I reboot I have to do vgchange -ay and then mount it. I tried putting it in fstab, but it seems it doesn't work because the volume group is disabled when booted

View 1 Replies View Related

OpenSUSE :: CDROM Is Not Showing Up - Not Automount

Dec 13, 2010

I am using Suse since 6.5. I am no linux-expert, just power-user for years (no windows, no MAC OS X) at 3 computers at home and at work.

I just did two bare-bone-installs from up-to-date dvds with opensuse 11.3 at two almost identical Dell Inspirion 6400-Laptops. Clear, flawless installation without any workarounds... Same install at a Dell Desktop Computer without any problems. Automatic updating.

But both Laptops are having problems to read and show inserted data-cdroms. Knowing from the old versions and the new opensuse 11.3 at the desktop-PC what should happen, I have no clue what to do.

It is definitely no technical problem:
- the name of the inserted data-cdrom can be seen in k3b
- inserted dvds are triggering the correct action (!) (suggestions are shown what to do with the dvd; cdrom: no results, no suggestions, just a short and proper working of the cd-device itself can be heart)
- the data-cdrom can be mounted manually

What did not help:
- inserting a data-cdrom as root
- changing the permissions of non-root-users
- several updates of opensuse 11.3
- reading several forums (the answers go into the directions newbee-who-does-not-know-how-openuse-works, wrong-installation, wrong-updating-of-an-old-opensuse-version, geek-how-screwed-up-his-installation-with-manual-wrongdoings => nothing which helps in my situation)

This is my hardware-info about the cdrom/dvd-device:

View 9 Replies View Related

OpenSUSE Hardware :: How To Automount A Cdrom

Apr 25, 2010

Opensuse 11.2, KDE 4.3.5I have read many articles on this forum & on the web but I am still not able to automount a data CD (I haven't tried audio yet).

I created a directory /media/cdrom
I added my user name to group disk & cdrom.
I added the following line to fstab (my drive is an ide cdwriter):
/dev/sr0 /media/cdrom auto auto,user,rw 0 0

If I put a cd in the drive there is lots of action of the read light but nowhere within KDE that I can find to access the CD. Is it possible that making a change to 'device actions' in 'configure desktop' is what I need to do? If so, what do I enter or change?From terminal the command 'mount' does not show it mounted. At this point I can manually mount the cd.Also note that in YaST it shows up in the hardware list after probing hardware but it does not appear anywhere else in YaST (and I don't know if it is supposed to show up).

jon@linux-0rrf:~> sudo lshal -m
Start monitoring devicelist:
15:50:35.474: storage_model_CD_RW__CRX195E1 property storage.removable.media_available =

[code]...

View 9 Replies View Related

OpenSUSE Hardware :: Get 11.2 To Automount Sd Cards?

Apr 30, 2010

How can I get opensuse 11.2 to automount sd cards? Until recently I had SD card reader of my laptop turned off in BIOS, now I turned it on and hardware wise it is working fine (I can mount SD cards manually) - but how can I get opensuse to mount the cards automatically upon insertion? (is working for other media) It probably something trivial, but I missed it...

View 9 Replies View Related

OpenSUSE Hardware :: Unable To Automount CD/DVD's?

Nov 3, 2010

Only noticed this a few days ago & it only affects CD/DVD's, USB drives automount just fine.After doing lots of searching, noticed that a lot of people are having this issue too. Only didn't work out how to resolve this annoying behaviour.When I burn a CD/DVD K3b accepts that I have valid meia & proceeds to burn, when the disc has been burnt out it pops. So I re-insert the disc & no automounting?I have put myself in the 'cdrom' & 'disk' groups, just to ensure it wasn't something I'd not done. It was working fine last time I checked, so don't think it's that.

View 4 Replies View Related

OpenSUSE Hardware :: Turn OFF Automount Of Media?

Apr 28, 2010

I just installed openSuse 11.1 and it automount the media and opens a window for it. I got the window to stop opening, how do I get it to stop automounting the media?

View 9 Replies View Related

OpenSUSE Hardware :: Can't Automount UDF-Based DVDs In 11.3?

Sep 8, 2010

Once I insert a UDF-based DVD, such as a movie or Windows 7 OS install DVD, the disc will not automount in the GNOME desktop. As a result, Nautilus and other gnome programs like Brasero, cannot read the disk.

However, KDE-based apps like k3b and k9copy are perfectly able to detect a DVD with the UDF filesystem for burning or extracting data. The disc drive is a Plextor PX-716SA SATA-based model. The problem seems to be endemic to openSUSE 11.3, as UDF-based DVDs automount perfectly fine in Ubuntu 10.04 and Windows Vista on the same computer. In fact, these DVDs had no problems automounting in openSUSE 11.2 prior to performing a clean install of 11.3. Manually mounting such a DVD does work, using a command such as:

Code:
sudo mount -t udf /dev/sr0 /mnt -o ro,session=0,lastblock=1 The DVD movie can be accessed from VLC media player and mplayer, but nevertheless, gnome apps like brasero cannot be used. Why is this happening?

I searched for solutions on these and other forums and I came across these posts here, and here. The solutions proposed therein did not work, including modifying auto.misc and fstab. In another thread on these forums, modifying fstab for removable media was discouraged in versions 11.2 and 11.3.

View 2 Replies View Related

OpenSUSE Hardware :: Data CD/DVDs Do Not Automount?

Feb 6, 2011

Running 11.3, KDE 4.4.Have searched all over hell on the Internet, no solution found.When I insert a data CD or data DVD created with K3B sometime in the past, the Device Notifier pops up with NO description of the device plugged in. After it goes away, I can hover over it and it will say the name of the device which is the volume label of the backup CD or DVD.However, when I go to Konqueror, there is nothing showing under /media.If I run Dolphin and view the Places menu, the CD shows up there, I can double click on it and open it.

In Device Notifier Settings, under Removable Devices, I have Enable Automatic Mounting of Removable Media checked, as well as Only Automatically Mount Removable Media That Has Been Manually Mounted Before, and Automatically Mount Removable Media When Attached.The CD inserted does appear in the Attached Devices list in the Removable Devices.If I put a CD in and check Konqueror, it does not show under /Media. If I then load Dolphin, it shows in the Places menu and under /Media. THEN if I go back to Konqueror, without doing anything else, it will THEN show up in /Media.If I then close Dolphin and eject the CD/DVD, it disappears from /Media as expected. If I then reinsert the DVD into the drive, without opening Dolphin, it will re-appear in Konqueror under /Media as it should.Why isn't this working properly in Konqueror? It's a massive annoyance.There is zero documentation for Device Notifier available and especially for setting up Device Settings.At one point, I thought that "Only Automatically Mount Removable Media That Has Been Manually Mounted Before" might be the problem, so I unchecked it. But it does appear to be the problem.

I don't know why KDE 4.4 can't do what KDE 3.5 did - just automatically mount CDs/DVDs and USB devices without a lot of rigmarole and undocumented settings and with a simple selection of what you want to do with the mounted device (which I usually just ignore, select nothing, and go look at the inserted device with Konqueror). This was simple and worked. Now it's a nightmare and I see from browsing the forums that a lot of people have had problems with automounting.

View 4 Replies View Related

OpenSUSE Network :: Automount CIFS Shares?

Jan 30, 2010

Question 1.I have strange problem in OpenSUSE 11.2I have /etc/fstab entry:

//server/projects /server/projects cifscredentials=/root/.credentials,dir_mode=0777,file_mode=0777,_netdev 0 0
service network running

[code]....

View 1 Replies View Related

OpenSUSE :: HAL - Permission Denied To Automount External USB Storage

Nov 2, 2010

11.3 in use with KDE. When I plug in an USB stick or my HTC phone into the USB connector the device is recognised but can't be opened in dolphin. This is the error message:

Code:
org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
org.freedesktop.hal.storage.mount-removable
auth_admin_keep_always <-- (action, result)
but the device is shown in dolphin as a removable device and

Code:
# lsusb
Bus 001 Device 005: ID 0bb4:0ff9 High Tech Computer Corp.

View 9 Replies View Related

OpenSUSE Hardware :: Automount USB To Static Mount Point

Mar 9, 2010

how to get openSUSE 11.2 to automount a USB drive (Creative Zen to be precise) to a static mount point? At the moment KDE is filling up my media folder with disc-x folders and the podcatching software keeps picking the wrong one to sync to. It's not my PC so command-line mounting is out of the question.

View 2 Replies View Related

OpenSUSE Hardware :: Automount Fails With External USB Drive

Feb 14, 2011

When I plug my USB drive in, the kernel sees it and I can mount it manually. However, it won't automount. I've done plenty of google searches but nothing I've tried has worked for 'GNOME, SUSE 11.3.' I am not sure if it is a permissions problem, configuration problem, a kernel automount, HID, or USB problem.

uname -a (stock SUSE desktop kernel):
Code:
Linux linux-hez9 2.6.34.7-0.7-desktop #1 SMP PREEMPT 2010-12-13 11:13:53 +0100 i686 i686 i386 GNU/Linux

Here is the output from /var/log/messages:
Code:
Feb 14 15:47:09 linux-hez9 kernel: [16258.620213] usb 1-1: new high speed USB device using ehci_hcd and address 6
Feb 14 15:47:09 linux-hez9 kernel: [16258.749549] usb 1-1: New USB device found, idVendor=1058, idProduct=1023
Feb 14 15:47:09 linux-hez9 kernel: [16258.749553] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 .....

View 9 Replies View Related

OpenSUSE Install :: Get A Flash Drive To Automount When Plug In?

Oct 30, 2010

Got an old SUSE box from a friend, installed 11.3, got a few items: 1. didn't see any prompts to enter monitor info during install, control center shows as generic. Read about 'sax2' (hope that's right) but can't find it on my system or in the add-ons image. Do I need to hack monitor.conf? how? 2. installation aborted when trying to load 'textlive'.3. going into control center->mouse, the display quivers a little then I get kicked back out to the login prompt. 4. how to get kaffeine to process flv files? 5. how to get a flash drive to automount when I plug it in? I can manually mount ok. I guess that's about all for now.

View 2 Replies View Related

OpenSUSE Install :: Encrypted Home Partition Automount?

Jul 24, 2011

First off I'm new to the openSUSE community and would just like to say So, to the issue at hand. I recently switched to openSUSE 11.4 from Debian. I noticed the setup didn't have an option encrypt the home folder like it does in Debian, so not being aware of any other way to encrypt it, I created a new partition, backed up my current home directory, created a new partition and mounted it as home before copying in the contents of the backup to the encrypted home partition I created. Now of course it is askingme to put the crypto password in at each boot, which isn't ideal because it's a family machine and no-one would remember the password but me. Is there any way of being able to automount the encrypted partition without having to put the key in every time? Or better yet an encrypted home folder that doesn't require the key to be put in on each login (as in Debian) without even using a dedicated partition.

View 4 Replies View Related

OpenSUSE Install :: RAID5 Array Fails To Automount After Reboot

Apr 26, 2009

I've got a RAID5 array that doesn't want to automount after rebooting. I'm pretty familiar with linux, RAID, and mdadm, and up until now, I've had the RAID5 array working just fine. However, whenever I reboot, the array drops off and won't remount until I manually assemble and then mount the thing. I find this odd because I had everything automounting just fine back in 10.3, and even in 11.0 (I think - not sure on that). Currently, things are working, but I'd really like to not not have to type

Code:
mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
followed by
Code:
mount /dev/md0 /mnt/data every time I reboot. Even including this in some sort of start-up script seems kludgey... Surely there must be a more elegant way of automatically bringing up a RAID5 array after booting? I'm not sure what information you'll need, so I'm going to go ahead and include as much as I can anticipate...

So having already used the commands:

[Code]....

View 9 Replies View Related

OpenSUSE Install :: Can't Automount Cifs Network Drives In Fstab?

May 24, 2011

I just made a fresh install of OpenSUSE 11.4-Tumbleweed and have the latest updates. However fstab lines I've used in the past are not working.

Here's an example of two:
//IPADDRESS/share /home/user/mount cifs credentials=/home/user/.scripts/.creds,_netdev,uid=client_user,gid=users 0 0
//IPADDRESS/share /home/user/mount cifs guest,_netdev,uid=client_user,gid=users

I can execute a command

Code:
sudo mount /home/user/mount and it works, but I'm wanting all my fstab lines to automount at boot as on other machines.

View 5 Replies View Related

OpenSUSE Network :: Automount A Samba Share On Computers Startup?

Nov 3, 2010

i'm trying to automount a samba share on computers startup, everything works just fine when the network adapter is controled by traditional way ifup but when i'm switching to NetworkManager doesn't work anyway. i'm hiding the share information from the common user by using the /etc/samba/cifstab as i read on intrernet, in the cifstab i put //server/share /home/user/share cifs sername=user,password=pass,uid=1000,_netdev .could anybody give me a hint or tell me where to look?

View 3 Replies View Related

OpenSUSE Hardware :: Automount Of Ext NTFS USB Drive Fails Using Device Notifier

May 3, 2011

Automount of external NTFS USB drive fails when using the Device Notifier. The automount facility failed after the last kernel update. A bug report was kindly filed by @saverios. The details are in the quote at the end of this notice. Pending resolution of the bug, we recommend that you install the following workaround: Open the file /etc/filesystems and add an entry for "ntfs" so the file looks similar to this (see last entry):

Code:
vfat
hfs
minix
reiserfs
ntfs .....

View 8 Replies View Related

OpenSUSE Network :: NFS Automount Stopped Working - System Error: Connection Refused

Jul 6, 2010

I got connecting to our NAS over NFS working perfectly. Direct NAS Reading & Writing - How? But on Saturday I found out it had stopped working. For no apparent reason, not straight after an update either I don't think. When I manually try to mount --verbose:

mount 192.168.100.14:/IHL /mnt/IHL --verbose
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Tue Jul 6 14:48:32 2010
mount.nfs: text-based options: 'addr=192.168.100.14'
mount.nfs: Unable to connect to 192.168.100.14:111, errno 111 (Connection refused)
mount.nfs: mount to NFS server '192.168.100.14:/IHL' failed: System Error: Connection refused

Corresponding fstab line that used to work just fine. 192.168.100.14:/IHL /mnt/IHL nfs auto 0 0 For now, I can drop back to Samba but this is a PITA as I can't open OpenOffice documents and write to them directly on the NAS. The fact smb://192.168.100.14/IHL works proves networking wise we're cool too. There is no firewall between this PC and the NAS, the NAS is instructed to allow my PC's LAN IP full access. OpenSuse's software firewall has been told to allow NFS Client too. Why would this setup break out of nowhere? How can I debug this best? I see nothing relevant in /var/log/messages How can I get it to work again? A hopeful reboot didn't do its usual wonders...

View 3 Replies View Related

Debian :: Usb Automount With RW ?

Nov 20, 2010

I have a simple usb mount problem, but after looking around, haven't been able to solve it. So far I've come across hal, dev, usbmount,pmount, and got lost in all this.

So, when I plug my usb as non-root I get that "not authorized" message. I solved this by installing usbmount package. After that, as non-root, usb mounts, but I can't write, I only have read rights. I tried changing "MOUNT OPTIONS" in usbmount.conf, but no luck.

What is the proper way of automounting usb and how to control access rights and what user can do what?

I also tried with fstab entries, but everytime I unplug my usb stick and plug it back in, /dev entry changes...

View 14 Replies View Related

Debian :: Cryptsetup Automount USB Key

Aug 27, 2015

I setup a luks encrypted /home partition on my Debian jessie, with an automount when my usb key containing the luks secret is plugged in at startup.

I did configure /etc/fstab so that my usb key be mounted at startup to /media/usb1, and /etc/crypttab to open my encrypted partition with the key at /media/usb1/homekey. It works.

However, when my usb key is not plugged in, boot fails and never shows welcome screen. I would change this behaviour so that when my usb is missing, boot resumes and do not mount /home partition. How could I manage this?

View 0 Replies View Related

Debian :: Automount USB Drives

Oct 2, 2015

Is there a way to set up your system (running CLI only, no X) to automount flash drives? I know how to mount them manually, but I'd really like it if there was a way to just have the system do it automatically when I plug the drive in so I don't have to do it myself every time.

View 4 Replies View Related

Debian :: Automount - How Does It Work?

Feb 20, 2011

I would ask how automounting of devices works in debian. I'm trying to modify the name of automatic mount point from the label name of devices (or their UUID) to the devices name. That because the UUID is often a very complicated string, meanwhile the label often contains spaces; so become difficult working with theme in scripts...

View 7 Replies View Related

Fedora :: Automount Using Fstab ?

Sep 2, 2009

I remember automounting my windows drive (I dualboot windows and fedora) using /etc/fstab.

Now I can't find what to add to the file in order to mount my drive.

The drive is /dev/sda2 and I would like to mount it at /mount/windows, it's an NTFS drive.

I have been looking around the forums and reading the manuals but can't figure it out

View 3 Replies View Related

Fedora :: How To Automount Another Partition

Sep 4, 2010

On my computer for the last couple of years I have been running Ubuntu and Windows XP in a dual boot system. Due to some unsolvable problems in Ubuntu, I decided to try out Fedora. I created a third partition on my computer and into this partition I installed Fedora. Now when I boot my computer I can either run Fedora or Windows XP. Eventually, I plan to get rid of Ubuntu completely. But for now the Ubuntu partition is still on my hard disk; I can't boot up with Ubuntu anymore, and that's OK. I don't need to run Ubuntu, but I would like to be able to access the Ubuntu partition, since there are files there that I want to keep.

At least I want to be able to read and write to the files in Ubuntu. How can I automatically mount the Ubuntu partition so that I can work with its files from Fedora?

I'm pretty sure that to get the Ubuntu partition to mount, I need to enter some lines into the etc/fstab file. Does anyone know what I should enter into Fedora's etc/fstab file so that the Ubuntu partition will be mounted?

In my Ubuntu installation the partition is named DiskF, it is partitioned in the ext3 file system. In Fedora when I look at /media/DiskF, it is empty.

When I run [code] blkid in a terminal here is the output:

What are the commands that I need to put in /etc/fstab so that when I boot my computer in Fedora DiskF will be mounted?

View 1 Replies View Related

Fedora Hardware :: Automount In KDE ?

Nov 12, 2010

I configured "removable devices" in system settings as follows:

checked "Enable automatic mounting of removable media"

and

checked "Automatically mount removable media when attached"

Now following reason you would expect when you put a CD/DVD in the CD/DVD player it would be automatically mounted in directory /media/ yes?

But no - you first HAVE to open the CD or DVD with a program (like a file manager) before the directory and its content appears in directory /media/. This is not expected and very annoying.

Why does the configuration screen not work as expected. Are all settings just being ignored or something? If so - then why are those settings there in the first place? Or did I simply done something wrong?

I just want a CD or DVD been automatically mounted when I put it in the player, so I can access it without first having to open it in a separate program.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved