Prev: Repartitioning a USB external HD. Need help removing existing partition (private question)
Next: NIS user member of plugdev, gnome-mount of flash drive raises error [SOLVED]
From: briand on 27 Mar 2010 00:50 Hi all, ivman ? automount ? I'd like something where I can encode the behavior for particular devices, i.e. as I'm using the same devices over and over I'd like a way to make sure that the same device gets mapped to the same thing. Not needing X to be up and running is nice too. teh google reveals the above choices. I don't think that automount is quite right, seems like it will work, but wasn't really designed for the task. ivman is several years old, and I'm wondering if it's been superseded by something else. Thanks, Brian -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100326214605.29ac74d1(a)windy.deldotd.com
From: Camaleón on 27 Mar 2010 08:00 On Fri, 26 Mar 2010 21:46:05 -0700, briand wrote: > ivman ? > automount ? How about "udev" (for naming/calling devices) and mount/umount (for mounting in command line)? Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.03.27.11.56.42(a)gmail.com
From: Clive Standbridge on 27 Mar 2010 09:10 > Hi all, > > ivman ? > automount ? > > I'd like something where I can encode the behavior for particular > devices, i.e. as I'm using the same devices over and over I'd like a > way to make sure that the same device gets mapped to the same thing. > > Not needing X to be up and running is nice too. > > teh google reveals the above choices. > > I don't think that automount is quite right, seems like it will work, > but wasn't really designed for the task. > > ivman is several years old, and I'm wondering if it's been superseded > by something else. > > > Thanks, > > Brian Hi Brian, usbmount does this (apart from different behaviour for different devices). To set up: - Install the usbmount package. - Modify/add lines in /etc/usbmount/usbmount.conf: FILESYSTEMS="ext2 ext3 vfat" MOUNTOPTIONS="sync,noexec,nodev,noatime" FS_MOUNTOPTIONS="-fstype=vfat,flush,gid=plugdev,dmask=0002,fmask=0113" - Add user(s) to plugdev group. - Load kernel modules: sudo modprobe usb-storage sudo modprobe sd_mod (and add them to /etc/modules) When you plug in a device it will appear as /media/usb (linked to mount point /media/usb0). A second device would be mounted as /media/usb1 etc. To unmount, I run sync then pull the device. I think the sync command is probably unnecessary given the flush mount option, but I do it anyway out of caution. There's no GUI, which I count as an advantage. -- Cheers, Clive -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100327124145.GA5354(a)rimmer.esmertec.com
From: Greg Madden on 27 Mar 2010 14:20 On Friday 26 March 2010 08:46:05 pm briand(a)aracnet.com wrote: > Hi all, > > ivman ? > automount ? > > I'd like something where I can encode the behavior for particular > devices, i.e. as I'm using the same devices over and over I'd like a > way to make sure that the same device gets mapped to the same thing. > > Not needing X to be up and running is nice too. > > teh google reveals the above choices. > > I don't think that automount is quite right, seems like it will work, > but wasn't really designed for the task. > > ivman is several years old, and I'm wondering if it's been superseded > by something else. > > > Thanks, > > Brian I use 'UUID=' to identify each file system, in my fstab, with the 'noauto' option. Create a directory in /media/<device name> and use the mount command. I use this for usb sticks and externel hard drives. The 'blkid' command will give you the UUID for a file system. Mine way is all manual not sure of the automagic way, either way 'UUID=' is useful. -- Peace Greg Madden -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/201003271019.13730.gomadtroll(a)acsalaska.net
From: Freeman on 27 Mar 2010 14:50
On Sat, Mar 27, 2010 at 10:19:13AM -0800, Greg Madden wrote: > On Friday 26 March 2010 08:46:05 pm briand(a)aracnet.com wrote: > > Hi all, > > > > ivman ? > > automount ? > > > > I'd like something where I can encode the behavior for particular > > devices, i.e. as I'm using the same devices over and over I'd like a > > way to make sure that the same device gets mapped to the same thing. > > > > I use 'UUID=' to identify each file system, in my fstab, with the 'noauto' option. > Create a directory in /media/<device name> and use the mount command. I use this > for usb sticks and externel hard drives. The 'blkid' command will give you the > UUID for a file system. > > Mine way is all manual not sure of the automagic way, either way 'UUID=' is > useful. > Maybe pmount is quicker than mount? -- Kind Regards, Freeman http://bugs.debian.org/release-critical/ -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100327184244.GA4674(a)Europa.office |