Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Apr 2008 14:21:58 +0200
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        freebsd-stable@freebsd.org
Subject:   amd behaves strange
Message-ID:  <47F8C066.8000204@bsdforen.de>

next in thread | raw e-mail | index | archive | help
The following is in my amd.map:

iso9660 type:=auto;fs:=${map};pref:=${key}/

iso9660/acd0 type:=program;fs:=/mnt/amd/iso9660/acd0;\
mount:="/sbin/mount mount /mnt/amd/iso9660/acd0";\
unmount:="/sbin/umount umount /mnt/amd/iso9660/acd0"


When no CD is inserted the following happens:
Apr  6 14:17:10 mobileKamikaze amd[29972]/info:  creating mountpoint directory 
'/mnt/amd/iso9660/acd0'
mount_cd9660: /dev/acd0: Input/output error
Apr  6 14:17:10 mobileKamikaze amd[29972]/info:  "mount /mnt/amd/iso9660/acd0" 
mounted fstype program on /mnt/amd/iso9660/acd0
Apr  6 14:17:10 mobileKamikaze amd[29972]/info: 
/var/run/automounter.amd.mnt/iso9660/acd0 set to timeout in 3 seconds
umount: /mnt/amd/iso9660/acd0: not a file system root directory
umount: /mnt/amd/iso9660/acd0: not a file system root directory
umount: /mnt/amd/iso9660/acd0: not a file system root directory
umount: /mnt/amd/iso9660/acd0: not a file system root directory
...

Even though there was no successful mount amd tries to unmount it until it's 
terminated. When entering a CD into the drive I can only mount it after 
restarting amd.

It has come to my attention that mount returns 0 even on unsuccessful mount 
attempts, maybe that's the cause.

I'm runing RELENG_7 on amd64.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47F8C066.8000204>