Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Automontar usb y cdrom sin ser root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
MrBrutico
n00b
n00b


Joined: 01 Jan 2015
Posts: 53

PostPosted: Sun Jul 12, 2015 5:18 pm    Post subject: Automontar usb y cdrom sin ser root Reply with quote

Hola, llevo toda la tarde intentando conseguir montar memorias usb y cualquier dvd o bluray sin que me pida la contraseña y no soy capaz de que se automonten.

el fstab lo tengo así
Code:
cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sdc2               /boot/efi       vfat            rw,defaults     0 1
/dev/sdc3               /               btrfs           rw,noatime,discard,ssd,compress=lzo,space_cache 0 1
/dev/sdc4               /home           xfs             rw,discard,noatime      0 0
/dev/sda1               /var/tmp        ext4            rw,defaults  0 0
/dev/sda2               /usr/portage    ext4            rw,defaults  0 0
/dev/sda3               /usr/portage/distfiles  ext4  rw,defaults  0 0
/dev/sdb1               /media/datos  xfs   rw,defaults  0 0
tmpfs /tmp tmpfs defaults,noatime,nodev,nosuid,mode=1777,size=78% 0 0
/dev/sr0     /mnt/cdrom  auto    noauto,ro,user 0 0
/dev/sdd1    /mnt/usb    auto    noauto,user    0 0

Back to top
View user's profile Send private message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1320

PostPosted: Sun Jul 12, 2015 8:25 pm    Post subject: Reply with quote

Para montar el cdrom
dev/sr0 /mnt/cdrom auto noauto,ro,user 0 0
esto es correcto
Yo diria que el problema es porque no estas en los grupos correctos
Pon la salida de
groups tusuario
_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.
Back to top
View user's profile Send private message
MrBrutico
n00b
n00b


Joined: 01 Jan 2015
Posts: 53

PostPosted: Sun Jul 12, 2015 8:56 pm    Post subject: Reply with quote

Hola, el cdrom he conseguido montarlo con otros parámetros en fstab y el usb no consigo montarlo sin poner el fstab como un disco duro.

mis grupos
disk wheel audio cdrom video cdrw portage plugdev vboxusers vboxguest users

el fstab
/dev/sdd1 /mnt/usb ntfs-3g auto,rw,users,umask=000 0 0
/dev/sr0 /mnt/cdrom udf,cdfs,iso9660 user,auto,exec,utf8 0 0
Back to top
View user's profile Send private message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1320

PostPosted: Sun Jul 12, 2015 9:04 pm    Post subject: Reply with quote

Yo juraria que deberías de añadirte al grupo usb.
_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.
Back to top
View user's profile Send private message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1320

PostPosted: Sun Jul 12, 2015 9:06 pm    Post subject: Reply with quote

Ah y otra cosa a tener en cuenta es que hay que tener el soporte para el sistema de ficheros en el kernel. Los usbs normalmente van con vfat.
_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum