[ale] udev issues
Geoffrey
lists at serioustechnology.com
Fri Jul 17 12:16:10 EDT 2009
I had udev automounting my usb devices when they were plugged in under
fedora. I'm running Mandriva on this box now and using the same rules,
the drives don't mount. It looks like it's trying to run the right
command, but mount is returning failure with a usage error. With debug
I see:
[21594] run_program: '/bin/mount -t ext3 /dev/sde1 /media/mybook'
[21594] run_program: '/bin/mount' (stderr) 'Usage: mount -V
: print version'
[21594] run_program: '/bin/mount' (stderr) ' mount -h
: print this help'
[21594] run_program: '/bin/mount' (stderr) ' mount
: list mounted filesystems'
[21594] run_program: '/bin/mount' (stderr) ' mount -l
: idem, including volume labels'
[21594] run_program: '/bin/mount' (stderr) 'So far the informational
part. Next the mounting.'
[21594] run_program: '/bin/mount' (stderr) 'The command is `mount [-t
fstype] something somewhere'.'
[21594] run_program: '/bin/mount' (stderr) 'Details found in /etc/fstab
may be omitted.'
[21594] run_program: '/bin/mount' (stderr) ' mount -a [-t|-O] ...
: mount all stuff from /etc/fstab'
[21594] run_program: '/bin/mount' (stderr) ' mount device
: mount device at the known place'
[21594] run_program: '/bin/mount' (stderr) ' mount directory
: mount known device here'
[21594] run_program: '/bin/mount' (stderr) ' mount -t type dev dir
: ordinary mount command'
[21594] run_program: '/bin/mount' (stderr) 'Note that one does not
really mount a device, one mounts'
[21594] run_program: '/bin/mount' (stderr) 'a filesystem (of the given
type) found on the device.'
[21594] run_program: '/bin/mount' (stderr) 'One can also mount an
already visible directory tree elsewhere:'
[21594] run_program: '/bin/mount' (stderr) ' mount --bind olddir
newdir'
[21594] run_program: '/bin/mount' (stderr) 'or move a subtree:'
[21594] run_program: '/bin/mount' (stderr) ' mount --move olddir
newdir'
[21594] run_program: '/bin/mount' (stderr) 'One can change the type of
mount containing the directory dir:'
[21594] run_program: '/bin/mount' (stderr) ' mount --make-shared dir'
[21594] run_program: '/bin/mount' (stderr) ' mount --make-slave dir'
[21594] run_program: '/bin/mount' (stderr) ' mount --make'
[21594] run_program: '/bin/mount' (stderr) '-private dir'
[21594] run_program: '/bin/mount' (stderr) ' mount
--make-unbindable dir'
[21594] run_program: '/bin/mount' (stderr) 'One can change the type of
all the mounts in a mount subtree'
[21594] run_program: '/bin/mount' (stderr) 'containing the directory dir:'
[21594] run_program: '/bin/mount' (stderr) ' mount --make-rshared dir'
[21594] run_program: '/bin/mount' (stderr) ' mount --make-rslave dir'
[21594] run_program: '/bin/mount' (stderr) ' mount --make-rprivate
dir'
[21594] run_program: '/bin/mount' (stderr) ' mount
--make-runbindable dir'
[21594] run_program: '/bin/mount' (stderr) 'A device can be given by
name, say /dev/hda1 or /dev/cdrom,'
[21594] run_program: '/bin/mount' (stderr) 'or by label, using -L label
or by uuid, using -U uuid .'
[21594] run_program: '/bin/mount' (stderr) 'Other options: [-nfFrsvw]
[-o options] [-p passwdfd].'
[21594] run_program: '/bin/mount' (stderr) 'For many more details, say
man 8 mount .'
--
Until later, Geoffrey
Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
- Benjamin Franklin
More information about the Ale
mailing list