Mentioned my sysadmin workarounds to cope with udisks on Debian 6.0.2 amd64
This commit is contained in:
@ -177,11 +177,23 @@ and to add users to it.
|
||||
A possible source of problems are hald or other automounters.
|
||||
If you can spot a process "hald-addon-storage" with the address of
|
||||
your desired drive, then consider to kill it.
|
||||
A similar process "udisks-daemon: polling ..." can be seen on newer Linuxes.
|
||||
|
||||
If you cannot get rid of the automounter that easily, try whether it helps
|
||||
to always load the drive tray manually before starting a write run of
|
||||
xorriso. Wait until the drive light is off.
|
||||
Better try to unmount a mounted media before a write run.
|
||||
On Debian GNU/Linux 6.0.2 amd64 there is
|
||||
/lib/udev/rules.d/80-udisks.rules
|
||||
where one can remove all CD drives ("sr*") from the list of automountable
|
||||
devices:
|
||||
KERNEL=="sd*|hd*|mmcblk*|mspblk*", ENV{UDISKS_PRESENTATION_NOPOLICY}="0"
|
||||
# KERNEL=="sd*|hd*|sr*|mmcblk*|mspblk*", ENV{UDISKS_PRESENTATION_NOPOLICY}="0"
|
||||
Copying the recognition criterion from
|
||||
/etc/udev/rules.d/70-persistent-cd.rules
|
||||
one can prevent automounting a single drive, too:
|
||||
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-2:0:0:0", ENV{UDISKS_PRESENTATION_NOPOLICY}:="1"
|
||||
|
||||
If you cannot get rid of the automounter, try whether it helps to always load
|
||||
the drive tray manually before starting a write run of xorriso. Wait until the
|
||||
drive light is off and the mounted media appears.
|
||||
Then try to unmount the mounted media before a write run.
|
||||
|
||||
|
||||
Besides true optical drives, xorriso can also address disk files as input or
|
||||
|
Reference in New Issue
Block a user