Skip to contentSkip to conversation

ghost parameter not working

DISCUSSION Nathan Huesken 2 participants 3 messages Mar 9, 2009 Kernel automounter

lore
Share & tools
lore
#0 lore raw

Hi,

I am on arch-linux.
I have installed autofs 4.1.4
My auto,master:
/media/auto /etc/autofs/auto.misc --timeout=1 --ghost

/etc/autofs/auto.misc:
cdrom -fstype=iso9660,ro,nodev,nosuid :/dev/cdrom usbstick -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sdb1

It all works! I can change into /media/auto/usbstick and see the usbstick.
But the ghost option does not work! If I do ls /media/auto it shows not directories at all.
What could be wrong?

Thanks!
Nathan

#1 lore raw
Quoted 11 lines · Nathan Huesken

Hi,

I am on arch-linux.
I have installed autofs 4.1.4
My auto,master:
/media/auto /etc/autofs/auto.misc --timeout=1 --ghost

/etc/autofs/auto.misc:
cdrom -fstype=iso9660,ro,nodev,nosuid :/dev/cdrom usbstick -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sdb1

Quoted 5 lines

It all works! I can change into /media/auto/usbstick and see the usbstick.
But the ghost option does not work! If I do ls /media/auto it shows not directories at all.
What could be wrong?

Please post a debug log, and let us know your kernel version. Directions for obtaining a debug log can be found on my people page:
http://people.redhat.com/jmoyer

Cheers,
Jeff

#2 lore raw

Hi,

I just fixed the problem by upgrading to 5.0 version. But now I know what to do when I need to debug. Thanks!

Regards,
Nathan

Quoted 26 lines · Jeff Moyer
Quoted 11 lines · Nathan Huesken

Hi,

I am on arch-linux.
I have installed autofs 4.1.4
My auto,master:
/media/auto /etc/autofs/auto.misc --timeout=1 --ghost

/etc/autofs/auto.misc:
cdrom -fstype=iso9660,ro,nodev,nosuid :/dev/cdrom usbstick -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sdb1

Quoted 5 lines

It all works! I can change into /media/auto/usbstick and see the usbstick.
But the ghost option does not work! If I do ls /media/auto it shows not directories at all.
What could be wrong?

Please post a debug log, and let us know your kernel version. Directions for obtaining a debug log can be found on my people page:
http://people.redhat.com/jmoyer

Cheers,
Jeff