Difference between revisions of "Mounting devices"
From Alessandro's Wiki
Porcelinux (talk | contribs) |
(→mount) |
||
Line 28: | Line 28: | ||
''verbe'' ''part type'' ''from'' ''to'' | ''verbe'' ''part type'' ''from'' ''to'' | ||
== automount == | |||
* most of linux-''es'' is using ''hal'' as mount system, with ''dbus'' managing the lower system level of devices. | |||
* installing automont function for KDE | |||
emerge kioslaves dbus hal | |||
rc-update add hald default | |||
rc-update add dbus default | |||
/etc/init.d/hald start | |||
/etc/init.d/dbus start | |||
= issues = | |||
== automount == | |||
* I did this to solve a broken library dependency (I wasn't aware of revdep-rebuild) | |||
ln -s /usr/lib/libdbus-1.so.3 /usr/lib/libdbus-1.so.2 | |||
per un problema di versioni di dbus/KDE | |||
* Problema HAL: | |||
con la versione >= 0.5.9 spesso il processo hald | |||
entra in un loop unfinito: | |||
/etc/init.d/hald stop | |||
hald --daemon=no --verbose=yes | |||
device_info.c:983: Unhandled rule (0)! | |||
device_info.c:983: Unhandled rule (0)! | |||
Il problema è un file che crea libgphoto2 in | |||
/usr/share/hal/fdi/information/10freedesktop/10-camera-libgphoto2.fdi | |||
commentando l'interno di questo file si risolve il problema. | |||
Secondo me funziona anche aggiungendo la use flag: | |||
media-libs/libgphoto2 -hal | |||
in | |||
/etc/portage/package.use |
Revision as of 16:59, 23 March 2011
/etc/fstab
- in Linux/Unix system the most important file containing informations about partitions, hard disks and all drives is /etc/fstab
- some options:
- relatime
- errors=remount-ro
- auto
- defaults
- ro
- rw
- users
- gid=
- uid=
mount
- this command will show the current mounted partitions:
mount
- to attach a partition to the unix filesystem this could be a command (as root)
mount -t ext2 /dev/sdb5 /mnt/disk2
verbe part type from to
automount
- most of linux-es is using hal as mount system, with dbus managing the lower system level of devices.
- installing automont function for KDE
emerge kioslaves dbus hal rc-update add hald default rc-update add dbus default /etc/init.d/hald start /etc/init.d/dbus start
issues
automount
- I did this to solve a broken library dependency (I wasn't aware of revdep-rebuild)
ln -s /usr/lib/libdbus-1.so.3 /usr/lib/libdbus-1.so.2
per un problema di versioni di dbus/KDE
- Problema HAL:
con la versione >= 0.5.9 spesso il processo hald entra in un loop unfinito:
/etc/init.d/hald stop hald --daemon=no --verbose=yes device_info.c:983: Unhandled rule (0)! device_info.c:983: Unhandled rule (0)!
Il problema è un file che crea libgphoto2 in
/usr/share/hal/fdi/information/10freedesktop/10-camera-libgphoto2.fdi
commentando l'interno di questo file si risolve il problema. Secondo me funziona anche aggiungendo la use flag:
media-libs/libgphoto2 -hal
in
/etc/portage/package.use