automounter utilities without HAL

LXDE partner archive discussions and issues.
lm8
Posts: 16
Joined: Sat Feb 14, 2009 7:39 pm

automounter utilities without HAL

Postby lm8 » Mon May 23, 2011 2:24 pm

I've been looking into automounter utilities that don't require HAL and might work outside of
X in console mode as well as in X from within Openbox. I use am-utils (Berkeley automounter) on my laptop
with FreeBSD and it seems to be helpful. I'm currently trying to set up Debian on my desktop and I noticed
there's a version of am-utils in the packages. I also read about autofs which seems to be similar to am-utils.
One feature about both of these that might be helpful on some systems is that they automatically unmount
devices if you don't use them for a while. At the moment, I'm using usbmount on the Debian machine and it's working fine for USB drives. I did read that there's no longer a current maintainer though. A few other options I saw mentioned on the Arch Linux forum are uam and udiskie. The uam option looks like it has few dependencies, but udiskie uses udisks which
appears to use policykit. The Arch wiki also has examples of integration with Openbox. There's also a sample
udev utility using yad for the interface at http://code.google.com/p/yad/wiki/USBFlash which doesn't appear to need
too many dependencies.

Just wondering if anyone's had any experience with these or other lightweight solutions that don't require HAL.
Would be interested in hearing about the pros and cons on any of these. Would also be interested to hear how others have
set their systems up when it comes to automounting. Does anyone just use /etc/fstab instead? That seems like the
easiest solution until you have to deal with a lot of different plug and play devices that might be added or removed at any
time. On my desktop system, I not only have USB devices to swap in and out, but also swappable SATA hard drives
that I need to keep track of. I'd like to find some simple solutions to keep all the drive names straight and ease mounting
and unmounting tasks. Would very much like to hear what others have uncovered on this issue. Thanks.

rokytnji
Posts: 131
Joined: Mon Jun 13, 2011 10:45 pm
Location: pecos.tx
Contact:

Re: automounter utilities without HAL

Postby rokytnji » Tue Jun 14, 2011 12:06 am

Does anyone just use /etc/fstab instead?


Howdy. I just joined. So this is my first post here. I have been using this forum/lurking to configure lxde (first time user) in AntiX Core. Yeah. I just use /etc/fstab.


Code: Select all

# fdisk -l
Disk /dev/sda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x723de8aa

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1328    10665984   83  Linux
/dev/sda2            1329        1398      562275   82  Linux swap / Solaris
/dev/sda3   *        1399        3648    18072325   83  Linux
# blkid
/dev/sda2: TYPE="swap"
/dev/sda3: UUID="8bdcb4fd-4a43-45e9-be6b-dd455f91e802" TYPE="ext3"
/dev/sda1: LABEL="/data" UUID="a701c3e4-eccf-4a3b-a0ce-5b86221c47c7" SEC_TYPE="ext2" TYPE="ext3"


My etc/fstab below

Code: Select all

UUID=8bdcb4fd-4a43-45e9-be6b-dd455f91e802 / ext3 defaults,noatime 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
/dev/sda2 swap swap sw,pri=1 0 0
/dev/sda1 /mnt/sda1 ext3 auto,defaults,auto 0 0
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
# Dynamic entries below
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hdc /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0


I run

Code: Select all

# inxi -F
System:    Host Biker Kernel 2.6.38-7.dmz.1-liquorix-686 i686 (32 bit)
           Desktop LXDE (Openbox 3.4.11.1) Distro antiX-core-686-a1 20 June 2010
CPU:       Single core Intel Pentium M (-UP-) cache 2048 KB flags (sse sse2) bmips 3189.42 clocked at 1594.711 MHz


and for automount I installed Thunar

Code: Select all

# apt-cache policy thunar
thunar:
  Installed: 1.2.1-6
  Candidate: 1.2.1-6
  Version table:
 *** 1.2.1-6 0
        500 http://ftp.us.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status


I run rox file manager and midnight commander file manager also. Antix also comes with Slitaz Mountbox in antixcc so I can pretty much mount and dismount anything manually also.

A thread you might be interested in

http://antix.freeforums.org/mounting-usb-devices-in-rox-t3048.html

Happy Trails, Rok
Amrel RT 786ex 1.6ghz, 512MB ram , AntiX 8.5 core, Biker Linux user # 475019
Lead,Follow, or get the heck out of the way
My AntiX LXDE Install


Return to “Partner Repository”

Who is online

Users browsing this forum: No registered users and 1 guest