Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CD/DVD/USB and mounting...



Scott Ehrlich wrote:
> On Fri, 24 Aug 2007, Jonathan D. Arnold / Daemon Dancing wrote:
> 
>> Scott Ehrlich wrote:
>>> On Fri, 24 Aug 2007, Danny wrote:
>>>
>>>> Which distro and window manager are you using?  I recently switched to
>>>> Gentoo and noticed they've made a push for mounting via ivman/pmount
>>>> for userspace mounting.  This is in constrast to Gnome's own internal
>>>> device management layer 'gnome-volume-manager'.  I don't know if KDE
>>>> does anything special for mounting.
>>>
>>> I happen to be playing in the CentOS/RedHat 5 worlds.   I'm taking the
>>> position that there is no window manager (i.e. init 3 aka tty mode).
>>>
>>> Thus, the need to learn the command-line answer to mounting resources.
>>
>> I would just add an entry to the /etc/fstab table then say "mount
>> /dev/cdrom".
>> Something like this line in the file:
>>
>> /dev/cdrom      /mount/cdrom    udf,iso9660 noauto,owner,kudzu,ro   0 0
> 
> I opted to cheat (had a tty-only session to another system) and tail
> /var/log/messages, found the /dev/ for the usb stick (in this case) and
> mounted it under /mnt/usb (I created usb under /mnt)
> 
> I'd still be interested in feedback of other ways/tools.

For non-desktop environment access:
The cdrom should already be in the automounter configuration (pop a cd in
and 'ls /misc/cd' supposing you have the 'autofs' service running).  Note
that permissions for certain /dev/xx files are usually set up for whoever
logged into the console (if you're doing everything as root than don't worry).

As for the usb devices, if you have HAL running then the information is
available (try 'lshal').  You can supposedly use pmount to take advantage of
this via the command line, but I've never actually done this.  (normally in
a desktop environment, gnome would use HAL to mount the device)

Of course, if you know what the device files that will be used are and you
don't want to learn about HAL, you can just add some entries to
/etc/auto.misc and restart the automounter.

HTH,
Matt

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org