Fedora :: Changing Mount Options For Removable USB Drives In F13?
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?
This appears to be a simple problem, but I struggled my way around google, trying to figure out the right words to search for, with no real success. The problem:When I plug-in any usb device or an external hard disk, my RedHat automatically mounts it to /media/<device_name>. Unfortunately, it's owner and group are both root, whereas, I would like to add other users to have write access (say, all users in a group usb_group to be able to write stuff in it). Currently only read access is there for others. I would like to change it to write access to a particular group and I can add the
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.
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.
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?
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?
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.
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.
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...
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.
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.
I used the usual 'mkfs.xfs -l size=128m,lazy-count=1 /dev/sdX' at creation. After that, I would like to use custom mount options like: This goes instead of the "defaults" part in /etc/fstab
I receive the following error at boot: INVALID log iosize 4 [not 12-30] << No one used iosize 4... what does it mean? it is connected to the options..but which one? (At the minute I'm usig it with: noatime,nobarrier).
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:
I was wondering how to check the current mount options of my ext4 filesystems in Fedora 12? The only thing I can see in fstab is "defaults" but how can I know what is behind those defaults.mount command only shows "/dev/sda6 on / type ext4 (rw) but nothing else.I'd like to know a few more things like the data mode used like "ordered" or "journal".
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?
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?
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?
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.
Linux box info: root@mytestbox:~# uname -a Linux mytestbox 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux
Windows box info: Windows Server 2008 SP2 Enterprise I've verified via --verbose output that mount.cifs is indeed processing the passed on options.
root@mytestbox:~# mount -t cifs //10.1.1.10/Test /root/testwin --verbose -o credentials=/root/testcreds,rw,nocase,noperm,noacl,nounix,noserverin o,iocharset=utf8,file_mode=0777,dir_mode=0777
[Code]...
Yet, when I type mount all it reports is (rw,mand). The share works just fine, and I can see the masking (all files are showing as rwxrwxrwx as expected etc) but mount is not listing the options?!
Is this normal expected behavior? Is there a bug report on this? I've google'd to the best of my capabilities and could not locate any such information which is why I decided to hit the forums prior to filing a bug.
I am trying to play or backup various DVDs i have recently bought and keep geting this error message: (mind the wrap) org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result) from KIOExec What in tarnation is going on. How about a useful error message.
When I add an external device it is automatically mounted by Fedora to /media. Does anyone know if it is possible to change the default mount directory to something else (like /mnt) ?
i am using fedora 14. Each time i login i have to manually mount my windows drives. Is there any script or system setting which will help me to auto mount my windows drive on startup.
When I attach my ipod it gets automatically recognised and mounted to "/media/user's ipod". This is great but I would like to change the mount point to just "/media/ipod/" as it easier to use with gnupod (command driven ipod access oh yes!!) I've had a look around and I know how to mount devices but I'm at a lose as to how things in fedora are automatically mounted... I use gnome so from what I've read hal, dbus, and udev yeah? but I'm not sure what configuration files need to be changed. At the moment I'm just wanting to change the ipods mount point but I would like know more so any technical how-to or articles, or things to look at (I'm thinking X), to understand auto mounting would be nice too.
I am running Lubuntu 10 from a USB drive. Despite this, I believe this question pertains to any other variant as well. Running from the USB drive with a persistent directory, there is no boot options file that I can locate. As an example, for an installed version, the file /boot/grub/menu.lst can be changed to make boot options permanent.
Is there any way I can do something similar when booting from a USB live version? Specifically, I want to add "vga=799" to the options without typing it in at every launch.
Or is the only option for something like this actually installing to a USB drive instead of just running the live version?