Unix Technical Forum

CDROM mounting under 2.6 kernel

This is a discussion on CDROM mounting under 2.6 kernel within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Robby Workman wrote: [udev rule example] > [3] The device symlink and mountpoints are obviously customizable, and if you ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-20-2008, 07:52 PM
Joost Kremers
 
Posts: n/a
Default Re: CDROM mounting under 2.6 kernel

Robby Workman wrote:
[udev rule example]
> [3] The device symlink and mountpoints are obviously customizable, and if you
> are so inclined, you could certainly make a mount/umount script to be
> called on the desktop. That script could test whether the device is
> currently mounted, and if not, mount it; if so, unmount it, and if
> unsuccessful on either, return an error. Viewing that error message in an
> X environment without running it in a terminal, though, is an exercise
> left to the reader - I'm sure it's possible,


it is. that's what xdialog is for.

> but I've never given it any
> thought, as the whole idea of a script to do it seems more complicated
> than opening a terminal and doing it manually. YMMV.


i use usbmount, which depends on udev, and mounts any usb storage devices
automatically. i plug in the device, wait a few seconds and then the device
is available under /media/usb1. if i plug in another device, it becomes
available under /media/usb2, etc. (though if i first unplug the first
device, and then plug in the other, it becomes /media/usb1.)

i still have to manually unmount devices, though, but i do that through the
mount plugin on the xfce panel. (usbmount by default mounts devices with
the sync option, so that you don't even have to unmount before unplugging
them. but that doesn't work for vfat file systems, so...)

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-20-2008, 07:52 PM
Grant
 
Posts: n/a
Default Re: CDROM mounting under 2.6 kernel

On 1 Feb 2007 21:55:00 GMT, Joost Kremers <joostkremers@yahoo.com> wrote:

>i still have to manually unmount devices, though, but i do that through the
>mount plugin on the xfce panel. (usbmount by default mounts devices with
>the sync option, so that you don't even have to unmount before unplugging

^^^^^^^^^^^
>them. but that doesn't work for vfat file systems, so...)


Doesn't this option really slow down I/O performance to the USB device?

Grant.
--
http://bugsplatter.mine.nu/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-20-2008, 07:53 PM
Joost Kremers
 
Posts: n/a
Default Re: CDROM mounting under 2.6 kernel

Grant wrote:
> On 1 Feb 2007 21:55:00 GMT, Joost Kremers <joostkremers@yahoo.com> wrote:
>
>>i still have to manually unmount devices, though, but i do that through the
>>mount plugin on the xfce panel. (usbmount by default mounts devices with
>>the sync option, so that you don't even have to unmount before unplugging

> ^^^^^^^^^^^
>>them. but that doesn't work for vfat file systems, so...)

>
> Doesn't this option really slow down I/O performance to the USB device?


i have no idea, since i've never used it.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com