Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 10:51:30 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Predrag Punosevac <punosevac@math.arizona.edu>
Cc:        sfourman@gmail.com, Norberto Meijome <freebsd@meijome.net>, freebsd-questions@freebsd.org
Subject:   Re: Auto Mounting USB Sticks and CD's
Message-ID:  <20080328105123.P39771@wojtek.tensor.gdynia.pl>
In-Reply-To: <47EC9B01.3040504@math.arizona.edu>
References:  <11167f520803272322t247e6377k50446d742c498c73@mail.gmail.com> <20080328180644.15948f9c@meijome.net> <47EC9B01.3040504@math.arizona.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> /etc/fstab needs to be edited
>
> /dev/cd0     /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto      0       0

rw for cdrom?

> /dev/acd0    /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto      0       0
> /dev/fd0     /usr/home/Pedja/mnt/floppy msdosfs rw, noauto      0       0
> /dev/ugen0     /usr/home/Pedja/mnt/camera msdosfs rw, noauto      0       0
>
>
> /etc/devfs.conf neets to be edited
>
> # Allow all users to mount the floppy disk.
> own       /dev/fd0    root:operator
> perm      /dev/fd0    0666
>
> # Allow members of the group operator to mount CD-ROMs.
>
> perm      /dev/acd0   0666
> perm      /dev/cd0    0666
>
> # Commonly used by many ports  link  cd0 cdrom
> link  cd0  dvd
> link  cd0  rdvd
>
> link  acd0 cdrom
> link  acd0 dvd
> link  acd0 rdvd
>
>
> # Misc other devices
>
> perm    cdrom   0666
> perm    dvd     0666
> perm    rdvd    0666
> perm    cd0     0666
> perm    ata     0666
> perm    xpt0    0666
> perm    pass0   0666
> perm    /dev/uscanner0 0666
> perm    usb*      0666
> perm    ulpt*     0666
> perm    lpt0    0666 perm    ugen*   0666
>
> also you have to add in /etc/sysctl.conf
>
> vfs.usermount=1
>
>
>
> For USB stick also /etc/usbd.conf needs to be edited. I mount USB stick 
> manually so figure out yourself.
>
> Either read documentation or copy important files from PC-BSD.
>
>>> I know that if I put gnome_enable in my /etc/rc.conf then it all works
>>> BUT, I would prefer not to use gdm on bootup
>>> 
>> 
>> Kevin replied to this. I would just add, if you want some other login 
>> manager to run, (xdm, wdm), you'd have to install them and enable them in 
>> rc.conf
>> 
>> If you follow Kevin's email by the letter, you'll have to log in to the 
>> text console and launch your X session manually.
>>
>> 
>>> I also am having trouble trying to get k3b to burn CD''s without being 
>>> root
>>> 
>> 
>> man devfs.conf
>> 
>> _________________________
>> {Beto|Norberto|Numard} Meijome
>> 
>> "Everything should be made as simple as possible, but not simpler."
>>   Albert Einstein
>> 
>> I speak for myself, not my employer. Contents may be hot. Slippery when 
>> wet. Reading disclaimers makes you go blind. Writing them is worse. You 
>> have been Warned.
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe@freebsd.org"
>> 
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080328105123.P39771>