Slackware :: Create Mount Points Automatically For Removable Drives?
Jan 9, 2010
At work I use Ubuntu and one nice thing about it is that it creates mount points for removable drives automatically.
In Slackware I can set up XFCE so that it mounts drives when they are plugged in, but only if they're already specified in the fstab (which means I must have used them and set them up in advance).
This is becoming a problem now that removable usb drives of all sorts are so common.
View 2 Replies
ADVERTISEMENT
Aug 6, 2010
so that short description doesn't cut the mustard. Let me start by describing what I had working in RHEL4, so you know the requirements. There is a group here at my job that does a lot of data transfer to external USB drives. I leveraged fstab-sync (which we normally turn off at my work) and created a FDI policy file to search on the drives' HAL descriptors, set the mount options, and define the mount point by name (each drive is uniquely named).
The result of all this is that when the user plugged in a drive, it mounted in /media automatically, on a unique path, and with permissions so that every user could read/write to it. SO now we're upgrading to RHEL5, and fstab-sync doesn't exist any more. Instead there's gnome-mount (did I mention we use Gnome?) and I can't figure out how to get the same functionality working.
View 3 Replies
View Related
Jul 16, 2010
I have a 2 TB hard drive in an external USB caddy that I use for backups. The drive gets automatically mounted when connected to F13, which is great, and the default mount options it uses are:Code:rw,nosuid,nodev,uhelper=udisksHowever, I want to add an extra option or two but I don't know where I can do this. Does anyone know where I can add mount options onto the default set?
View 2 Replies
View Related
Apr 7, 2010
Is it possible to use network storage locations as mount points during installation?
cause i want to separate system (ubuntu) with data (personal files).
eg. if i have 5 computers i don't want to recreate /home/david 5 times.
so i want to mount networkdrive/home to /home in local ubuntu server.
so ALL users home folders could be used and maybe also networkdrive/projects to /projects.
in that way its ok if i by accident repartitioned the local ubuntu server cause all data is not there on that server, but in the data server.
is separating "data" from "logic" good in this case?
and is it possible? what protocol should i use for the mapping over internet? (maybe the server is in Sweden, and the data is in Norway).
View 1 Replies
View Related
Jul 29, 2010
Since I installed 11.3 I have noticed the /srv and /local mount points are empty! I also can no longer see my hard drives that have no mount points. I couldn't mount any hot plug media either but now have that fixed. I won't go into the mess I have with my video card and getting the x server started....
I did have Xampp installed to /srv/www but don't even know where it is now!
fdisk -l
Disk /dev/sda: 36.4 GB, 36401479680 bytes
255 heads, 63 sectors/track, 4425 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]....
I had no problems with this in 11.1 until a month ago when I updated and it seemed to keep losing the permissions for these drives as once I accessed them via Dolphin they would be accessible. Now they are not even visible in a file manager!
View 2 Replies
View Related
Sep 27, 2010
I created some .tar.gz archives, and later discovered that the archives include their mount points and drives as empty folders. How can I avoid that happening in the future? I suppose I did something wrong when creating the archives. I mean, what is the point of the archives having empty folders that represent the mount points and drives of the archived data?
View 2 Replies
View Related
Jul 3, 2010
This is a 'clean' upgrade from slack 13.0 to 13.1 (32-bit)To qualify: / , /home , and /usr/local are on separate partitionsand / was reformatted.When I attempt to mount a removable device - USB stick or DVD, I get the following error message:
Code:
Rejected send message, 1 matched rules; type="method_call", sender=":1.134" (uid=1000 pid=6328 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error
[code]....
View 3 Replies
View Related
Apr 21, 2010
I want to insert a CD-ROM and have it automatically be mounted to someplace like /media/cdrom and create an icon on the Gnome desktop, while logged in as a non-root user under SLED 11.
How can I accomplish this?
View 1 Replies
View Related
Mar 21, 2010
how to set up authentication for removable drives in ubuntu 9.10 ?
View 7 Replies
View Related
Sep 29, 2009
I just started using openSUSE 11.1 with xfce and my problem is that I cannot mount my external USBs, I get the following message:
org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result).
It seems hal does not give me permission to do this. Am I able to mount using the command line? If so, how?
View 14 Replies
View Related
Sep 25, 2010
I have just installed KDE3.5.10 on S13.1 and have followed all steps required on the site at 'http://slackware.osuosl.org/unsupported/kde-3.5.10-for-slack13.0/' containing the packages, finishing with:
[code]...
You'll probably need to log out and back in again for the profile scripts to add the KDE3 stuff to your $PATH and $XDG_CONFIG_DIRS. When you log back in, KDE3 should start when you run X. Unlike LXDE, this install didn't automatically create a menu entry for gdm. Everything seems to be right, but I can't get the gdm entries I've tried to work. Could somebody who has also installed 3.5.10 kindly post the correct file contents?
View 5 Replies
View Related
Jan 27, 2011
I have a requirement that seems to be unique in nature. I have multiple clients who are caged to their home directories. I would like to "share" a directory which exists above these chroots with all these caged users. I know this can be accomplished using mounts but my problem is, how can I mount a single directory to multiple mount points located in each users home dir? Can this be done in the fstab file?
View 9 Replies
View Related
May 12, 2010
I use Ubuntu 10.04, and whenever I insert media into a removable media drive, it does not come up on my desktop automatically. I need to go to Computer, then to the drive. It then appears on my desktop. Is there any way to make the device automatically appear? This problem occurs for any removable media. I am using Ubuntu 10.04.
View 4 Replies
View Related
Jul 23, 2010
I'm running a fresh 64-bit install of Ubuntu 10.04. I no longer have a System->Preferences->Removable Drives and Media option in my menus, and need to re-configure it (I had set it to "Do Nothing" and "Always do this action" sometime in the past, but now I want to change it)I have right-clicked my menu, went to edit, and made sure it wasn't un-checked)Has the "Removable Drives and Media" option been moved somewhere else in 10.04?
View 4 Replies
View Related
Jul 30, 2010
When you run a Linux live CD it automatically detects your hardware configuration, or at least tries to. Say you got a live CD and it works perfect on one computer, detects all the hardware. If you install the operating system from the live CD to a hard drive, does it only install the drivers you need for your hardware?
If so, say you were to hypothetically do that on a removable hard drive that you lock and unlock with the hardware keys; would that mean if you want to move the drive from one computer to another regularly, the OS would not be configured properly on a different hardware configuration, and wouldn't be able to configure itself properly because it is now on a hard drive? I know that Linux does try to detect new hardware each time it boots, but I guess the short version of the question is: Does installing a distribution on a live CD to a hard drive mean you will not have all the drivers available on the CD?
This is not something I am sure I will ever plan to do, but it would be no different than if you wanted to swap your drive into a new computer. If it could at least still connect to the Internet it might try to reconfigure itself. If installing the live CD means you get absolutely all the contents on the CD, that would answer my question. Maybe someone might know exactly how that would work.
View 14 Replies
View Related
May 26, 2009
I want the following behavior in kubuntu 9.04 when I plug a device (USB stick or CD disk):
1. It should be mounted automatically for me. Now it isn't, though it appears in fdisk -l output: Code: Disk /dev/sdd: 8006 MB, 8006926336 bytes
16 heads, 32 sectors/track, 30544 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Disk identifier: 0x9b12d290
Device Boot Start End Blocks Id System
/dev/sdd1 * 16 30544 7815232 b W95 FAT32 and if I mount it manually, all goes OK
2. If I mount manually my CD disk and then press the eject button on my drive nothing happens until I manually unmount the drive. But I want it to open immediately
All this worked for me in kubuntu 8.10, and broke with the upgrade.
My fstab entries Code: /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/sdc1 /media/usb vfat noexec,codepage=866,utf8,nosuid,nodev,quiet,uid=1000,gid=1000,umask=077,user 0 0
View 9 Replies
View Related
Jan 10, 2010
I've just partitioned my hard drive with GParted so that I have space to install and run Windows OS based programmes such as Monkey Island (wine simply won't work) and other PC games. I have the Windows XP SP2 Installation CD but my OS (Intrepid Ibex) won't allow me to autorun the CD and proceed to installation.
Now having hunted around the net little, it seems the answer is System->Preferences->Removable Drives and Media. Problem is, I don't have a Removable Drives and Media option on this menu. Is there a workaround for this? E.g., is there a way of using the Terminal to enable autorun, or is there another way I can do this?As I'm pretty new to this thing, feel free to use short words and detailed explanations.
View 3 Replies
View Related
Jul 4, 2010
I've got a removeable disk which I want to mount on startup automatically at mountpoint "/backupsystem". If' it's not there I would like to have no error message. Actually after upgrading to 10.4 I get the message: Continue to wait; or press S to skip mounting or M for manual recovery.". But I don't wand this if the disk is not there that's OK for me. How would I configure fstab to achieve this?
View 2 Replies
View Related
Jan 19, 2010
I'm looking for a virus scanner to scan some removable media (USB drives, mp3 players, etc). Since there's so many choices to choose from, can anyone recommend any?
I've heard a lot of people recommending clam av, but everything I've read suggests that clam av is better used for scanning e-mail servers and not home desktop application...
View 1 Replies
View Related
May 18, 2011
I just upgraded Xubuntu from 10.04 LTS to 11.04 and I am no longer able to mount removable media from the "places" menu. The message I get:
"Failed to execute child process exo-mount (No such file or directory)"
I assume some wrapper process is attempting to execute a program called "exo-mount," but no such program exists anywhere in the repositories, according to a search with apt-file. The "exo-utils" package used to contain exo-mount, but the program no longer exists in that package.
Mounting from within Thunar works fine.
View 3 Replies
View Related
May 20, 2010
Through some recent update, which one I am not sure, my system no longer responds to removable media such as flash drives and insertions of DVD/CD disks. Whereas before, for instance, if I inserted a USB flash drive, the "Device Notifier" would pop up, tell me that a new device had been detected, and ask me what I wanted to do with it, now nothing. "My Computer" (sysinfo:/)does not update either. The kernel knows the device is there, since I can see it when I do "lsusb". OpenSuSE x86_64 11.2.
View 3 Replies
View Related
Jun 30, 2011
I am currently running a lot of simulations and am always interested to speed things up a bit. My workstation has 2 hdds, 1 ssd-drive (sda1) and 1 mechanical platter drive (sdb1). Of course, most of my data are on the mechanical drive and the ssd is mostly used for booting.
However, to speed things up a bit, I wonder if it is possible to create a pointer or link in a directory residing within the mechanical drive, which will write the data, in reality, to the ssd instead. For example,
Code:
/home/me/sims/data/dump
would normally reside on sdb1. But I would like it to point to a mount point of the ssd instead, e.g.,
Code:
/ssdtemp/dump
View 3 Replies
View Related
Oct 27, 2015
I use Debian 8.2 without DE. I can mount removable devices (USB sticks, external HDDs) manually using mount/umount to specific folders under /mnt or /media. But I want them mount automatically when plugged-in as /media/disk-label. Also I want to be able safely remove already mounted devices without data loss.As I understand, I need to create custom UDEV rule and associate it with mount/umount scripts. E.g. mount script
Code: Select all#!/bin/sh
mount_point=$ID_FS_LABEL
if [ -z $mount_point ]; then
mount_point=${DEVNAME##*/}
fi
# retrieve gid of the plugdev group and set it as owner of mountpoint
plugdev_gid="$(grep plugdev /etc/group|cut -f3 -d:)"
if [ -z $plugdev_gid ]; then
[code]....
Is this safe and correct approach or it is better to use something else?
View 3 Replies
View Related
Feb 18, 2010
want to create a iSCSI connection which mounts /home directory to a share on my NAS via iSCSI. Does anyone know if this is possible on a RHEL 5.4 machine? I am building the server from scratch and then creating the iSCSI mount point in /etc/fstab. After the /home directory is mounted on the mail server, I will copy all the mailboxes over to the /home directory via iSCSI.
View 4 Replies
View Related
Jul 6, 2010
I'm using Fedora 12, and I want to mount/unmount my USB memory stick from the command line. I know I could edit /etc/fstab and so on, but I want to emulate what happens when you mount using the GUI (I use KDE and the device notifier), that is, I want to be able to do this as an unprivileged user and not have to know the mount point exists in advance.
I'm sure in older versions of Fedora there was a command something like `gnome-user-mount' which let me do this knowing only the filesystem label... What is the current equivalent?
View 5 Replies
View Related
Feb 23, 2010
I'm trying to get fstab to auto-mount a removable device when its plugged in? Is this possible and if not what is the easiest way to auto-mount a removable device?
View 3 Replies
View Related
Mar 16, 2011
I have 2 USB drives connected to an XP machine that I rotate twice a month for backups. On my CentOS box, I have that drive mounted at /home/backup using cifs.
Because the drive is mounted on the Linux box, Windows XP complains when I try to "Safely Remove Hardware". As a result, I have to "umount /home/backup", then "Safely Remove Hardware". After connecting the new drive, I then have to "mount /home/backup" in order to use it again on the Linux box.
Now, this question may be a Windows XP question, but I was wondering if there is anything I can do on the Linux box first. Is there anything that can be done on either end, so that I won't have to "umount /home/backup" first?
View 2 Replies
View Related
Jun 21, 2010
I recently had issues with the latest version of the Linux Kernels and I got that fixed but ever since that has happened none of my Drives will mount and they aren't even recognized.
View 1 Replies
View Related
Jul 1, 2011
I have a large collection of files on a computer (tallgrass) and tallgrass is running an ftp server, which I have the username and password to. There is about 600 GB of files on tallgrass that I need access to, but I don't have a big enough hard drive. I need these data files to run a cpu-intensive calculation, and my CPU is significantly better than tallgrass' cpu, which is why I want to do it on my computer. (Tallgrass also doesn't have enough RAM.) What I would like to do is create a "symbolic link" on my hard drive that will point to the directory containing the data on tallgrass. Read-only is perfectly OK. This way I could read from mylink/data0001.dat and it would read from the file data0001.dat over ftp from tallgrass. I shouldn't have any speed issues because tallgrass is on my 1 Gbps LAN. Is there a way I can do this?
View 2 Replies
View Related
Apr 7, 2010
i want to have 2 partitions. one is called system. the other is private.
in the private partition i've got some folders i want to mount into system as system folders.
folders in private:
- www
- home
mount points in system:
- /var/www
- /home
is this possible? cause it seems that you can only specify a whole partition to use for a mount point and not a folder in a partition or am i wrong?
i run ubuntu server.
View 2 Replies
View Related